/third_party/toybox/toys/pending/ |
H A D | tcpsvd.c | 289 setuid(uid); in tcpsvd_main()
|
/third_party/backends/sanei/ |
H A D | sanei_pa4s2.c | 194 extern int setuid (uid_t); /* should also be in unistd.h */ 313 DBG (4, "pa4s2_init: trying to setuid root\n"); in pa4s2_init() 315 if (0 > setuid (0)) in pa4s2_init() 318 DBG (1, "pa4s2_init: setuid failed: errno = %d\n", errno); in pa4s2_init()
|
/third_party/node/deps/uv/src/unix/ |
H A D | process.c | 368 if ((options->flags & UV_PROCESS_SETUID) && setuid(options->uid)) in uv__process_child_init() 456 * from the normal specification of setuid (which also uses euid), and they in uv__spawn_set_posix_spawn_attrs()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/utils/ |
H A D | os_unix.c | 352 setuid(AID_WIFI); in os_program_init()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/utils/ |
H A D | os_unix.c | 360 setuid(AID_WIFI); in os_program_init()
|
/third_party/libuv/src/unix/ |
H A D | process.c | 389 if ((options->flags & UV_PROCESS_SETUID) && setuid(options->uid)) in uv__process_child_init() 476 * from the normal specification of setuid (which also uses euid), and they in uv__spawn_set_posix_spawn_attrs()
|
/third_party/pulseaudio/src/daemon/ |
H A D | main.c | 322 if ((r = setuid(pw->pw_uid)) >= 0) in change_user()
|
H A D | ohos_pa_main.c | 325 if ((r = setuid(pw->pw_uid)) >= 0) in change_user()
|
/third_party/python/Lib/http/ |
H A D | server.py | 1186 os.setuid(nobody)
|
/third_party/toybox/lib/ |
H A D | xwrap.c | 721 // setuid() can fail (for example, too many processes belonging to that user), 727 || setuid(pwd->pw_uid)) perror_exit("xsetuser '%s'", pwd->pw_name); in xsetuser()
|
/third_party/libuv/test/ |
H A D | test-spawn.c | 1520 ASSERT_OK(setuid(pw->pw_uid)); in TEST_IMPL() 1571 ASSERT_OK(setuid(pw->pw_uid)); in TEST_IMPL()
|
/third_party/ltp/lib/ |
H A D | safe_macros.c | 371 rval = setuid(uid); in safe_setuid() 375 "setuid(%u) failed", (unsigned int)uid); in safe_setuid() 378 "Invalid setuid(%u) return value %d", in safe_setuid()
|
/third_party/rust/crates/nix/src/ |
H A D | unistd.rs | 1464 /// See also [setuid(2)](https://pubs.opengroup.org/onlinepubs/9699919799/functions/setuid.html) 1466 pub fn setuid(uid: Uid) -> Result<()> { in setuid() functions 1467 let res = unsafe { libc::setuid(uid.into()) }; in setuid() 1591 /// setuid(uid)?; 1718 /// setuid(uid)?;
|
/third_party/mksh/ |
H A D | misc.c | 287 DO_SETUID(setuid, (ksheuid)); in change_flag()
|
/third_party/rust/crates/libc/src/vxworks/ |
H A D | mod.rs | 1728 pub fn setuid(uid: ::uid_t) -> ::c_int; in setuid() functions
|
/third_party/rust/crates/libc/src/unix/ |
H A D | mod.rs | 923 pub fn setuid(uid: uid_t) -> ::c_int; in setuid() functions
|
/third_party/popt/src/ |
H A D | popt.c | 505 * XXX " ... on BSD systems setuid() should be preferred over setreuid()" in execCommand() 512 rc = setuid(getuid()); in execCommand()
|
/third_party/python/Lib/test/ |
H A D | test_os.py | 2314 @unittest.skipUnless(hasattr(os, 'setuid'), 'test needs os.setuid()') 2317 self.assertRaises(OSError, os.setuid, 0) 2318 self.assertRaises(TypeError, os.setuid, 'not an int') 2319 self.assertRaises(OverflowError, os.setuid, self.UID_OVERFLOW)
|
/third_party/rust/crates/libc/src/fuchsia/ |
H A D | mod.rs | 3628 pub fn setuid(uid: uid_t) -> ::c_int; in setuid() functions
|
/third_party/python/Modules/ |
H A D | posixmodule.c | 8172 os.setuid 8184 if (setuid(uid) < 0) in os_setuid_impl()
|