Home
last modified time | relevance | path

Searched refs:SYSCALL_NAME (Results 1 – 25 of 125) sorted by relevance

12345

/external/strace/tests/
Dsetgroups.c34 # 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 …]
Dgetgroups.c34 # 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 …]
Dgetresugid.c43 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()
Dsetugid.c80 SYSCALL_NAME, ugid, errstr); in main()
84 SYSCALL_NAME, tests[i], in main()
88 printf("%s(", SYSCALL_NAME); in main()
Dsetreugid.c90 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()
Dsetresugid.c94 SYSCALL_NAME, ugid, ugid, ugid); in main()
98 SYSCALL_NAME, in main()
102 printf("%s(", SYSCALL_NAME); in main()
Dsetfsugid.c67 printf("%s(", SYSCALL_NAME); in main()
72 printf("%s(%u) = %u\n", SYSCALL_NAME, ugid, rc); in main()
Dxchownx.c102 static const char sample[] = SYSCALL_NAME "_sample"; in main()
152 printf("%s(" FMT_ARG1, SYSCALL_NAME, SYSCALL_ARG1); in main()
/external/strace/tests-mx32/
Dsetgroups.c34 # 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 …]
Dgetgroups.c34 # 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 …]
Dgetresugid.c43 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()
Dsetugid.c80 SYSCALL_NAME, ugid, errstr); in main()
84 SYSCALL_NAME, tests[i], in main()
88 printf("%s(", SYSCALL_NAME); in main()
Dsetreugid.c90 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()
Dsetresugid.c94 SYSCALL_NAME, ugid, ugid, ugid); in main()
98 SYSCALL_NAME, in main()
102 printf("%s(", SYSCALL_NAME); in main()
Dsetfsugid.c67 printf("%s(", SYSCALL_NAME); in main()
72 printf("%s(%u) = %u\n", SYSCALL_NAME, ugid, rc); in main()
/external/strace/tests-m32/
Dsetgroups.c34 # 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 …]
Dgetgroups.c34 # 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 …]
Dgetresugid.c43 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()
Dsetugid.c80 SYSCALL_NAME, ugid, errstr); in main()
84 SYSCALL_NAME, tests[i], in main()
88 printf("%s(", SYSCALL_NAME); in main()
Dsetreugid.c90 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()
Dsetresugid.c94 SYSCALL_NAME, ugid, ugid, ugid); in main()
98 SYSCALL_NAME, in main()
102 printf("%s(", SYSCALL_NAME); in main()
Dsetfsugid.c67 printf("%s(", SYSCALL_NAME); in main()
72 printf("%s(%u) = %u\n", SYSCALL_NAME, ugid, rc); in main()
Dxchownx.c102 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/
Dsetdomainname.h19 # 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()
Dsetdomainname01.c18 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()

12345