Home
last modified time | relevance | path

Searched refs:setgroups (Results 1 - 25 of 47) sorted by relevance

12

/third_party/node/lib/internal/bootstrap/switches/
H A Ddoes_own_process_state.js15 process.setgroups = wrapped.setgroups;
44 setgroups: _setgroups,
63 function setgroups(groups) { function
98 setgroups,
H A Ddoes_not_own_process_state.js15 process.setgroups = unavailable('process.setgroups()');
/third_party/musl/libc-test/src/functionalext/supplement/linux/
H A Dsetgroups.c36 int result = setgroups(count, groups); in setgroups_0100()
38 t_error("%s setgroups failed", __func__); in setgroups_0100()
42 t_error("%s setgroups invalid", __func__); in setgroups_0100()
59 int result = setgroups(count, groups); in setgroups_0200()
61 t_error("%s setgroups failed", __func__); in setgroups_0200()
63 if (setgroups(0, NULL) == -1) { in setgroups_0200()
/third_party/musl/src/misc/
H A Dinitgroups.c10 return setgroups(count, groups); in initgroups()
/third_party/musl/porting/uniproton/kernel/include/
H A Dgrp.h45 int setgroups(size_t, const gid_t *);
H A Dunistd.h167 int setgroups(size_t, const gid_t *);
/third_party/musl/porting/liteos_m/kernel/include/
H A Dgrp.h45 int setgroups(size_t, const gid_t *);
H A Dunistd.h167 int setgroups(size_t, const gid_t *);
/third_party/musl/porting/liteos_m_iccarm/kernel/include/
H A Dgrp.h44 int setgroups(size_t, const gid_t *);
H A Dunistd.h167 int setgroups(size_t, const gid_t *);
/third_party/musl/src/linux/
H A Dsetgroups.c29 int setgroups(size_t count, const gid_t list[]) in setgroups() function
/third_party/musl/include/
H A Dgrp.h45 int setgroups(size_t, const gid_t *);
H A Dunistd.h231 int setgroups(size_t, const gid_t *);
/third_party/ltp/testcases/kernel/syscalls/
H A DMakefile29 sched_getaffinity sched_setaffinity sendmsg setgroups setns sighold \
/third_party/ltp/testcases/kernel/syscalls/chmod/
H A Dchmod05.c84 if (setgroups(1, &nobody_u->pw_gid) == -1) in setup()
85 tst_brk(TBROK | TERRNO, "setgroups to nobody's gid failed"); in setup()
/third_party/ltp/testcases/kernel/syscalls/fchmod/
H A Dfchmod05.c61 if (setgroups(1, &ltpuser->pw_gid) == -1) { in setup()
/third_party/ltp/testcases/kernel/syscalls/getgroups/
H A Dgetgroups01.c183 setgroups(3, init_gidset); in setup()
/third_party/ltp/testcases/kernel/syscalls/utils/
H A Dcompat_tst_16.h74 TST_CREATE_SYSCALL(setgroups, gidsetsize, list); in SETGROUPS()
H A Dcompat_16.h77 LTP_CREATE_SYSCALL(setgroups, cleanup, gidsetsize, list); in SETGROUPS()
/third_party/musl/porting/liteos_a/user/include/
H A Dunistd.h192 int setgroups(size_t, const gid_t *);
/third_party/musl/porting/linux/user/include/
H A Dunistd.h194 int setgroups(size_t, const gid_t *);
/third_party/musl/porting/liteos_m/user/include/
H A Dunistd.h192 int setgroups(size_t, const gid_t *);
/third_party/musl/porting/liteos_a/kernel/include/
H A Dunistd.h172 int setgroups(size_t, const gid_t *);
/third_party/rust/crates/nix/test/
H A Dtest_unistd.rs235 // `getgroups()` and `setgroups()` do not behave as expected on Apple platforms
244 // Skip this test when not run as root as `setgroups()` requires root. in test_setgroups()
254 setgroups(&groups).unwrap(); in test_setgroups()
260 setgroups(&old_groups).unwrap(); in test_setgroups()
264 // `getgroups()` and `setgroups()` do not behave as expected on Apple platforms
274 // Skip this test when not run as root as `initgroups()` and `setgroups()` in test_initgroups()
299 setgroups(&old_groups).unwrap(); in test_initgroups()
/third_party/ltp/lib/
H A Dtst_safe_macros.c81 rval = setgroups(size, list); in safe_setgroups()
85 "setgroups(%zu, %p) failed", size, list); in safe_setgroups()
88 "Invalid setgroups(%zu, %p) return value %d", size, in safe_setgroups()

Completed in 15 milliseconds

12