Home
last modified time | relevance | path

Searched refs:initgroups (Results 1 – 25 of 47) sorted by relevance

12

/external/compiler-rt/test/msan/
Dinitgroups.cc8 initgroups("root", 0); in main()
/external/llvm-project/compiler-rt/test/msan/
Dinitgroups.cpp8 initgroups("root", 0); in main()
/external/python/cpython2/Lib/test/
Dtest_posix.py111 self.assertRaises(TypeError, posix.initgroups)
112 self.assertRaises(TypeError, posix.initgroups, None)
113 self.assertRaises(TypeError, posix.initgroups, 3, "foo")
114 self.assertRaises(TypeError, posix.initgroups, "foo", 3, object())
125 posix.initgroups(name, 13)
652 posix.initgroups(name, self.saved_groups[0])
661 posix.initgroups(name, g)
/external/openssh/
Duidswap.c116 if (initgroups(pw->pw_name, pw->pw_gid) == -1) in temporarily_use_uid()
242 if (initgroups(pw->pw_name, pw->pw_gid) == -1) in permanently_set_uid()
Dsession.c1386 if (initgroups(pw->pw_name, pw->pw_gid) < 0) { in do_setusercontext()
/external/libwebsockets/lib/plat/unix/
Dunix-caps.c175 initgroups(p->pw_name, context->gid); in lws_plat_drop_app_privileges()
/external/tcpdump/lbl/
Dos-sunos4.h109 int initgroups(const char *, int);
/external/libpcap/lbl/
Dos-sunos4.h108 int initgroups(const char *, int);
/external/autotest/client/cros/audio/
Dcmd_utils.py195 os.initgroups(user, pw.pw_gid)
/external/python/cpython3/Lib/test/
Dtest_posix.py128 self.assertRaises(TypeError, posix.initgroups)
129 self.assertRaises(TypeError, posix.initgroups, None)
130 self.assertRaises(TypeError, posix.initgroups, 3, "foo")
131 self.assertRaises(TypeError, posix.initgroups, "foo", 3, object())
142 posix.initgroups(name, 13)
1499 posix.initgroups(name, self.saved_groups[0])
1508 posix.initgroups(name, g)
/external/rust/crates/libc/src/unix/bsd/netbsdlike/
Dmod.rs717 pub fn initgroups(name: *const ::c_char, basegid: ::gid_t) -> ::c_int; in initgroups() function
/external/toybox/lib/
Dxwrap.c752 if (initgroups(pwd->pw_name, pwd->pw_gid) || setgid(pwd->pw_uid) in xsetuser()
/external/mtools/
Dfloppyd.c973 initgroups(username, run_gid); in main()
/external/rust/crates/nix/src/
Dunistd.rs1589 pub fn initgroups(user: &CStr, group: Gid) -> Result<()> { in initgroups() function
1598 let res = unsafe { libc::initgroups(user.as_ptr(), gid as initgroups_group_t) }; in initgroups()
/external/rust/crates/nix/test/
Dtest_unistd.rs248 initgroups(&user, group).unwrap(); in test_initgroups()
/external/strace/
Dstrace.c1196 if (initgroups(username, run_gid) < 0) { in exec_or_die()
/external/openssh/contrib/redhat/
Dopenssh.spec623 - call setcred() again after initgroups, because the "creds" could actually
/external/tcpdump/
Dtcpdump.c617 if (initgroups(pw->pw_name, pw->pw_gid) != 0 || in droproot()
/external/rust/crates/libc/src/unix/bsd/freebsdlike/
Dmod.rs1425 pub fn initgroups(name: *const ::c_char, basegid: ::gid_t) -> ::c_int; in initgroups() function
/external/minijail/
Dlibminijail.c1983 if (initgroups(j->user, j->usergid)) in drop_ugid()
/external/rust/crates/libc/src/unix/solarish/
Dmod.rs2237 pub fn initgroups(name: *const ::c_char, basegid: ::gid_t) -> ::c_int; in initgroups() function
/external/python/cpython2/
Dpyconfig.h.in406 /* Define to 1 if you have the `initgroups' function. */
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_common_interceptors.inc3742 INTERCEPTOR(int, initgroups, char *user, u32 group) {
3744 COMMON_INTERCEPTOR_ENTER(ctx, initgroups, user, group);
3746 int res = REAL(initgroups)(user, group);
3749 #define INIT_INITGROUPS COMMON_INTERCEPT_FUNCTION(initgroups);
/external/rust/crates/libc/src/unix/linux_like/android/
Dmod.rs2657 pub fn initgroups(user: *const ::c_char, group: ::gid_t) -> ::c_int; in initgroups() function
/external/python/cpython2/Doc/library/
Dos.rst177 .. function:: initgroups(username, gid)
179 Call the system initgroups() to initialize the group access list with all of

12