/kernel/linux/linux-5.10/tools/testing/selftests/pidfd/ |
H A D | pidfd_wait.c | 48 .exit_signal = SIGCHLD, in TEST() 83 ASSERT_EQ(info.si_signo, SIGCHLD); in TEST() 96 .exit_signal = SIGCHLD, in TEST() 114 ASSERT_EQ(info.si_signo, SIGCHLD); in TEST() 121 ASSERT_EQ(info.si_signo, SIGCHLD); in TEST() 126 ASSERT_EQ(info.si_signo, SIGCHLD); in TEST() 133 ASSERT_EQ(info.si_signo, SIGCHLD); in TEST() 148 .exit_signal = SIGCHLD, in TEST() 210 ASSERT_EQ(info.si_signo, SIGCHLD); in TEST() 217 ASSERT_EQ(info.si_signo, SIGCHLD); in TEST() [all...] |
/kernel/liteos_a/testsuites/unittest/extended/signal/full/ |
H A D | signal_test_026.cpp | 54 (void)signal(SIGCHLD, SigPrint); in TestCase() 56 sigaddset(&newset, SIGCHLD); in TestCase() 67 sigaddset(&newset, SIGCHLD); in TestCase() 80 sigaddset(&newset, SIGCHLD); in TestCase() 95 kill(fpid, SIGCHLD); in TestCase()
|
H A D | It_ipc_sigaction_001.cpp | 51 ret = sigaction(SIGCHLD, &act, &oldact); in Testcase() 58 kill(spid, SIGCHLD); in Testcase() 70 ret = sigaction(SIGCHLD, &oldact, NULL); in Testcase()
|
H A D | signal_test_007.cpp | 43 /* Register SIGCHLD, through signal to restore the child memory */ 49 signal(SIGCHLD, SigChildResponse); in TestSigKillResp() 73 ret = signal(SIGCHLD, SIG_DFL); in TestSigKillResp()
|
/kernel/linux/linux-6.6/tools/testing/selftests/pidfd/ |
H A D | pidfd_wait.c | 48 .exit_signal = SIGCHLD, in TEST() 83 ASSERT_EQ(info.si_signo, SIGCHLD); in TEST() 96 .exit_signal = SIGCHLD, in TEST() 121 ASSERT_EQ(info.si_signo, SIGCHLD); in TEST() 130 ASSERT_EQ(info.si_signo, SIGCHLD); in TEST() 135 ASSERT_EQ(info.si_signo, SIGCHLD); in TEST() 142 ASSERT_EQ(info.si_signo, SIGCHLD); in TEST() 157 .exit_signal = SIGCHLD, in TEST() 219 ASSERT_EQ(info.si_signo, SIGCHLD); in TEST() 226 ASSERT_EQ(info.si_signo, SIGCHLD); in TEST() [all...] |
/kernel/liteos_a/testsuites/unittest/container/full/ |
H A D | It_pid_container_002.cpp | 56 childPid = clone(ChildFun, (char *)pstk + STACK_SIZE, SIGCHLD, NULL); in ChildFunClone3() 88 int childPid = clone(ChildFunClone3, (char *)pstk + STACK_SIZE, SIGCHLD, NULL); in ChildFunClone2() 114 int childPid = clone(ChildFunClone2, NULL, CLONE_NEWPID | SIGCHLD, NULL); in ChildFunClone1() 142 int childPid = clone(ChildFunClone1, (char *)pstk + STACK_SIZE, CLONE_NEWPID | SIGCHLD, NULL); in ItPidContainer002()
|
H A D | It_pid_container_006.cpp | 49 int childPid = clone(ChildFun1, (char *)pstk + STACK_SIZE, SIGCHLD, NULL); in ChildFun() 63 childPid = clone(ChildFun1, (char *)pstk + STACK_SIZE, SIGCHLD, NULL); in ChildFun() 88 int childPid = clone(ChildFun, (char *)pstk + STACK_SIZE, CLONE_NEWPID | SIGCHLD, NULL); in ItPidContainer006()
|
H A D | It_pid_container_005.cpp | 55 int childPid = clone(ChildFunClone3, (char *)pstk + STACK_SIZE, SIGCHLD, NULL); in ChildFunClone2() 102 int childPid = clone(ChildFunClone2, (char *)pstk + STACK_SIZE, CLONE_NEWUTS | SIGCHLD, NULL); in ChildFunClone1() 130 int childPid = clone(ChildFunClone1, (char *)pstk + STACK_SIZE, SIGCHLD, NULL); in ItPidContainer005()
|
H A D | It_pid_container_004.cpp | 45 int childPid = clone(ChildFun, (char *)pstk + STACK_SIZE, CLONE_NEWPID | SIGCHLD, NULL); in ChildFunClone2() 66 int childPid = clone(ChildFunClone2, (char *)pstk + STACK_SIZE, CLONE_NEWPID | SIGCHLD, NULL); in ChildFunClone1() 96 int childPid = clone(ChildFunClone1, (char *)pstk + STACK_SIZE, CLONE_NEWPID | SIGCHLD, NULL); in ItPidContainer004()
|
H A D | It_pid_container_003.cpp | 44 int childPid = clone(ChildFun, (char *)pstk + STACK_SIZE, SIGCHLD, NULL); in ChildFunClone2() 93 int childPid = clone(ChildFunClone1, (char *)pstk + STACK_SIZE, CLONE_NEWPID | SIGCHLD, NULL); in ItPidContainer003()
|
/kernel/liteos_a/testsuites/unittest/container/smoke/ |
H A D | It_pid_container_031.cpp | 57 int childPid = clone(ChildFun1, NULL, CLONE_NEWPID | SIGCHLD, NULL); in ChildFun() 96 int childPid1 = clone(ChildFun2, NULL, SIGCHLD, NULL); in ChildFun() 107 int childPid2 = clone(ChildFun2, NULL, CLONE_NEWUTS | SIGCHLD, NULL); in ChildFun() 137 int childPid = clone(ChildFun, NULL, CLONE_NEWPID | SIGCHLD, NULL); in ItPidContainer031()
|
H A D | It_pid_container_030.cpp | 82 int childPid = clone(ChildFunClone2, (char *)pstk + STACK_SIZE, SIGCHLD, NULL); in ChildFunClone1() 90 int childPid1 = clone(ChildFunClone3, (char *)pstk + STACK_SIZE, SIGCHLD, NULL); in ChildFunClone1() 124 int childPid = clone(ChildFunClone1, (char *)pstk + STACK_SIZE, SIGCHLD, NULL); in ItPidContainer030()
|
H A D | It_pid_container_028.cpp | 55 int childPid = clone(ChildFunClone3, (char *)pstk + STACK_SIZE, SIGCHLD, NULL); in ChildFunClone2() 103 int childPid = clone(ChildFunClone2, (char *)pstk + STACK_SIZE, SIGCHLD, NULL); in ChildFunClone1() 134 int childPid = clone(ChildFunClone1, (char *)pstk + STACK_SIZE, SIGCHLD, NULL); in ItPidContainer028()
|
H A D | It_pid_container_029.cpp | 81 int childPid = clone(ChildFunClone2, (char *)pstk + STACK_SIZE, CLONE_NEWPID | SIGCHLD, NULL); in ChildFunClone1() 87 int childPid1 = clone(ChildFunClone3, (char *)pstk + STACK_SIZE, SIGCHLD, NULL); in ChildFunClone1() 118 int childPid = clone(ChildFunClone1, (char *)pstk + STACK_SIZE, SIGCHLD, NULL); in ItPidContainer029()
|
H A D | It_pid_container_027.cpp | 55 int childPid = clone(ChildFunClone3, (char *)pstk + STACK_SIZE, SIGCHLD, NULL); in ChildFunClone2() 105 int childPid = clone(ChildFunClone2, (char *)pstk + STACK_SIZE, SIGCHLD, NULL); in ChildFunClone1() 136 int childPid = clone(ChildFunClone1, (char *)pstk + STACK_SIZE, SIGCHLD, NULL); in ItPidContainer027()
|
H A D | It_container_chroot_002.cpp | 86 auto pid = clone(ChildFunc, stackTop, SIGCHLD, arg); in TestFunc() 110 auto pid = clone(TestFunc, stackTop, SIGCHLD, &arg); in ItContainerChroot002()
|
H A D | It_net_container_004.cpp | 59 auto childPid = clone(NewnetChildFun, stackTop, SIGCHLD | CLONE_NEWNET, &arg); in ChildFun() 113 auto childPid = clone(ChildFun, stackTop, SIGCHLD | CLONE_NEWNET, &arg); in ItNetContainer004()
|
/kernel/linux/linux-5.10/arch/alpha/kernel/ |
H A D | asm-offsets.c | 39 DEFINE(SIGCHLD, SIGCHLD); in foo()
|
/kernel/linux/linux-5.10/arch/mips/include/uapi/asm/ |
H A D | signal.h | 43 #define SIGCHLD 18 /* Child status has changed (POSIX). */ macro 44 #define SIGCLD SIGCHLD /* Same as SIGCHLD (System V). */ 69 * SA_NOCLDSTOP flag to turn off SIGCHLD when children stop. 71 * SA_NOCLDWAIT flag on SIGCHLD to inhibit zombies.
|
/kernel/linux/linux-6.6/arch/mips/include/uapi/asm/ |
H A D | signal.h | 43 #define SIGCHLD 18 /* Child status has changed (POSIX). */ macro 44 #define SIGCLD SIGCHLD /* Same as SIGCHLD (System V). */
|
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/asm-mips/asm/ |
H A D | signal.h | 47 #define SIGCHLD 18 macro 48 #define SIGCLD SIGCHLD
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/asm-mips/asm/ |
H A D | signal.h | 47 #define SIGCHLD 18 macro 48 #define SIGCLD SIGCHLD
|
/kernel/linux/linux-6.6/arch/alpha/kernel/ |
H A D | asm-offsets.c | 41 DEFINE(SIGCHLD, SIGCHLD); in foo()
|
/kernel/linux/linux-5.10/kernel/ |
H A D | umh.c | 132 kernel_sigaction(SIGCHLD, SIG_DFL); in call_usermodehelper_exec_sync() 133 pid = kernel_thread(call_usermodehelper_exec_async, sub_info, SIGCHLD); in call_usermodehelper_exec_sync() 140 kernel_sigaction(SIGCHLD, SIG_IGN); in call_usermodehelper_exec_sync() 170 * that always ignores SIGCHLD to ensure auto-reaping. in call_usermodehelper_exec_work() 173 CLONE_PARENT | SIGCHLD); in call_usermodehelper_exec_work()
|
/kernel/linux/linux-6.6/kernel/ |
H A D | umh.c | 132 kernel_sigaction(SIGCHLD, SIG_DFL); in call_usermodehelper_exec_sync() 133 pid = user_mode_thread(call_usermodehelper_exec_async, sub_info, SIGCHLD); in call_usermodehelper_exec_sync() 140 kernel_sigaction(SIGCHLD, SIG_IGN); in call_usermodehelper_exec_sync() 170 * that always ignores SIGCHLD to ensure auto-reaping. in call_usermodehelper_exec_work() 173 CLONE_PARENT | SIGCHLD); in call_usermodehelper_exec_work()
|