Home
last modified time | relevance | path

Searched refs:getgroups (Results 1 - 25 of 34) sorted by relevance

12

/third_party/musl/libc-test/src/functionalext/supplement/unistd/
H A Dgetgroups.c28 int size = getgroups(sizeof(list) / sizeof(list[0]), list); in getgroups_0100()
30 t_error("%s getgroups failed\n", __func__); in getgroups_0100()
42 int size = getgroups(-1, list); in getgroups_0200()
44 t_error("%s getgroups should be failed\n", __func__); in getgroups_0200()
/third_party/node/test/parallel/
H A Dtest-process-getgroups.js25 // Check `id -G` and `process.getgroups()` return same groups.
33 if (typeof process.getgroups === 'function') {
34 const groups = unique(process.getgroups());
/third_party/musl/libc-test/src/functionalext/supplement/linux/
H A Dsetgroups.c40 int num = getgroups(size, groupslist); in setgroups_0100()
67 int num = getgroups(size, groupslist); in setgroups_0200()
/third_party/musl/src/unistd/
H A Dgetgroups.c4 int getgroups(int count, gid_t list[]) in getgroups() function
/third_party/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_auth_authsys_create/
H A Dtirpc_authsys_create.c54 len = getgroups(NGRPS, aup_gids); in main()
/third_party/node/lib/internal/bootstrap/
H A Dnode.js221 process.getgroups = credentials.getgroups;
/third_party/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_auth_authunix_create/
H A Drpc_authunix_create.c69 num_groups = getgroups(NGROUPS_MAX, groups); in main()
71 fprintf(stderr, "getgroups() failed for %d\n", uid); in main()
/third_party/ltp/testcases/kernel/syscalls/
H A DMakefile25 getdomainname getdtablesize gethostid getgroups get_mempolicy ipc \
/third_party/ltp/testcases/kernel/syscalls/utils/
H A Dcompat_tst_16.h79 TST_CREATE_SYSCALL(getgroups, gidsetsize, list); in GETGROUPS()
H A Dcompat_16.h82 LTP_CREATE_SYSCALL(getgroups, cleanup, gidsetsize, list); in GETGROUPS()
/third_party/toybox/toys/posix/
H A Did.c132 : getgroups(i, groups); in do_id()
/third_party/node/src/
H A Dnode_credentials.cc343 int ngroups = getgroups(0, nullptr); in GetGroups()
344 if (ngroups == -1) return env->ThrowErrnoException(errno, "getgroups"); in GetGroups()
348 ngroups = getgroups(ngroups, groups.data()); in GetGroups()
350 return env->ThrowErrnoException(errno, "getgroups"); in GetGroups()
469 SetMethodNoSideEffect(context, target, "getgroups", GetGroups); in Initialize()
/third_party/rust/crates/nix/test/
H A Dtest_unistd.rs235 // `getgroups()` and `setgroups()` do not behave as expected on Apple platforms
250 let old_groups = getgroups().unwrap(); in test_setgroups()
256 let new_groups = getgroups().unwrap(); in test_setgroups()
264 // `getgroups()` and `setgroups()` do not behave as expected on Apple platforms
281 let old_groups = getgroups().unwrap(); in test_initgroups()
295 let new_groups = getgroups().unwrap(); in test_initgroups()
/third_party/musl/porting/liteos_a/user/include/
H A Dunistd.h135 int getgroups(int, gid_t []);
/third_party/musl/porting/uniproton/kernel/include/
H A Dunistd.h110 int getgroups(int, gid_t []);
/third_party/musl/porting/linux/user/include/
H A Dunistd.h137 int getgroups(int, gid_t []);
/third_party/musl/porting/liteos_m/user/include/
H A Dunistd.h135 int getgroups(int, gid_t []);
/third_party/musl/porting/liteos_m_iccarm/kernel/include/
H A Dunistd.h110 int getgroups(int, gid_t []);
/third_party/musl/porting/liteos_a/kernel/include/
H A Dunistd.h115 int getgroups(int, gid_t []);
/third_party/musl/porting/liteos_m/kernel/include/
H A Dunistd.h110 int getgroups(int, gid_t []);
/third_party/musl/include/
H A Dunistd.h174 int getgroups(int, gid_t []);
/third_party/ltp/lib/
H A Dtst_safe_macros.c99 rval = getgroups(size, list); in safe_getgroups()
103 "getgroups(%i, %p)", size, list); in safe_getgroups()
106 "Invalid getgroups(%i, %p) return value %d", size, in safe_getgroups()
/third_party/musl/libc-test/src/api/
H A Dunistd.c283 {int(*p)(int,gid_t[]) = getgroups;} in f()
/third_party/python/Tools/c-analyzer/c_common/
H A Dfsutil.py397 groups = os.getgroups()
/third_party/python/Lib/test/
H A Dtest_posix.py68 "getegid", "geteuid", "getgid", "getgroups",
779 if 0 not in os.getgroups():
1086 # Issues 16698: OS X ABIs prior to 10.6 have limits on getgroups()
1091 raise unittest.SkipTest("getgroups(2) is broken prior to 10.6")
1093 # 'id -G' and 'os.getgroups()' should return the same
1096 # posix.getgroups() includes the effective gid.
1097 symdiff = idg_groups.symmetric_difference(posix.getgroups())
1528 if not hasattr(posix, 'getgroups'):
1529 raise unittest.SkipTest("need posix.getgroups")
1531 raise unittest.SkipTest("getgroups(
[all...]

Completed in 29 milliseconds

12