Lines Matching refs:getuid
949 tmp = getuid( );
993 ruid = getuid();
1637 * Test getauid, gettid, getuid, geteuid, issetugid, setaudit_addr, seteuid, settid, settid_with_pid, setuid system calls.
1657 if ( getuid( ) == 0 ) {
1688 my_ruid = getuid( );
1696 my_uid = getuid( );
1730 my_temp_uid = getuid( );
1794 if ( getuid( ) != my_euid ) {
1816 if ( getuid( ) != my_ruid ) {
2959 if ( getuid( ) != my_acctp->ac_uid || getgid( ) != my_acctp->ac_gid ||
2962 printf( "my_acctp->ac_uid = %lu (should be: %lu)\n", (unsigned long) my_acctp->ac_uid, (unsigned long) getuid() );
4048 my_err = quotactl( "/mach_kernel", QCMD(Q_GETQUOTA, USRQUOTA), getuid(), (caddr_t)&my_quota_blk );