Lines Matching defs:drop_privileges
332 dp = drop_privileges(false);
443 dp = drop_privileges(true);
844 dp = drop_privileges(true);
1137 dp = drop_privileges(true);
1362 dp = drop_privileges(true);
1372 dp = drop_privileges(false);
1557 dp = drop_privileges(true);
2562 (void) drop_privileges(false);
3692 drop_privileges(to_real_uid)
3699 sm_dprintf("drop_privileges(%d): Real[UG]id=%d:%d, get[ug]id=%d:%d, gete[ug]id=%d:%d, RunAs[UG]id=%d:%d\n",
3732 syserr("drop_privileges: setgroups(1, %d) failed",
3751 syserr("drop_privileges: setegid(%d) failed",
3759 syserr("drop_privileges: setregid(%d, %d) failed",
3767 syserr("drop_privileges: setresgid(%d, %d, %d) failed",
3779 syserr("drop_privileges: setgid(%d) failed",
3786 syserr("drop_privileges: Unable to set effective gid=%d to RunAsGid=%d",
3820 syserr("drop_privileges: setreuid(%d, -1) failed",
3826 syserr("drop_privileges: second setuid(%d) attempt failed",
3834 syserr("drop_privileges: setuid(%d) failed",
3849 syserr("drop_privileges: setuid(0) succeeded (when it should not)");
3860 syserr("drop_privileges: Unable to drop non-root set-user-ID privileges");
3872 syserr("drop_privileges: setgid(%d) succeeded (when it should not)",
3880 sm_dprintf("drop_privileges: e/ruid = %d/%d e/rgid = %d/%d\n",
3883 sm_dprintf("drop_privileges: RunAsUser = %d:%d\n",
3886 sm_dprintf("drop_privileges: rval = %d\n", rval);