Searched refs:setuid (Results 1 - 3 of 3) sorted by relevance
/darwin-on-arm/xnu/bsd/man/man2/ |
H A D | Makefile | 181 setuid.2 \
|
/darwin-on-arm/xnu/bsd/kern/ |
H A D | kern_prot.c | 693 * setuid 713 setuid(proc_t p, struct setuid_args *uap, __unused int32_t *retval) function 729 DEBUG_CRED_ENTER("setuid (%d/%d): %p %d\n", p->p_pid, (p->p_pptr ? p->p_pptr->p_pid : 0), my_cred, uap->uid); 732 if (uid != my_pcred->cr_ruid && /* allow setuid(getuid()) */ 733 uid != my_pcred->cr_svuid && /* allow setuid(saved uid) */ 781 DEBUG_CRED_CHANGE("setuid CH(%d): %p/0x%08x -> %p/0x%08x\n", p->p_pid, my_cred, my_pcred->cr_flags, my_new_cred, posix_cred_get(my_new_cred)->cr_flags); 1580 * the settid call that created it, not before (unlike setuid,
|
/darwin-on-arm/xnu/tools/tests/xnu_quick_test/ |
H A D | tests.c | 1637 * Test getauid, gettid, getuid, geteuid, issetugid, setaudit_addr, seteuid, settid, settid_with_pid, setuid system calls. 1672 * fork here and do the setuid work in the child 1789 my_err = setuid( my_euid ); 1791 printf( "setuid call failed with error %d - \"%s\" \n", errno, strerror( errno) ); 1795 printf( "setuid call failed to set the real uid \n" ); 1811 my_err = setuid( my_ruid ); 1813 printf( "setuid call failed with error %d - \"%s\" \n", errno, strerror( errno) ); 1817 printf( "setuid call failed to set the real uid \n" );
|
Completed in 25 milliseconds