From 492038e0b7265e90300f4b8afe416e1a8136b59c Mon Sep 17 00:00:00 2001 From: Gerrit Pape Date: Tue, 5 Aug 2003 20:41:19 +0000 Subject: * 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). --- src/uidgid.h | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 src/uidgid.h (limited to 'src/uidgid.h') 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 -- cgit 1.4.1