HomeSort by relevance Sort by last modified time
    Searched refs:ngroups_max (Results 1 - 8 of 8) sorted by null

  /external/strace/tests/
getgroups.c 103 const unsigned int ngroups_max = sysconf(_SC_NGROUPS_MAX); local
105 rc = syscall(SYSCALL_NR, ngroups_max, 0);
106 printf("%s(%d, NULL) = %s\n", SYSCALL_NAME, ngroups_max, sprintrc(rc));
108 rc = syscall(SYSCALL_NR, (long) 0xffffffff00000000ULL | ngroups_max, 0);
109 printf("%s(%d, NULL) = %s\n", SYSCALL_NAME, ngroups_max, sprintrc(rc));
setgroups.c 156 const unsigned ngroups_max = rc; local
158 if ((unsigned long) rc == ngroups_max && (int) ngroups_max > 0) {
159 rc = syscall(SYSCALL_NR, ngroups_max, g3);
161 printf("%s(%d, [", SYSCALL_NAME, ngroups_max);
168 (unsigned long) 0xffffffff00000000ULL | ngroups_max;
171 printf("%s(%d, [", SYSCALL_NAME, ngroups_max);
177 rc = syscall(SYSCALL_NR, ngroups_max + 1, g3);
179 ngroups_max + 1, g3, sprintrc(rc));
  /external/strace/tests-m32/
getgroups.c 103 const unsigned int ngroups_max = sysconf(_SC_NGROUPS_MAX); local
105 rc = syscall(SYSCALL_NR, ngroups_max, 0);
106 printf("%s(%d, NULL) = %s\n", SYSCALL_NAME, ngroups_max, sprintrc(rc));
108 rc = syscall(SYSCALL_NR, (long) 0xffffffff00000000ULL | ngroups_max, 0);
109 printf("%s(%d, NULL) = %s\n", SYSCALL_NAME, ngroups_max, sprintrc(rc));
setgroups.c 156 const unsigned ngroups_max = rc; local
158 if ((unsigned long) rc == ngroups_max && (int) ngroups_max > 0) {
159 rc = syscall(SYSCALL_NR, ngroups_max, g3);
161 printf("%s(%d, [", SYSCALL_NAME, ngroups_max);
168 (unsigned long) 0xffffffff00000000ULL | ngroups_max;
171 printf("%s(%d, [", SYSCALL_NAME, ngroups_max);
177 rc = syscall(SYSCALL_NR, ngroups_max + 1, g3);
179 ngroups_max + 1, g3, sprintrc(rc));
  /external/strace/tests-mx32/
getgroups.c 103 const unsigned int ngroups_max = sysconf(_SC_NGROUPS_MAX); local
105 rc = syscall(SYSCALL_NR, ngroups_max, 0);
106 printf("%s(%d, NULL) = %s\n", SYSCALL_NAME, ngroups_max, sprintrc(rc));
108 rc = syscall(SYSCALL_NR, (long) 0xffffffff00000000ULL | ngroups_max, 0);
109 printf("%s(%d, NULL) = %s\n", SYSCALL_NAME, ngroups_max, sprintrc(rc));
setgroups.c 156 const unsigned ngroups_max = rc; local
158 if ((unsigned long) rc == ngroups_max && (int) ngroups_max > 0) {
159 rc = syscall(SYSCALL_NR, ngroups_max, g3);
161 printf("%s(%d, [", SYSCALL_NAME, ngroups_max);
168 (unsigned long) 0xffffffff00000000ULL | ngroups_max;
171 printf("%s(%d, [", SYSCALL_NAME, ngroups_max);
177 rc = syscall(SYSCALL_NR, ngroups_max + 1, g3);
179 ngroups_max + 1, g3, sprintrc(rc));
  /external/ltp/testcases/kernel/syscalls/setgroups/
setgroups03.c 111 int ngroups_max = sysconf(_SC_NGROUPS_MAX); /* max no. of groups in the current system */ local
115 groups_list = malloc(ngroups_max * sizeof(GID_T));
118 " %d ", ngroups_max * sizeof(GID_T), errno);
132 gidsetsize = ngroups_max + Test_cases[i].gsize_add;
  /external/strace/
uid.c 171 static unsigned long ngroups_max; local
172 if (!ngroups_max)
173 ngroups_max = sysconf(_SC_NGROUPS_MAX);
175 if (len > ngroups_max) {

Completed in 570 milliseconds