Lines Matching refs:set_eugid
5 /* set_eugid 3
9 /* #include <set_eugid.h>
11 /* void set_eugid(euid, egid)
21 /* set_eugid() sets the effective user and group process attributes
52 #include "set_eugid.h"
54 /* set_eugid - set effective user and group attributes */
56 void set_eugid(uid_t euid, gid_t egid)
62 msg_fatal("set_eugid: seteuid(0): %m");
64 msg_fatal("set_eugid: setegid(%ld): %m", (long) egid);
66 msg_fatal("set_eugid: setgroups(%ld): %m", (long) egid);
68 msg_fatal("set_eugid: seteuid(%ld): %m", (long) euid);
70 msg_info("set_eugid: euid %ld egid %ld", (long) euid, (long) egid);