diff options
author | Gerrit Pape <pape@smarden.org> | 2003-08-05 20:41:19 +0000 |
---|---|---|
committer | Gerrit Pape <pape@smarden.org> | 2003-08-05 20:41:19 +0000 |
commit | 492038e0b7265e90300f4b8afe416e1a8136b59c (patch) | |
tree | 2100bc3114f5ce6250357eb286e5a7c83c7381ae /src/uidgid.h | |
parent | 0db7ec29d8664a0ccc98a47a598cabd27ebeaf61 (diff) | |
download | runit-492038e0b7265e90300f4b8afe416e1a8136b59c.tar.gz runit-492038e0b7265e90300f4b8afe416e1a8136b59c.tar.xz runit-492038e0b7265e90300f4b8afe416e1a8136b59c.zip |
* uidgid.c, uidgid.h: new; get uid/gid by name.
* chpst: new; run program with a changed process state (includes envdir, envuidgid, pgrphack, setlock, setuidgid, softlimit functionality).
Diffstat (limited to 'src/uidgid.h')
-rw-r--r-- | src/uidgid.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/uidgid.h b/src/uidgid.h new file mode 100644 index 0000000..54f6686 --- /dev/null +++ b/src/uidgid.h @@ -0,0 +1,11 @@ +#ifndef UIDGID_H +#define UIDGID_H + +struct uidgid { + int uid; + int gid; +}; + +extern unsigned int uidgid_get(struct uidgid *, char *, unsigned int); + +#endif |