Home
last modified time | relevance | path

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

123

/third_party/node/test/parallel/
Dtest-process-initgroups.js6 assert.strictEqual(process.initgroups, undefined);
16 process.initgroups(val);
32 process.initgroups('foo', val);
47 process.initgroups(
/third_party/node/lib/internal/bootstrap/switches/
Ddoes_own_process_state.js14 process.initgroups = wrapped.initgroups;
43 initgroups: _initgroups,
51 function initgroups(user, extraGroup) { function
97 initgroups,
Ddoes_not_own_process_state.js14 process.initgroups = unavailable('process.initgroups()');
/third_party/musl/libc-test/src/functionalext/supplement/misc/
Dinitgroups.c28 int rev = initgroups("usr_test", TEST_GROUP_ID); in initgroups_0100()
39 int rev = initgroups("usr_test", -1); in initgroups_0200()
Dtest_src_functionalext_supplement_misc.gni29 "initgroups",
/third_party/musl/src/misc/
Dinitgroups.c5 int initgroups(const char *user, gid_t gid) in initgroups() function
/third_party/nghttp2/src/
Dshrpx.h48 inline int initgroups(const char *user, gid_t group) { return 0; } in initgroups() function
Dshrpx_worker_process.cc81 if (initgroups(config->user.c_str(), config->gid) != 0) { in drop_privileges()
/third_party/musl/ndk_musl_include/
Dgrp.h41 int initgroups(const char *, gid_t);
/third_party/musl/porting/liteos_m_iccarm/kernel/include/
Dgrp.h45 int initgroups(const char *, gid_t);
/third_party/musl/include/
Dgrp.h46 int initgroups(const char *, gid_t);
/third_party/musl/porting/liteos_m/kernel/include/
Dgrp.h46 int initgroups(const char *, gid_t);
/third_party/musl/porting/uniproton/kernel/include/
Dgrp.h46 int initgroups(const char *, gid_t);
/third_party/toybox/openharmony/
Dsu.c88 if (initgroups(pwd->pw_name, pwd->pw_gid) || setgid(pwd->pw_uid) || setuid(pwd->pw_uid)) in xsetuser()
/third_party/nghttp2/
DCMakeLists.txt326 # XXX does this correctly detect initgroups (un)availability on cygwin?
327 check_symbol_exists(initgroups grp.h HAVE_DECL_INITGROUPS)
329 # FreeBSD declares initgroups() in unistd.h
330 check_symbol_exists(initgroups unistd.h HAVE_DECL_INITGROUPS2)
Dcmakeconfig.h.in43 /* Define to 1 if you have the `initgroups` function. */
Dconfigure.ac977 # For cygwin: we can link initgroups, so AC_CHECK_FUNCS succeeds, but
978 # cygwin disables initgroups due to feature test macro magic with our
979 # configuration. FreeBSD declares initgroups() in unistd.h.
980 AC_CHECK_DECLS([initgroups], [], [], [[
/third_party/libwebsockets/lib/plat/unix/
Dunix-caps.c218 if (initgroups(p->pw_name,
/third_party/python/Lib/test/
Dtest_posix.py131 self.assertRaises(TypeError, posix.initgroups)
132 self.assertRaises(TypeError, posix.initgroups, None)
133 self.assertRaises(TypeError, posix.initgroups, 3, "foo")
134 self.assertRaises(TypeError, posix.initgroups, "foo", 3, object())
145 posix.initgroups(name, 13)
1538 posix.initgroups(name, self.saved_groups[0])
1547 posix.initgroups(name, g)
/third_party/node/src/
Dnode_credentials.cc425 int rc = initgroups(user, extra_group); in InitGroups()
/third_party/rust/crates/libc/libc-test/semver/
Dopenbsd.txt1069 initgroups
Dfuchsia.txt1239 initgroups
Dnetbsd.txt1292 initgroups
/third_party/toybox/lib/
Dxwrap.c726 if (initgroups(pwd->pw_name, pwd->pw_gid) || setgid(pwd->pw_uid) in xsetuser()
/third_party/rust/crates/libc/src/unix/bsd/netbsdlike/
Dmod.rs730 pub fn initgroups(name: *const ::c_char, basegid: ::gid_t) -> ::c_int; in initgroups() function

123