Home
last modified time | relevance | path

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

/third_party/ltp/testcases/kernel/syscalls/execveat/
Dexecveat01.c31 #define TEST_APP "execveat_child" macro
32 #define TEST_REL_APP TESTDIR"/"TEST_APP
43 {&fd1, TEST_APP, 0},
52 char *argv[2] = {TEST_APP, NULL}; in verify_execveat()
69 SAFE_CP(TEST_APP, TEST_REL_APP); in setup()
89 TEST_APP,
Dexecveat02.c29 #define TEST_APP "execveat_errno" macro
31 #define TEST_REL_APP TESTDIR"/"TEST_APP
52 char *argv[2] = {TEST_APP, NULL}; in verify_execveat()
77 SAFE_CP(TEST_APP, TEST_REL_APP); in setup()
96 TEST_APP,
Dexecveat03.c37 #define TEST_APP "execveat_child" macro
38 #define TEST_FILE_PATH OVL_MNT"/"TEST_APP
47 SAFE_CP(TEST_APP, TEST_FILE_PATH); in do_child()
80 TEST_APP,
/third_party/ltp/testcases/kernel/syscalls/creat/
Dcreat07.c20 #define TEST_APP "creat07_child" macro
28 SAFE_EXECL(TEST_APP, TEST_APP, NULL); in verify_creat()
34 TEST(creat(TEST_APP, O_WRONLY)); in verify_creat()
55 TEST_APP,
/third_party/ltp/testcases/kernel/syscalls/execve/
Dexecve04.c30 #define TEST_APP "execve_child" macro
37 char *argv[2] = {TEST_APP, NULL}; in verify_execve()
45 TEST(execve(TEST_APP, argv, environ)); in verify_execve()
57 int fd = SAFE_OPEN(TEST_APP, O_WRONLY); in do_child()
72 TEST_APP,
Dexecve02.c31 #define TEST_APP "execve_child" macro
38 char *argv[2] = {TEST_APP, NULL}; in do_child()
46 TEST(execve(TEST_APP, argv, environ)); in do_child()
71 SAFE_CHMOD(TEST_APP, 0700); in setup()
83 TEST_APP,
Dexecve05.c41 #define TEST_APP "execve_child" macro
49 char *argv[3] = {TEST_APP, "canary", NULL}; in do_child()
53 TEST(execve(TEST_APP, argv, environ)); in do_child()
85 TEST_APP,
/third_party/ltp/testcases/kernel/syscalls/fanotify/
Dfanotify12.c36 #define TEST_APP "fanotify_child" macro
121 SAFE_EXECL(TEST_APP, TEST_APP, NULL); in generate_events()
137 const char *const files[] = {fname, TEST_APP}; in setup_mark()
246 TEST_APP,
Dfanotify03.c41 #define TEST_APP "fanotify_child" macro
43 #define FILE_EXEC_PATH MOUNT_PATH"/"TEST_APP
331 SAFE_CP(TEST_APP, FILE_EXEC_PATH); in setup()
341 TEST_APP,
Dfanotify10.c86 #define TEST_APP "fanotify_child" macro
95 #define FILE_EXEC_PATH MOUNT_PATH"/"TEST_APP
100 #define FILE_EXEC_PATH2 MNT2_PATH"/"TEST_APP
912 SAFE_CP(TEST_APP, FILE_EXEC_PATH); in setup()
913 SAFE_CP(TEST_APP, FILE2_EXEC_PATH); in setup()
962 TEST_APP,
/third_party/ltp/testcases/kernel/containers/userns/
Duserns06.c26 #define TEST_APP "userns06_capcheck" macro
35 char *const args[] = { TEST_APP, "privileged", NULL }; in child_fn1()
48 char *const args[] = { TEST_APP, "unprivileged", NULL }; in child_fn2()
121 TEST_APP,
/third_party/ltp/testcases/kernel/syscalls/setpgid/
Dsetpgid03.c27 #define TEST_APP "setpgid03_child" macro
56 SAFE_EXECLP(TEST_APP, TEST_APP, NULL); in run()
/third_party/ltp/testcases/kernel/syscalls/openat/
Dopenat02.c53 #define TEST_APP "openat02_child" macro
162 if (execlp(TEST_APP, TEST_APP, buf, NULL)) in testfunc_cloexec()