Home
last modified time | relevance | path

Searched refs:TEST_APP (Results 1 – 12 of 12) 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()
88 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()
89 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()
71 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()
51 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()
67 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()
78 TEST_APP,
Dexecve05.c41 #define TEST_APP "execve_child" macro
48 TEST_APP,
54 char *argv[3] = {TEST_APP, "canary", NULL}; in do_child()
58 TEST(execve(TEST_APP, argv, environ)); in do_child()
/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()
239 TEST_APP,
Dfanotify10.c79 #define TEST_APP "fanotify_child" macro
83 #define FILE_EXEC_PATH MOUNT_PATH"/"TEST_APP
87 #define FILE_EXEC_PATH2 MNT2_PATH"/"TEST_APP
531 SAFE_CP(TEST_APP, FILE_EXEC_PATH); in setup()
532 SAFE_CP(TEST_APP, FILE2_EXEC_PATH); in setup()
544 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,
/third_party/ltp/testcases/kernel/syscalls/setpgid/
Dsetpgid03.c41 #define TEST_APP "setpgid03_child" macro
104 if (execlp(TEST_APP, TEST_APP, NULL) < 0) in main()
/third_party/ltp/testcases/kernel/syscalls/openat/
Dopenat02.c53 #define TEST_APP "openat02_child" macro
168 if (execlp(TEST_APP, TEST_APP, buf, NULL)) in testfunc_cloexec()