/third_party/musl/libc-test/src/functionalext/supplement/unistd/ |
H A D | getgroups.c | 28 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 D | test-process-getgroups.js | 25 // 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 D | setgroups.c | 40 int num = getgroups(size, groupslist); in setgroups_0100() 67 int num = getgroups(size, groupslist); in setgroups_0200()
|
/third_party/musl/src/unistd/ |
H A D | getgroups.c | 4 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 D | tirpc_authsys_create.c | 54 len = getgroups(NGRPS, aup_gids); in main()
|
/third_party/node/lib/internal/bootstrap/ |
H A D | node.js | 221 process.getgroups = credentials.getgroups;
|
/third_party/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_auth_authunix_create/ |
H A D | rpc_authunix_create.c | 69 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 D | Makefile | 25 getdomainname getdtablesize gethostid getgroups get_mempolicy ipc \
|
/third_party/ltp/testcases/kernel/syscalls/utils/ |
H A D | compat_tst_16.h | 79 TST_CREATE_SYSCALL(getgroups, gidsetsize, list); in GETGROUPS()
|
H A D | compat_16.h | 82 LTP_CREATE_SYSCALL(getgroups, cleanup, gidsetsize, list); in GETGROUPS()
|
/third_party/toybox/toys/posix/ |
H A D | id.c | 132 : getgroups(i, groups); in do_id()
|
/third_party/node/src/ |
H A D | node_credentials.cc | 343 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 D | test_unistd.rs | 235 // `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 D | unistd.h | 135 int getgroups(int, gid_t []);
|
/third_party/musl/porting/uniproton/kernel/include/ |
H A D | unistd.h | 110 int getgroups(int, gid_t []);
|
/third_party/musl/porting/linux/user/include/ |
H A D | unistd.h | 137 int getgroups(int, gid_t []);
|
/third_party/musl/porting/liteos_m/user/include/ |
H A D | unistd.h | 135 int getgroups(int, gid_t []);
|
/third_party/musl/porting/liteos_m_iccarm/kernel/include/ |
H A D | unistd.h | 110 int getgroups(int, gid_t []);
|
/third_party/musl/porting/liteos_a/kernel/include/ |
H A D | unistd.h | 115 int getgroups(int, gid_t []);
|
/third_party/musl/porting/liteos_m/kernel/include/ |
H A D | unistd.h | 110 int getgroups(int, gid_t []);
|
/third_party/musl/include/ |
H A D | unistd.h | 174 int getgroups(int, gid_t []);
|
/third_party/ltp/lib/ |
H A D | tst_safe_macros.c | 99 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 D | unistd.c | 283 {int(*p)(int,gid_t[]) = getgroups;} in f()
|
/third_party/python/Tools/c-analyzer/c_common/ |
H A D | fsutil.py | 397 groups = os.getgroups()
|
/third_party/python/Lib/test/ |
H A D | test_posix.py | 68 "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...] |