Home
last modified time | relevance | path

Searched refs:chld (Results 1 – 9 of 9) sorted by relevance

/external/linux-kselftest/tools/testing/selftests/x86/
Dptrace_syscall.c84 static siginfo_t wait_trap(pid_t chld) in wait_trap() argument
87 if (waitid(P_PID, chld, &si, WEXITED|WSTOPPED) != 0) in wait_trap()
89 if (si.si_pid != chld) in wait_trap()
178 pid_t chld = fork(); in test_ptrace_syscall_restart() local
179 if (chld < 0) in test_ptrace_syscall_restart()
182 if (chld == 0) { in test_ptrace_syscall_restart()
198 if (waitpid(chld, &status, 0) != chld || !WIFSTOPPED(status)) in test_ptrace_syscall_restart()
204 if (ptrace(PTRACE_SYSEMU, chld, 0, 0) != 0) in test_ptrace_syscall_restart()
206 wait_trap(chld); in test_ptrace_syscall_restart()
208 if (ptrace(PTRACE_GETREGS, chld, 0, &regs) != 0) in test_ptrace_syscall_restart()
[all …]
/external/linux-kselftest/tools/testing/selftests/powerpc/ptrace/
Dptrace-syscall.c41 static void wait_trap(pid_t chld) in wait_trap() argument
45 if (waitid(P_PID, chld, &si, WEXITED|WSTOPPED) != 0) in wait_trap()
47 if (si.si_pid != chld) in wait_trap()
57 pid_t chld; in test_ptrace_syscall_restart() local
61 chld = fork(); in test_ptrace_syscall_restart()
62 if (chld < 0) in test_ptrace_syscall_restart()
73 if (chld == 0) { in test_ptrace_syscall_restart()
88 if (waitpid(chld, &status, 0) != chld || !WIFSTOPPED(status)) in test_ptrace_syscall_restart()
92 if (ptrace(PTRACE_SYSEMU, chld, 0, 0) != 0) in test_ptrace_syscall_restart()
94 wait_trap(chld); in test_ptrace_syscall_restart()
[all …]
/external/strace/tests-m32/
Dqual_signal.test57 chld sigchld alrm sigalrm \
59 chld,sigalrm alrm,sigchld \
69 chld,sigint sigint,sigalrm \
80 chld,sigterm sigterm,sigalrm \
/external/strace/tests-mx32/
Dqual_signal.test57 chld sigchld alrm sigalrm \
59 chld,sigalrm alrm,sigchld \
69 chld,sigint sigint,sigalrm \
80 chld,sigterm sigterm,sigalrm \
/external/strace/tests/
Dqual_signal.test57 chld sigchld alrm sigalrm \
59 chld,sigalrm alrm,sigchld \
69 chld,sigint sigint,sigalrm \
80 chld,sigterm sigterm,sigalrm \
/external/ltp/testcases/kernel/mem/page/
Dpage02.c78 int chld();
83 if (signal(SIGUSR1, (void (*)())chld) == SIG_ERR) {
230 int chld() in chld() function
232 if (signal(SIGUSR1, (void (*)())chld) == SIG_ERR) { in chld()
/external/ltp/testcases/kernel/mem/vmtests/
Ddata_space.c107 int chld();
140 if (sigset(SIGUSR1, (void (*)())chld) == SIG_ERR) {
464 int chld() in chld() function
466 if (sigset(SIGUSR1, (void (*)())chld) == SIG_ERR) { in chld()
/external/ltp/testcases/kernel/syscalls/mkdir/
Dmkdir09.c65 void chld(int sig);
121 if (signal(SIGCHLD, chld) == SIG_ERR) { in main()
311 void chld(int sig) in chld() function
/external/ppp/pppd/
Dmain.c241 static void chld __P((int));
698 SIGNAL(SIGCHLD, chld); in setup_signals()
1494 chld(sig) in chld() function