Searched refs:SIGSTOP (Results 26 - 50 of 55) sorted by relevance

123

/linux-master/tools/testing/selftests/powerpc/ptrace/
H A Dptrace-syscall.c70 * 3) tgkill() -> Send SIGSTOP
80 syscall(SYS_tgkill, pid, tid, SIGSTOP);
87 /* Wait for SIGSTOP sent by tgkill above. */
H A Dptrace-perf-hwbreak.c201 FAIL_IF_EXIT_MSG(raise(SIGSTOP), "Child failed to raise SIGSTOP");
203 /* Synchronise on child SIGSTOP */
/linux-master/tools/testing/selftests/mm/
H A Dprotection_keys.c1568 raise(SIGSTOP);
1578 raise(SIGSTOP);
1584 raise(SIGSTOP);
1591 pkey_assert(WIFSTOPPED(status) && WSTOPSIG(status) == SIGSTOP);
1623 pkey_assert(WIFSTOPPED(status) && WSTOPSIG(status) == SIGSTOP);
1650 pkey_assert(WIFSTOPPED(status) && WSTOPSIG(status) == SIGSTOP);
/linux-master/tools/testing/selftests/x86/
H A Dptrace_syscall.c189 syscall(SYS_tgkill, pid, tid, SIGSTOP);
197 /* Wait for SIGSTOP. */
310 syscall(SYS_tgkill, pid, tid, SIGSTOP);
318 /* Wait for SIGSTOP. */
H A Dtest_syscall_vdso.c352 raise(SIGSTOP);
H A Dsyscall_numbering.c343 raise(SIGSTOP);
/linux-master/include/linux/
H A Dsignal.h348 * SIGKILL and SIGSTOP cannot be caught, blocked, or ignored.
372 * | SIGSTOP | stop(*)(+) |
393 * (+) For SIGKILL and SIGSTOP the action is "always", not just "default".
400 * catching, or ignored the stop signal, though (except for SIGSTOP) the
420 rt_sigmask(SIGKILL) | rt_sigmask(SIGSTOP))
423 rt_sigmask(SIGSTOP) | rt_sigmask(SIGTSTP) | \
H A Dptrace.h215 sigaddset(&child->pending.signal, SIGSTOP);
/linux-master/arch/um/os-Linux/skas/
H A Dprocess.c250 kill(os_getpid(), SIGSTOP); local
309 if (!WIFSTOPPED(status) || (WSTOPSIG(status) != SIGSTOP)) {
311 printk(UM_KERN_ERR "%s : expected SIGSTOP, got status = %d\n",
/linux-master/arch/um/os-Linux/
H A Dprocess.c100 kill(pid, SIGSTOP);
/linux-master/kernel/
H A Dcompat.c52 new_set &= ~(sigmask(SIGKILL) | sigmask(SIGSTOP));
H A Dptrace.c384 send_signal_locked(SIGSTOP, SEND_SIG_PRIV, task, PIDTYPE_PID);
1089 sigdelsetmask(&new_set, sigmask(SIGKILL)|sigmask(SIGSTOP));
H A Dsignal.c88 /* SIGKILL and SIGSTOP may not be sent to the global init */
1218 /* Should SIGKILL or SIGSTOP be received by a pid namespace init? */
1228 /* SIGKILL and SIGSTOP is special or has ids */
2413 * do_signal_stop - handle group stop for SIGSTOP and other stop signals
2844 * do nothing in an orphaned pgrp, but SIGSTOP
2851 if (signr != SIGSTOP) {
3084 sigdelsetmask(newset, sigmask(SIGKILL) | sigmask(SIGSTOP));
3210 sigdelsetmask(&new_set, sigmask(SIGKILL)|sigmask(SIGSTOP));
3240 sigdelsetmask(&new_set, sigmask(SIGKILL)|sigmask(SIGSTOP));
3641 sigdelsetmask(&mask, sigmask(SIGKILL) | sigmask(SIGSTOP));
[all...]
/linux-master/tools/testing/selftests/landlock/
H A Dptrace_test.c373 ASSERT_EQ(0, raise(SIGSTOP));
/linux-master/tools/testing/selftests/arm64/fp/
H A Dsve-ptrace.c87 if (raise(SIGSTOP))
88 ksft_exit_fail_msg("raise(SIGSTOP)", strerror(errno));
665 if (sig == SIGSTOP && si.si_code == SI_TKILL &&
/linux-master/fs/
H A Dsignalfd.c264 sigdelsetmask(mask, sigmask(SIGKILL) | sigmask(SIGSTOP));
/linux-master/arch/nios2/kernel/
H A Dsignal.c23 #define _BLOCKABLE (~(sigmask(SIGKILL) | sigmask(SIGSTOP)))
/linux-master/tools/testing/selftests/pidfd/
H A Dpidfd_test.c270 ret = kill(recycled_pid, SIGSTOP);
/linux-master/tools/testing/selftests/cgroup/
H A Dtest_freezer.c682 if (kill(pid, SIGSTOP))
H A Dtest_core.c212 if (raise(SIGSTOP))
/linux-master/arch/loongarch/kernel/
H A Dasm-offsets.c248 DEFINE(_SIGSTOP, SIGSTOP);
/linux-master/arch/alpha/kernel/
H A Dsignal.c36 #define _BLOCKABLE (~(sigmask(SIGKILL) | sigmask(SIGSTOP)))
/linux-master/arch/mips/kernel/
H A Dasm-offsets.c284 DEFINE(_SIGSTOP, SIGSTOP);
/linux-master/fs/coda/
H A Dupcall.c623 sigdelset(&current->blocked, SIGSTOP);
/linux-master/tools/testing/selftests/seccomp/
H A Dseccomp_bpf.c3054 EXPECT_EQ(0, raise(SIGSTOP));
3122 /* Interrupt nanosleep with SIGSTOP (which we'll need to handle). */
3123 ASSERT_EQ(0, kill(child_pid, SIGSTOP));
3127 ASSERT_EQ(SIGSTOP, WSTOPSIG(status));
3130 * There is no siginfo on SIGSTOP any more, so we can't verify
3133 * At least verify the SIGSTOP via PTRACE_GETSIGINFO.
3135 EXPECT_EQ(SIGSTOP, info.si_signo);

Completed in 253 milliseconds

123