/third_party/ltp/testcases/kernel/syscalls/execveat/ |
D | execveat01.c | 31 #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,
|
D | execveat02.c | 29 #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,
|
D | execveat03.c | 37 #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/ |
D | creat07.c | 20 #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/ |
D | execve04.c | 30 #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,
|
D | execve02.c | 31 #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,
|
D | execve05.c | 41 #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/ |
D | fanotify12.c | 36 #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,
|
D | fanotify10.c | 79 #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,
|
D | fanotify03.c | 41 #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/ |
D | setpgid03.c | 41 #define TEST_APP "setpgid03_child" macro 104 if (execlp(TEST_APP, TEST_APP, NULL) < 0) in main()
|
/third_party/ltp/testcases/kernel/syscalls/openat/ |
D | openat02.c | 53 #define TEST_APP "openat02_child" macro 168 if (execlp(TEST_APP, TEST_APP, buf, NULL)) in testfunc_cloexec()
|