/external/ltp/testcases/kernel/syscalls/setgroups/ |
D | setgroups03.c | 108 int gidsetsize; /* total no. of groups */ in main() local 132 gidsetsize = ngroups_max + Test_cases[i].gsize_add; in main() 140 TEST(SETGROUPS(cleanup, gidsetsize, groups_list)); in main() 144 "expected -1, errno=%d", gidsetsize, in main() 152 gidsetsize, test_desc, TEST_ERRNO); in main() 156 gidsetsize, test_desc, TEST_ERRNO, in main()
|
D | setgroups02.c | 91 int gidsetsize = 1; /* only one GID, the GID of TESTUSER */ in main() local 106 TEST(SETGROUPS(cleanup, gidsetsize, groups_list)); in main() 110 "errno=%d : %s", gidsetsize, TEST_ERRNO, in main() 121 if (GETGROUPS(cleanup, gidsetsize, groups_list) < 0) { in main() 130 gidsetsize); in main()
|
D | setgroups04.c | 88 int gidsetsize; /* total no. of groups */ in main() local 100 gidsetsize = NGROUPS; in main() 108 TEST(SETGROUPS(cleanup, gidsetsize, sbrk(0))); in main()
|
/external/ltp/testcases/kernel/syscalls/utils/ |
D | compat_16.h | 75 int SETGROUPS(void (cleanup)(void), size_t gidsetsize, GID_T *list) in SETGROUPS() argument 77 LTP_CREATE_SYSCALL(setgroups, cleanup, gidsetsize, list); in SETGROUPS() 80 int GETGROUPS(void (cleanup)(void), size_t gidsetsize, GID_T *list) in GETGROUPS() argument 82 LTP_CREATE_SYSCALL(getgroups, cleanup, gidsetsize, list); in GETGROUPS()
|
/external/ltp/testcases/kernel/syscalls/getgroups/ |
D | getgroups03.c | 61 int gidsetsize = NGROUPS; in main() local 71 TEST(GETGROUPS(cleanup, gidsetsize, groups_list)); in main()
|
/external/compiler-rt/include/sanitizer/ |
D | linux_syscall_hooks.h | 100 #define __sanitizer_syscall_pre_getgroups(gidsetsize, grouplist) \ argument 101 __sanitizer_syscall_pre_impl_getgroups((long)(gidsetsize), (long)(grouplist)) 102 #define __sanitizer_syscall_post_getgroups(res, gidsetsize, grouplist) \ argument 103 __sanitizer_syscall_post_impl_getgroups(res, (long)(gidsetsize), \ 148 #define __sanitizer_syscall_pre_setgroups(gidsetsize, grouplist) \ argument 149 __sanitizer_syscall_pre_impl_setgroups((long)(gidsetsize), (long)(grouplist)) 150 #define __sanitizer_syscall_post_setgroups(res, gidsetsize, grouplist) \ argument 151 __sanitizer_syscall_post_impl_setgroups(res, (long)(gidsetsize), \ 902 #define __sanitizer_syscall_pre_getgroups16(gidsetsize, grouplist) \ argument 903 __sanitizer_syscall_pre_impl_getgroups16((long)(gidsetsize), \ [all …]
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_common_syscalls.inc | 328 PRE_SYSCALL(getgroups)(long gidsetsize, void *grouplist) {} 330 POST_SYSCALL(getgroups)(long res, long gidsetsize, 377 PRE_SYSCALL(setgroups)(long gidsetsize, __sanitizer___kernel_gid_t *grouplist) { 378 if (grouplist) POST_WRITE(grouplist, gidsetsize * sizeof(*grouplist)); 381 POST_SYSCALL(setgroups)(long res, long gidsetsize, 1521 PRE_SYSCALL(getgroups16)(long gidsetsize, 1524 POST_SYSCALL(getgroups16)(long res, long gidsetsize, 1531 PRE_SYSCALL(setgroups16)(long gidsetsize, 1533 if (grouplist) POST_WRITE(grouplist, gidsetsize * sizeof(*grouplist)); 1536 POST_SYSCALL(setgroups16)(long res, long gidsetsize,
|