Searched refs:effgid (Results 1 - 2 of 2) sorted by relevance
/freebsd-10.2-release/contrib/sendmail/test/ |
H A D | t_setgid.c | 45 gid_t effgid = getegid(); local 47 printgids("initial gids", realgid, effgid); 49 if (effgid == realgid) 56 res = setregid(effgid, effgid); 58 res = setgid(effgid); 61 printf("setgid(%d)=%d %s\n", (int) effgid, res, 64 printgids("after setregid()", effgid, effgid); 66 printgids("after setgid()", effgid, effgi [all...] |
H A D | t_dropgid.c | 60 gid_t effgid = getegid(); local 63 printgids("initial gids", realgid, effgid); 65 if (effgid == realgid) 112 if (setgid(effgid) == 0) 116 effgid); 120 printf("setgid(%d) failed (this is correct)\n", effgid);
|
Completed in 100 milliseconds