/external/strace/tests/ |
D | setgroups.c | 34 # define SYSCALL_NAME "setgroups32" macro 45 # define SYSCALL_NAME "setgroups" macro 77 printf("%s(0, NULL) = %s\n", SYSCALL_NAME, sprintrc(rc)); in main() 80 printf("%s(0, NULL) = %s\n", SYSCALL_NAME, sprintrc(rc)); in main() 83 printf("%s(1, NULL) = %s\n", SYSCALL_NAME, sprintrc(rc)); in main() 86 printf("%s(1, NULL) = %s\n", SYSCALL_NAME, sprintrc(rc)); in main() 89 printf("%s(%d, NULL) = %s\n", SYSCALL_NAME, -1, sprintrc(rc)); in main() 92 printf("%s(%d, NULL) = %s\n", SYSCALL_NAME, -1, sprintrc(rc)); in main() 100 printf("%s(0, []) = %s\n", SYSCALL_NAME, sprintrc(rc)); in main() 104 printf("%s(1, [", SYSCALL_NAME); in main() [all …]
|
D | getgroups.c | 34 # define SYSCALL_NAME "getgroups32" macro 45 # define SYSCALL_NAME "getgroups" macro 69 perror_msg_and_fail("%s(%#lx, %p)", SYSCALL_NAME, size, g); in get_groups() 71 printf("%s(%d, [", SYSCALL_NAME, (int) size); in get_groups() 91 printf("%s(0, NULL) = %ld\n", SYSCALL_NAME, ngroups); in main() 93 perror_msg_and_fail(SYSCALL_NAME); in main() 96 printf("%s(0, NULL) = %ld\n", SYSCALL_NAME, rc); in main() 99 printf("%s(%d, NULL) = %s\n", SYSCALL_NAME, -1, sprintrc(rc)); in main() 102 printf("%s(%d, NULL) = %s\n", SYSCALL_NAME, -1, sprintrc(rc)); in main() 107 printf("%s(%d, NULL) = %s\n", SYSCALL_NAME, ngroups_max, sprintrc(rc)); in main() [all …]
|
D | getresugid.c | 43 perror_msg_and_fail(SYSCALL_NAME); in main() 45 printf("%s([%u], [%u], [%u]) = 0\n", SYSCALL_NAME, in main() 49 printf("%s(NULL, %p, %p) = -1 EFAULT (%m)\n", SYSCALL_NAME, e, s); in main() 52 printf("%s(%p, NULL, %p) = -1 EFAULT (%m)\n", SYSCALL_NAME, r, s); in main() 55 printf("%s(%p, %p, NULL) = -1 EFAULT (%m)\n", SYSCALL_NAME, r, e); in main()
|
D | setugid.c | 80 SYSCALL_NAME, ugid, errstr); in main() 84 SYSCALL_NAME, tests[i], in main() 88 printf("%s(", SYSCALL_NAME); in main()
|
D | setreugid.c | 90 SYSCALL_NAME, ugid, ugid); in main() 93 perror_msg_and_fail("%s(%#lx, %#lx)", SYSCALL_NAME, in main() 97 printf("%s(", SYSCALL_NAME); in main()
|
D | setresugid.c | 94 SYSCALL_NAME, ugid, ugid, ugid); in main() 98 SYSCALL_NAME, in main() 102 printf("%s(", SYSCALL_NAME); in main()
|
D | setfsugid.c | 67 printf("%s(", SYSCALL_NAME); in main() 72 printf("%s(%u) = %u\n", SYSCALL_NAME, ugid, rc); in main()
|
D | xchownx.c | 102 static const char sample[] = SYSCALL_NAME "_sample"; in main() 152 printf("%s(" FMT_ARG1, SYSCALL_NAME, SYSCALL_ARG1); in main()
|
/external/strace/tests-mx32/ |
D | setgroups.c | 34 # define SYSCALL_NAME "setgroups32" macro 45 # define SYSCALL_NAME "setgroups" macro 77 printf("%s(0, NULL) = %s\n", SYSCALL_NAME, sprintrc(rc)); in main() 80 printf("%s(0, NULL) = %s\n", SYSCALL_NAME, sprintrc(rc)); in main() 83 printf("%s(1, NULL) = %s\n", SYSCALL_NAME, sprintrc(rc)); in main() 86 printf("%s(1, NULL) = %s\n", SYSCALL_NAME, sprintrc(rc)); in main() 89 printf("%s(%d, NULL) = %s\n", SYSCALL_NAME, -1, sprintrc(rc)); in main() 92 printf("%s(%d, NULL) = %s\n", SYSCALL_NAME, -1, sprintrc(rc)); in main() 100 printf("%s(0, []) = %s\n", SYSCALL_NAME, sprintrc(rc)); in main() 104 printf("%s(1, [", SYSCALL_NAME); in main() [all …]
|
D | getgroups.c | 34 # define SYSCALL_NAME "getgroups32" macro 45 # define SYSCALL_NAME "getgroups" macro 69 perror_msg_and_fail("%s(%#lx, %p)", SYSCALL_NAME, size, g); in get_groups() 71 printf("%s(%d, [", SYSCALL_NAME, (int) size); in get_groups() 91 printf("%s(0, NULL) = %ld\n", SYSCALL_NAME, ngroups); in main() 93 perror_msg_and_fail(SYSCALL_NAME); in main() 96 printf("%s(0, NULL) = %ld\n", SYSCALL_NAME, rc); in main() 99 printf("%s(%d, NULL) = %s\n", SYSCALL_NAME, -1, sprintrc(rc)); in main() 102 printf("%s(%d, NULL) = %s\n", SYSCALL_NAME, -1, sprintrc(rc)); in main() 107 printf("%s(%d, NULL) = %s\n", SYSCALL_NAME, ngroups_max, sprintrc(rc)); in main() [all …]
|
D | getresugid.c | 43 perror_msg_and_fail(SYSCALL_NAME); in main() 45 printf("%s([%u], [%u], [%u]) = 0\n", SYSCALL_NAME, in main() 49 printf("%s(NULL, %p, %p) = -1 EFAULT (%m)\n", SYSCALL_NAME, e, s); in main() 52 printf("%s(%p, NULL, %p) = -1 EFAULT (%m)\n", SYSCALL_NAME, r, s); in main() 55 printf("%s(%p, %p, NULL) = -1 EFAULT (%m)\n", SYSCALL_NAME, r, e); in main()
|
D | setugid.c | 80 SYSCALL_NAME, ugid, errstr); in main() 84 SYSCALL_NAME, tests[i], in main() 88 printf("%s(", SYSCALL_NAME); in main()
|
D | setreugid.c | 90 SYSCALL_NAME, ugid, ugid); in main() 93 perror_msg_and_fail("%s(%#lx, %#lx)", SYSCALL_NAME, in main() 97 printf("%s(", SYSCALL_NAME); in main()
|
D | setresugid.c | 94 SYSCALL_NAME, ugid, ugid, ugid); in main() 98 SYSCALL_NAME, in main() 102 printf("%s(", SYSCALL_NAME); in main()
|
D | setfsugid.c | 67 printf("%s(", SYSCALL_NAME); in main() 72 printf("%s(%u) = %u\n", SYSCALL_NAME, ugid, rc); in main()
|
/external/strace/tests-m32/ |
D | setgroups.c | 34 # define SYSCALL_NAME "setgroups32" macro 45 # define SYSCALL_NAME "setgroups" macro 77 printf("%s(0, NULL) = %s\n", SYSCALL_NAME, sprintrc(rc)); in main() 80 printf("%s(0, NULL) = %s\n", SYSCALL_NAME, sprintrc(rc)); in main() 83 printf("%s(1, NULL) = %s\n", SYSCALL_NAME, sprintrc(rc)); in main() 86 printf("%s(1, NULL) = %s\n", SYSCALL_NAME, sprintrc(rc)); in main() 89 printf("%s(%d, NULL) = %s\n", SYSCALL_NAME, -1, sprintrc(rc)); in main() 92 printf("%s(%d, NULL) = %s\n", SYSCALL_NAME, -1, sprintrc(rc)); in main() 100 printf("%s(0, []) = %s\n", SYSCALL_NAME, sprintrc(rc)); in main() 104 printf("%s(1, [", SYSCALL_NAME); in main() [all …]
|
D | getgroups.c | 34 # define SYSCALL_NAME "getgroups32" macro 45 # define SYSCALL_NAME "getgroups" macro 69 perror_msg_and_fail("%s(%#lx, %p)", SYSCALL_NAME, size, g); in get_groups() 71 printf("%s(%d, [", SYSCALL_NAME, (int) size); in get_groups() 91 printf("%s(0, NULL) = %ld\n", SYSCALL_NAME, ngroups); in main() 93 perror_msg_and_fail(SYSCALL_NAME); in main() 96 printf("%s(0, NULL) = %ld\n", SYSCALL_NAME, rc); in main() 99 printf("%s(%d, NULL) = %s\n", SYSCALL_NAME, -1, sprintrc(rc)); in main() 102 printf("%s(%d, NULL) = %s\n", SYSCALL_NAME, -1, sprintrc(rc)); in main() 107 printf("%s(%d, NULL) = %s\n", SYSCALL_NAME, ngroups_max, sprintrc(rc)); in main() [all …]
|
D | getresugid.c | 43 perror_msg_and_fail(SYSCALL_NAME); in main() 45 printf("%s([%u], [%u], [%u]) = 0\n", SYSCALL_NAME, in main() 49 printf("%s(NULL, %p, %p) = -1 EFAULT (%m)\n", SYSCALL_NAME, e, s); in main() 52 printf("%s(%p, NULL, %p) = -1 EFAULT (%m)\n", SYSCALL_NAME, r, s); in main() 55 printf("%s(%p, %p, NULL) = -1 EFAULT (%m)\n", SYSCALL_NAME, r, e); in main()
|
D | setugid.c | 80 SYSCALL_NAME, ugid, errstr); in main() 84 SYSCALL_NAME, tests[i], in main() 88 printf("%s(", SYSCALL_NAME); in main()
|
D | setreugid.c | 90 SYSCALL_NAME, ugid, ugid); in main() 93 perror_msg_and_fail("%s(%#lx, %#lx)", SYSCALL_NAME, in main() 97 printf("%s(", SYSCALL_NAME); in main()
|
D | setresugid.c | 94 SYSCALL_NAME, ugid, ugid, ugid); in main() 98 SYSCALL_NAME, in main() 102 printf("%s(", SYSCALL_NAME); in main()
|
D | setfsugid.c | 67 printf("%s(", SYSCALL_NAME); in main() 72 printf("%s(%u) = %u\n", SYSCALL_NAME, ugid, rc); in main()
|
D | xchownx.c | 102 static const char sample[] = SYSCALL_NAME "_sample"; in main() 152 printf("%s(" FMT_ARG1, SYSCALL_NAME, SYSCALL_ARG1); in main()
|
/external/ltp/testcases/kernel/syscalls/setdomainname/ |
D | setdomainname.h | 19 # define SYSCALL_NAME "hostname" macro 24 # define SYSCALL_NAME "domainname" macro 36 tst_res(TINFO, "Testing libc set" SYSCALL_NAME "()"); in setdomainname_info() 39 tst_res(TINFO, "Testing __NR_set" SYSCALL_NAME " syscall"); in setdomainname_info() 61 tst_brk(TBROK | TERRNO, "get" SYSCALL_NAME "() failed"); in setup() 67 tst_res(TWARN | TERRNO, "set" SYSCALL_NAME "() failed ('%s')", backup); in cleanup()
|
D | setdomainname01.c | 18 tst_brk(TFAIL | TTERRNO, "set" SYSCALL_NAME "() failed: %d", TST_ERR); in do_test() 21 tst_brk(TFAIL | TERRNO, "get" SYSCALL_NAME "() failed"); in do_test() 24 tst_res(TFAIL, "get" SYSCALL_NAME "() returned wrong domainname: '%s'", tmp); in do_test() 26 tst_res(TPASS, "set" SYSCALL_NAME "() succeed"); in do_test()
|