Home
last modified time | relevance | path

Searched refs:setuid (Results 51 - 70 of 70) sorted by relevance

123

/third_party/toybox/toys/pending/
H A Dtcpsvd.c289 setuid(uid); in tcpsvd_main()
/third_party/backends/sanei/
H A Dsanei_pa4s2.c194 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 Dprocess.c368 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 Dos_unix.c352 setuid(AID_WIFI); in os_program_init()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/utils/
H A Dos_unix.c360 setuid(AID_WIFI); in os_program_init()
/third_party/libuv/src/unix/
H A Dprocess.c389 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 Dmain.c322 if ((r = setuid(pw->pw_uid)) >= 0) in change_user()
H A Dohos_pa_main.c325 if ((r = setuid(pw->pw_uid)) >= 0) in change_user()
/third_party/python/Lib/http/
H A Dserver.py1186 os.setuid(nobody)
/third_party/toybox/lib/
H A Dxwrap.c721 // 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 Dtest-spawn.c1520 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 Dsafe_macros.c371 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 Dunistd.rs1464 /// 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 Dmisc.c287 DO_SETUID(setuid, (ksheuid)); in change_flag()
/third_party/rust/crates/libc/src/vxworks/
H A Dmod.rs1728 pub fn setuid(uid: ::uid_t) -> ::c_int; in setuid() functions
/third_party/rust/crates/libc/src/unix/
H A Dmod.rs923 pub fn setuid(uid: uid_t) -> ::c_int; in setuid() functions
/third_party/popt/src/
H A Dpopt.c505 * 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 Dtest_os.py2314 @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 Dmod.rs3628 pub fn setuid(uid: uid_t) -> ::c_int; in setuid() functions
/third_party/python/Modules/
H A Dposixmodule.c8172 os.setuid
8184 if (setuid(uid) < 0) in os_setuid_impl()

Completed in 64 milliseconds

123