Searched refs:gidset (Results 1 – 5 of 5) sorted by relevance
/external/ltp/testcases/kernel/syscalls/getgroups/ |
D | getgroups01.c | 65 static GID_T gidset[NGROUPS]; variable 83 TEST(GETGROUPS(cleanup, -1, gidset)); in main() 101 memset(gidset, 052, NGROUPS * sizeof(GID_T)); in main() 104 TEST(GETGROUPS(cleanup, 0, gidset)); in main() 108 if (memcmp(cmpset, gidset, NGROUPS * sizeof(GID_T)) != 0) in main() 126 TEST(GETGROUPS(cleanup, TEST_RETURN - 1, gidset)); in main() 143 TEST(GETGROUPS(cleanup, NGROUPS, gidset)); in main() 152 if (gidset[i] == group) { in main()
|
/external/ltp/runtest/ |
D | quickhit | 123 # 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 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/llvm-project/compiler-rt/include/sanitizer/ |
D | netbsd_syscall_hooks.h | 417 #define __sanitizer_syscall_pre_getgroups(gidsetsize, gidset) \ argument 419 (long long)(gidset)) 420 #define __sanitizer_syscall_post_getgroups(res, gidsetsize, gidset) \ argument 422 (long long)(gidset)) 423 #define __sanitizer_syscall_pre_setgroups(gidsetsize, gidset) \ argument 425 (long long)(gidset)) 426 #define __sanitizer_syscall_post_setgroups(res, gidsetsize, gidset) \ argument 428 (long long)(gidset)) 3149 long long gidset); 3152 long long gidset); [all …]
|
/external/llvm-project/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_syscalls_netbsd.inc | 807 unsigned int *gidset = (unsigned int *)gidset_; 808 if (gidset) { 809 PRE_WRITE(gidset, sizeof(*gidset) * gidsetsize_); 814 unsigned int *gidset = (unsigned int *)gidset_; 815 if (gidset) { 816 POST_WRITE(gidset, sizeof(*gidset) * gidsetsize_); 821 unsigned int *gidset = (unsigned int *)gidset_; 822 if (gidset) { 823 PRE_READ(gidset, sizeof(*gidset) * gidsetsize_); 828 unsigned int *gidset = (unsigned int *)gidset_; [all …]
|
/external/openssh/ |
D | sshd.c | 447 gid_t gidset[1]; in privsep_preauth_child() local 474 gidset[0] = privsep_pw->pw_gid; in privsep_preauth_child() 475 if (setgroups(1, gidset) == -1) in privsep_preauth_child()
|