aboutsummaryrefslogtreecommitdiff
path: root/src/genrc.h
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org>2018-05-17 21:37:57 +0300
committerSergey Poznyakoff <gray@gnu.org>2018-05-17 21:37:57 +0300
commit41e4cf7b5ad33dcfc7f472b9392831fa197fd8e2 (patch)
tree6efb7211f656932b6e1848fba21e3c71fb704819 /src/genrc.h
parente8e7bbc7de3355af2c14992e09e0881e95b8b580 (diff)
downloadgenrc-41e4cf7b5ad33dcfc7f472b9392831fa197fd8e2.tar.gz
genrc-41e4cf7b5ad33dcfc7f472b9392831fa197fd8e2.tar.bz2
Implement the --user and --group options.
Diffstat (limited to 'src/genrc.h')
-rw-r--r--src/genrc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/genrc.h b/src/genrc.h
index a6e81e8..9842016 100644
--- a/src/genrc.h
+++ b/src/genrc.h
@@ -31,6 +31,7 @@ void system_error(int ec, char const *fmt, ...);
31#define xcalloc grecs_calloc 31#define xcalloc grecs_calloc
32#define xrealloc grecs_realloc 32#define xrealloc grecs_realloc
33#define xstrdup grecs_strdup 33#define xstrdup grecs_strdup
34void *x2nrealloc(void *p, size_t *pn, size_t s);
34 35
35#define SHELL "/bin/sh" 36#define SHELL "/bin/sh"
36 37
@@ -61,6 +62,7 @@ pid_t strtopid(char const *str);
61 62
62int pid_is_running(pid_t pid); 63int pid_is_running(pid_t pid);
63 64
65void runas(void);
64 66
65enum { 67enum {
66 MATCH_REGEX, /* extended POSIX regexp match (default) */ 68 MATCH_REGEX, /* extended POSIX regexp match (default) */

Return to:

Send suggestions and report system problems to the System administrator.