Lines Matching full:setregid
602 setregid functions, but they don't work as in BSD and only the POSIX.1
613 and we must use setreuid and setregid instead. */
634 extern int setregid ();
635 #endif /* Have setregid. */
729 /* In 4BSD, the setreuid/setregid calls set both the real and effective IDs.
732 the real, leaving only one alternative. Using setreuid/setregid, however,
734 single setreuid or setregid call. */
750 if (setregid (make_gid, user_gid) < 0)
751 pfatal_with_name ("user_access: setregid");
798 if (setregid (user_gid, make_gid) < 0)
799 pfatal_with_name ("make_access: setregid");
835 if (setregid (user_gid, user_gid) < 0)
836 pfatal_with_name ("child_access: setregid");