Home
last modified time | relevance | path

Searched refs:getgroups (Results 1 – 25 of 116) sorted by relevance

12345

/external/openssh/
Duidswap.c101 saved_egroupslen = getgroups(0, NULL); in temporarily_use_uid()
107 if (getgroups(saved_egroupslen, saved_egroups) == -1) in temporarily_use_uid()
120 user_groupslen = getgroups(0, NULL); in temporarily_use_uid()
126 if (getgroups(user_groupslen, user_groups) == -1) in temporarily_use_uid()
Ddefines.h829 # define getgroups(a,b) ((a)==0 && (b)==NULL ? NGROUPS_MAX : getgroups((a),(b))) macro
/external/minijail/examples/
Ddrop_privs.cpp35 int nsupp_groups = getgroups(0, NULL); in log_resugid()
45 nsupp_groups = getgroups(nsupp_groups, list); in log_resugid()
/external/minijail/test/
Dlibminijail_test.cpp31 int nsupp_groups = getgroups(0, NULL); in getgroups_with_alloc()
42 nsupp_groups = getgroups(nsupp_groups, *plist); in getgroups_with_alloc()
/external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_auth_authsys_create/
Dtirpc_authsys_create.c54 len = getgroups(NGRPS, aup_gids); in main()
/external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_auth_authunix_create/
Drpc_authunix_create.c69 num_groups = getgroups(NGROUPS_MAX, groups); in main()
/external/ltp/include/lapi/syscalls/
Ds390.in263 getgroups 80
313 getgroups 205
Ds390x.in263 getgroups 80
312 getgroups 205
Daarch64.in160 getgroups 158
Dmips_n64.in114 getgroups 113
Dia64.in54 getgroups 1077
Dx86_64.in116 getgroups 115
Dsparc64.in71 getgroups 79
Dpowerpc.in81 getgroups 80
Dmips_n32.in114 getgroups 113
Di386.in81 getgroups 80
/external/ltp/testcases/kernel/syscalls/
DMakefile39 getdomainname getdtablesize gethostid getgroups get_mempolicy ipc \
/external/ltp/runtest/
Dquickhit123 # 1. Check to see if getgroups(-1, gidset) fails and sets errno to EINVAL
124 # 2. Check to see if getgroups(0, gidset) does not return -1 and gidset is
126 # 3. Check to see if getgroups(x, gigset) fails and sets errno to EINVAL,
127 # where x is one less then what is returned by getgroups(0, gidset).
128 # 4. Check to see if getgroups() succeeds and gidset contains
/external/python/cpython2/Lib/test/
Dtest_posix.py352 if 0 not in os.getgroups():
592 set(posix.getgroups() + [posix.getegid()]))
645 self.saved_groups = posix.getgroups()
662 self.assertIn(g, posix.getgroups())
669 self.assertListEqual(groups, posix.getgroups())
/external/adhd/sound_card_init/seccomp/
Dsound_card_init-seccomp-amd64.policy29 getgroups: 1
/external/ltp/testcases/kernel/syscalls/utils/
Dcompat_tst_16.h79 TST_CREATE_SYSCALL(getgroups, gidsetsize, list); in GETGROUPS()
Dcompat_16.h82 LTP_CREATE_SYSCALL(getgroups, cleanup, gidsetsize, list); in GETGROUPS()
/external/perfetto/tools/
Drun_test_like_ci50 return group.gr_gid in os.getgroups()
/external/toybox/toys/posix/
Did.c114 : getgroups(i, groups); in do_id()
/external/strace/
Duid.c195 SYS_FUNC(getgroups) in SYS_FUNC() argument

12345