/external/clang/tools/scan-build-py/tests/functional/exec/ |
main.c | 98 #define FORK(FUNC) \ 100 pid_t child = fork(); \ 102 perror("fork"); \ 122 FORK(execv(compiler, argv);) 136 FORK(execve(compiler, argv, envp);) 149 FORK(execvp(compiler, argv);) 162 FORK(execvP(compiler, _PATH_DEFPATH, argv);) 176 FORK(execvpe(compiler, argv, envp);) 190 FORK(exect(compiler, argv, envp);) 202 FORK(execl(compiler, "cc", "-c", file, (char *)0); [all...] |
/external/ltp/testcases/kernel/syscalls/close/ |
close02.c | 107 tst_sig(FORK, DEF_HANDLER, cleanup);
|
/external/ltp/testcases/kernel/syscalls/execlp/ |
execlp01.c | 68 tst_brkm(TBROK | TERRNO, NULL, "fork failed"); 79 tst_sig(FORK, DEF_HANDLER, NULL);
|
/external/ltp/testcases/kernel/syscalls/nanosleep/ |
nanosleep01.c | 71 tst_sig(FORK, DEF_HANDLER, NULL);
|
nanosleep04.c | 83 tst_sig(FORK, DEF_HANDLER, NULL);
|
/external/ltp/testcases/kernel/syscalls/uname/ |
uname02.c | 106 tst_sig(FORK, DEF_HANDLER, cleanup);
|
/external/ltp/testcases/kernel/syscalls/ipc/msgrcv/ |
msgrcv05.c | 30 * fork a child who attempts to read a non-existent message with msgrcv() 97 * fork a child that will attempt to read a non-existent 101 tst_brkm(TBROK, cleanup, "could not fork"); 165 tst_sig(FORK, sighandler, cleanup); 177 tst_sig(FORK, sighandler, cleanup);
|
msgrcv06.c | 30 * fork a child who sleeps on an attempted read with msgrcv() 114 * fork a child that will attempt to read a non-existent 118 tst_brkm(TBROK, cleanup, "could not fork"); 186 tst_sig(FORK, SIG_IGN, cleanup); 198 tst_sig(FORK, SIG_IGN, cleanup);
|
/external/ltp/testcases/kernel/mem/oom/ |
oom01.c | 78 tst_sig(FORK, DEF_HANDLER, cleanup);
|
oom02.c | 79 tst_sig(FORK, DEF_HANDLER, cleanup);
|
/external/ltp/testcases/kernel/syscalls/clone/ |
clone01.c | 81 tst_sig(FORK, DEF_HANDLER, cleanup);
|
/external/ltp/testcases/kernel/syscalls/dup/ |
dup02.c | 169 tst_sig(FORK, DEF_HANDLER, cleanup);
|
/external/ltp/testcases/kernel/syscalls/execl/ |
execl01.c | 70 tst_brkm(TBROK | TERRNO, NULL, "fork failed"); 82 tst_sig(FORK, DEF_HANDLER, NULL);
|
/external/ltp/testcases/kernel/syscalls/execle/ |
execle01.c | 71 tst_brkm(TBROK | TERRNO, NULL, "fork failed"); 82 tst_sig(FORK, DEF_HANDLER, NULL);
|
/external/ltp/testcases/kernel/syscalls/execv/ |
execv01.c | 71 tst_brkm(TBROK, NULL, "fork failed"); 82 tst_sig(FORK, DEF_HANDLER, NULL);
|
/external/ltp/testcases/kernel/syscalls/execve/ |
execve01.c | 72 tst_brkm(TBROK, NULL, "fork failed"); 83 tst_sig(FORK, DEF_HANDLER, NULL);
|
/external/ltp/testcases/kernel/syscalls/execvp/ |
execvp01.c | 67 tst_brkm(TBROK | TERRNO, NULL, "fork failed"); 78 tst_sig(FORK, DEF_HANDLER, NULL);
|
/external/ltp/testcases/kernel/syscalls/fchown/ |
fchown01.c | 86 tst_sig(FORK, DEF_HANDLER, cleanup);
|
/external/ltp/testcases/kernel/syscalls/fork/ |
fork02.c | 25 * Test correct operation of fork: 30 * Fork one process, check for pid == 0 in child. 68 pid1 = fork(); 70 tst_brkm(TBROK, cleanup, "fork() failed"); 93 tst_sig(FORK, DEF_HANDLER, cleanup);
|
fork06.c | 22 * Test that a process can fork children a large number of 26 * Attempt to fork a child that exits immediately 69 pid = fork(); 100 tst_sig(FORK, DEF_HANDLER, cleanup);
|
fork11.c | 26 * Fork NUMFORKS children that do nothing. 66 pid = fork(); 80 tst_resm(TFAIL, "fork failed %d times", fail); 82 tst_resm(TPASS, "fork test passed, %d processes", i); 91 tst_sig(FORK, DEF_HANDLER, cleanup);
|
/external/ltp/testcases/kernel/syscalls/getppid/ |
getppid02.c | 71 tst_brkm(TBROK, cleanup, "fork failed"); 100 tst_sig(FORK, DEF_HANDLER, cleanup);
|
/external/ltp/testcases/kernel/syscalls/getsid/ |
getsid01.c | 35 * fork a child and get the child's session ID 102 tst_brkm(TBROK, cleanup, "could not fork"); 147 tst_sig(FORK, DEF_HANDLER, cleanup);
|
/external/ltp/testcases/kernel/syscalls/mremap/ |
mremap02.c | 153 tst_sig(FORK, DEF_HANDLER, cleanup);
|
/external/ltp/testcases/kernel/syscalls/sched_getparam/ |
sched_getparam02.c | 44 * fork a child 105 /* fork() failed */ 106 tst_resm(TFAIL, "fork() failed"); 160 tst_sig(FORK, DEF_HANDLER, cleanup);
|