Home
last modified time | relevance | path

Searched refs:ngroups_max (Results 1 – 13 of 13) sorted by relevance

/external/strace/tests-mx32/
Dsetgroups.c157 const unsigned ngroups_max = rc; in main() local
159 if ((unsigned long) rc == ngroups_max && (int) ngroups_max > 0) { in main()
160 rc = syscall(SYSCALL_NR, ngroups_max, g3); in main()
162 printf("%s(%d, [", SYSCALL_NAME, ngroups_max); in main()
168 rc = syscall(SYSCALL_NR, F8ILL_KULONG_MASK | ngroups_max, g3); in main()
170 printf("%s(%d, [", SYSCALL_NAME, ngroups_max); in main()
176 rc = syscall(SYSCALL_NR, ngroups_max + 1, g3); in main()
178 ngroups_max + 1, g3, sprintrc(rc)); in main()
Dgetgroups.c104 const unsigned int ngroups_max = sysconf(_SC_NGROUPS_MAX); in main() local
106 rc = syscall(SYSCALL_NR, ngroups_max, 0); in main()
107 printf("%s(%d, NULL) = %s\n", SYSCALL_NAME, ngroups_max, sprintrc(rc)); in main()
109 rc = syscall(SYSCALL_NR, F8ILL_KULONG_MASK | ngroups_max, 0); in main()
110 printf("%s(%d, NULL) = %s\n", SYSCALL_NAME, ngroups_max, sprintrc(rc)); in main()
/external/strace/tests-m32/
Dsetgroups.c157 const unsigned ngroups_max = rc; in main() local
159 if ((unsigned long) rc == ngroups_max && (int) ngroups_max > 0) { in main()
160 rc = syscall(SYSCALL_NR, ngroups_max, g3); in main()
162 printf("%s(%d, [", SYSCALL_NAME, ngroups_max); in main()
168 rc = syscall(SYSCALL_NR, F8ILL_KULONG_MASK | ngroups_max, g3); in main()
170 printf("%s(%d, [", SYSCALL_NAME, ngroups_max); in main()
176 rc = syscall(SYSCALL_NR, ngroups_max + 1, g3); in main()
178 ngroups_max + 1, g3, sprintrc(rc)); in main()
Dgetgroups.c104 const unsigned int ngroups_max = sysconf(_SC_NGROUPS_MAX); in main() local
106 rc = syscall(SYSCALL_NR, ngroups_max, 0); in main()
107 printf("%s(%d, NULL) = %s\n", SYSCALL_NAME, ngroups_max, sprintrc(rc)); in main()
109 rc = syscall(SYSCALL_NR, F8ILL_KULONG_MASK | ngroups_max, 0); in main()
110 printf("%s(%d, NULL) = %s\n", SYSCALL_NAME, ngroups_max, sprintrc(rc)); in main()
/external/strace/tests/
Dsetgroups.c157 const unsigned ngroups_max = rc; in main() local
159 if ((unsigned long) rc == ngroups_max && (int) ngroups_max > 0) { in main()
160 rc = syscall(SYSCALL_NR, ngroups_max, g3); in main()
162 printf("%s(%d, [", SYSCALL_NAME, ngroups_max); in main()
168 rc = syscall(SYSCALL_NR, F8ILL_KULONG_MASK | ngroups_max, g3); in main()
170 printf("%s(%d, [", SYSCALL_NAME, ngroups_max); in main()
176 rc = syscall(SYSCALL_NR, ngroups_max + 1, g3); in main()
178 ngroups_max + 1, g3, sprintrc(rc)); in main()
Dgetgroups.c104 const unsigned int ngroups_max = sysconf(_SC_NGROUPS_MAX); in main() local
106 rc = syscall(SYSCALL_NR, ngroups_max, 0); in main()
107 printf("%s(%d, NULL) = %s\n", SYSCALL_NAME, ngroups_max, sprintrc(rc)); in main()
109 rc = syscall(SYSCALL_NR, F8ILL_KULONG_MASK | ngroups_max, 0); in main()
110 printf("%s(%d, NULL) = %s\n", SYSCALL_NAME, ngroups_max, sprintrc(rc)); in main()
/external/ltp/testcases/kernel/syscalls/setgroups/
Dsetgroups03.c111 int ngroups_max = sysconf(_SC_NGROUPS_MAX); /* max no. of groups in the current system */ in main() local
115 groups_list = malloc(ngroups_max * sizeof(GID_T)); in main()
118 " %d ", ngroups_max * sizeof(GID_T), errno); in main()
132 gidsetsize = ngroups_max + Test_cases[i].gsize_add; in main()
/external/strace/
Duid.c172 static unsigned long ngroups_max; in print_groups() local
173 if (!ngroups_max) in print_groups()
174 ngroups_max = sysconf(_SC_NGROUPS_MAX); in print_groups()
176 if (len > ngroups_max) { in print_groups()
/external/rust/crates/nix/src/
Dunistd.rs1399 let ngroups_max = match sysconf(SysconfVar::NGROUPS_MAX) { in getgroups() localVariable
1427 reserve_double_buffer_size(&mut groups, ngroups_max) in getgroups()
1512 let ngroups_max = match sysconf(SysconfVar::NGROUPS_MAX) { in getgrouplist() localVariable
1517 let mut ngroups = min(ngroups_max, 8); in getgrouplist()
1544 reserve_double_buffer_size(&mut groups, ngroups_max as usize) in getgrouplist()
/external/rust/crates/libc/src/unix/
Dmod.rs852 pub fn getgroups(ngroups_max: ::c_int, groups: *mut gid_t) -> ::c_int; in getgroups()
/external/rust/crates/libc/src/vxworks/
Dmod.rs1183 pub fn getgroups(ngroups_max: ::c_int, groups: *mut gid_t) -> ::c_int; in getgroups()
/external/rust/crates/libc/src/fuchsia/
Dmod.rs3586 pub fn getgroups(ngroups_max: ::c_int, groups: *mut gid_t) -> ::c_int; in getgroups()
/external/selinux/python/sepolgen/tests/test_data/
Dhttpd.log10667 …8.125:14479): avc: denied { read } for pid=19250 comm="httpd" name="ngroups_max" dev=proc ino=-…