/third_party/node/lib/internal/bootstrap/switches/ |
H A D | does_own_process_state.js | 19 process.setuid = wrapped.setuid; 48 setuid: _setuid, 102 setuid: wrapIdSetter('User', _setuid),
|
H A D | does_not_own_process_state.js | 19 process.setuid = unavailable('process.setuid()');
|
/third_party/ntfs-3g/libfuse-lite/ |
H A D | mount_util.c | 74 setuid(geteuid()); in fuse_mnt_add_mount() 127 setuid(geteuid()); in fuse_mnt_umount() 318 if (setuid(geteuid())) in fuse_mnt_add_mount() 319 fprintf(stderr, "%s: failed to setuid : %s\n", progname, in fuse_mnt_add_mount() 368 if (setuid(geteuid())) in fuse_mnt_umount() 369 fprintf(stderr, "%s: failed to setuid : %s\n", progname, in fuse_mnt_umount()
|
H A D | mount.c | 108 FUSE_OPT_KEY("setuid", KEY_KERN_OPT), 226 int setuid; member 235 SOLARIS_MOUNT_OPT("suid", setuid, 1), 238 SOLARIS_MOUNT_OPT("setuid", setuid, 1), 644 * or nodevices; there is no way for the user to specify setuid + in fuse_kern_mount() 651 && !smo.nosetuid && !smo.setuid)) { in fuse_kern_mount() 655 * Defaults; if neither nodevices|devices,nosetuid|setuid has in fuse_kern_mount() 663 if (!smo.nosetuid && !smo.setuid) in fuse_kern_mount()
|
/third_party/cups-filters/backend/ |
H A D | cups-brf.c | 48 if (setuid(0)) { in main() 87 if (setuid(pw->pw_uid)) { in main()
|
/third_party/libfuse/lib/ |
H A D | mount_util.c | 114 if(setuid(geteuid()) == -1) { in add_mount() 115 fprintf(stderr, "%s: setuid: %s\n", progname, strerror(errno)); in add_mount() 173 if(setuid(geteuid()) == -1) { in exec_umount() 174 fprintf(stderr, "%s: setuid: %s\n", progname, strerror(errno)); in exec_umount() 245 if(setuid(geteuid()) == -1) { in remove_mount() 246 fprintf(stderr, "%s: setuid: %s\n", progname, strerror(errno)); in remove_mount()
|
/third_party/musl/src/unistd/ |
H A D | setuid.c | 5 int setuid(uid_t uid) in setuid() function
|
/third_party/ltp/testcases/kernel/security/smack/ |
H A D | smack_notroot.c | 23 setuid(1); in main()
|
/third_party/ltp/testcases/kernel/syscalls/setuid/ |
H A D | setuid01.c | 10 * Verify that setuid(2) returns 0 and effective uid has 25 UID16_CHECK(uid, setuid); in verify_setuid() 27 TST_EXP_PASS(SETUID(uid), "setuid(%d)", uid); in verify_setuid()
|
H A D | setuid04.c | 8 * Check if setuid behaves correctly with file permissions. The test 9 * creates a file as ROOT with permissions 0644, does a setuid and then 62 UID16_CHECK(uid, setuid); in setup() 68 "setuid() failed to set the effective uid to %d", uid); in setup()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/kill/ |
H A D | 3-1.c | 26 if (setuid(1)) { in main() 27 perror("setuid"); in main()
|
H A D | 2-2.c | 58 if (setuid(1)) { in main() 59 perror("setuid"); in main()
|
/third_party/musl/libc-test/src/functionalext/supplement/unistd/ |
H A D | setuid.c | 22 * @tc.desc : Call the setuid method to set the process uid 28 int result = setuid(uid); in setuid_0100() 30 t_error("%s setuid error get result is %d are not 0\n", __func__, result); in setuid_0100() 33 t_error("%s setuid failed", __func__); in setuid_0100()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/clock_getcpuclockid/ |
H A D | 5-1.c | 42 if (setuid(pwd->pw_uid)) { in main() 43 perror("setuid"); in main()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigqueue/ |
H A D | 3-1.c | 45 if (setuid(pw->pw_uid) != 0) { in set_nonroot()
|
H A D | 12-1.c | 41 /* setuid will change uid, euid */ in set_nonroot() 42 if (setuid(pw->pw_uid) != 0) { in set_nonroot()
|
H A D | 9-1.c | 48 if (!getpwuid(uid) && !setuid(uid)) in reset_uid()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_getparam/ |
H A D | 6-1.c | 55 if (setuid(pw->pw_uid) != 0) { in set_nonroot() 60 perror("setuid failed"); in set_nonroot()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_setscheduler/ |
H A D | 20-1.c | 44 if (setuid(pw->pw_uid) != 0) { in set_nonroot()
|
/third_party/ltp/testcases/kernel/syscalls/setfsgid/ |
H A D | setfsgid03.c | 95 if (setuid(ltpuser->pw_uid) == -1) in setup() 97 "setuid failed to set the effective uid to %d", in setup()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_setparam/ |
H A D | 23-6.c | 39 if (setuid(pw->pw_uid) != 0) { in set_nonroot()
|
/third_party/pulseaudio/src/daemon/ |
H A D | caps.c | 63 pa_assert_se(setuid(uid) >= 0); in pa_drop_root()
|
/third_party/backends/sanei/ |
H A D | sanei_pio.c | 132 extern int setuid (uid_t); 354 if (0 > setuid (0)) in pio_open() 356 DBG (1, "sanei_pio_open: setuid failed: errno = %d\n", errno); in pio_open()
|
/third_party/python/Lib/ |
H A D | smtpd.py | 10 This program generally tries to setuid `nobody', unless this flag is 11 set. The setuid call will fail if this program is not run as root (in 784 setuid = True variable in Options 808 options.setuid = False 870 if options.setuid: 878 os.setuid(nobody) 880 print('Cannot setuid "nobody"; try running with -n option.', file=sys.stderr)
|
/third_party/ltp/testcases/kernel/fs/fs_perms/ |
H A D | fs_perms.c | 118 if (setuid(user_id)) in testfperm() 120 "Could not setuid to %d.", user_id); in testfperm()
|