Searched refs:setuid (Results 1 – 25 of 332) sorted by relevance
12345678910>>...14
/external/mtools/ |
D | privileges.c | 105 setuid(uid); in Setuid() 133 setuid(0); /* get the necessary privs to drop real root id */ in destroy_privs() 134 setuid(ruid); /* this should be enough to get rid of the three in destroy_privs() 182 setuid(0); /* set real uid to 0 */ in init_privs()
|
D | privtest.c | 23 setuid(strtoul(argv[1], 0,0)); in main()
|
/external/clang/test/Analysis/ |
D | security-syntax-checks.m | 63 int setuid(uid_t); function 71 …setuid(2); // expected-warning{{The return value from the call to 'setuid' is not checked. If an … 72 …setuid(0); // expected-warning{{The return value from the call to 'setuid' is not checked. If an … 73 if (setuid (2) != 0) 76 // Currently the 'setuid' check is not flow-sensitive, and only looks 79 int t = setuid(2); // no-warning 80 (void)setuid (2); // no-warning 82 check(setuid (2)); // no-warning
|
/external/autotest/client/site_tests/security_ProcessManagementPolicy/ |
D | control | 11 services in ChromeOS that spawn programs which setuid() to a different user. 19 privileges to root through a simple setuid() call. 22 This autotest ensures that restricted users can only setuid() to UIDs approved
|
/external/selinux/python/sepolicy/sepolicy/help/ |
D | login.txt | 9 - No Network, No setuid, no exec in homedir 12 - Web access ports only. No setuid, no exec in homedir
|
D | users.txt | 8 - No Network, No setuid, no exec in homedir 11 - Web access ports only. No setuid, no exec in homedir
|
/external/llvm-project/clang/test/Analysis/ |
D | security-syntax-checks.m | 116 int setuid(uid_t); function 124 …setuid(2); // expected-warning{{The return value from the call to 'setuid' is not checked. If an … 125 …setuid(0); // expected-warning{{The return value from the call to 'setuid' is not checked. If an … 126 if (setuid (2) != 0) 129 // Currently the 'setuid' check is not flow-sensitive, and only looks 132 int t = setuid(2); // no-warning 133 (void)setuid (2); // no-warning 135 check(setuid (2)); // no-warning
|
/external/linux-kselftest/tools/testing/selftests/safesetid/ |
D | safesetid-test.c | 216 if (setuid(child_uid) < 0) in test_setuid() 295 if (setuid(NO_POLICY_USER) < 0) in main() 312 if (setuid(RESTRICTED_PARENT) < 0) in main()
|
/external/openssh/ |
D | uidswap.c | 142 if (setuid(geteuid()) == -1) in temporarily_use_uid() 180 if (setuid(getuid()) == -1) in restore_uid() 267 (setuid(old_uid) != -1 || seteuid(old_uid) != -1)) in permanently_set_uid()
|
/external/libfuse/lib/ |
D | mount_util.c | 111 if(setuid(geteuid()) == -1) { in add_mount() 170 if(setuid(geteuid()) == -1) { in exec_umount() 242 if(setuid(geteuid()) == -1) { in remove_mount()
|
/external/ltp/testcases/kernel/security/smack/ |
D | smack_notroot.c | 23 setuid(1); in main()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/kill/ |
D | 3-1.c | 26 setuid(1); in main()
|
D | 2-2.c | 58 setuid(1); in main()
|
/external/llvm-project/compiler-rt/test/tsan/ |
D | setuid2.c | 21 setuid(0); in main()
|
D | setuid.c | 26 setuid(0); in main()
|
/external/compiler-rt/test/tsan/ |
D | setuid2.c | 21 setuid(0); in main()
|
D | setuid.c | 26 setuid(0); in main()
|
/external/strace/xlat/ |
D | pr_dumpable.in | 2 SUID_DUMP_DISABLE 0 /* No setuid dumping */
|
/external/ltp/testcases/kernel/syscalls/setuid/ |
D | setuid01.c | 24 UID16_CHECK(uid, setuid); in verify_setuid()
|
/external/python/cpython2/Lib/ |
D | smtpd.py | 464 setuid = 1 variable in Options 485 options.setuid = 0 537 if options.setuid: 546 os.setuid(nobody)
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/clock_getcpuclockid/ |
D | 5-1.c | 39 setuid(pwd->pw_uid); in main()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigqueue/ |
D | 3-1.c | 45 if (setuid(pw->pw_uid) != 0) { in set_nonroot()
|
D | 12-1.c | 42 if (setuid(pw->pw_uid) != 0) { in set_nonroot()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_setscheduler/ |
D | 20-1.c | 44 if (setuid(pw->pw_uid) != 0) { in set_nonroot()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_getparam/ |
D | 6-1.c | 55 if (setuid(pw->pw_uid) != 0) { in set_nonroot()
|
12345678910>>...14