Searched refs:sigaction (Results 51 - 75 of 157) sorted by relevance

1234567

/linux-master/tools/testing/selftests/net/netfilter/
H A Dconnect_close.c31 struct sigaction action = {
35 sigaction(SIGALRM, &action, NULL);
H A Daudit_logread.c143 struct sigaction act = {
153 if (sigaction(SIGTERM, &act, NULL) < 0 ||
154 sigaction(SIGINT, &act, NULL) < 0) {
/linux-master/tools/testing/selftests/powerpc/dexcr/
H A Ddexcr.c23 struct sigaction old;
92 struct sigaction old;
/linux-master/tools/testing/selftests/perf_events/
H A Dremove_on_exec.c71 struct sigaction oldact;
78 struct sigaction action = {};
86 ASSERT_EQ(sigaction(SIGTRAP, &action, &self->oldact), 0);
96 sigaction(SIGTRAP, &self->oldact, NULL);
231 struct sigaction action = {};
238 if (sigaction(SIGTRAP, &action, NULL))
239 _exit((perror("sigaction failed"), 1));
/linux-master/tools/testing/selftests/x86/
H A Dtest_shadow_stack.c221 struct sigaction sa = {};
225 if (sigaction(SIGSEGV, &sa, NULL))
317 struct sigaction sa = {};
323 if (sigaction(SIGSEGV, &sa, NULL))
400 struct sigaction sa = {};
404 if (sigaction(SIGSEGV, &sa, NULL))
485 struct sigaction sa = {};
492 if (sigaction(SIGSEGV, &sa, NULL))
664 int sigaction32(int signum, const struct sigaction *restrict act,
665 struct sigaction *restric
[all...]
H A Dsyscall_arg_fault.c23 struct sigaction sa;
28 if (sigaction(sig, &sa, 0))
29 err(1, "sigaction");
H A Dentry_from_vm86.c33 struct sigaction sa;
38 if (sigaction(sig, &sa, 0))
39 err(1, "sigaction");
44 struct sigaction sa;
48 if (sigaction(sig, &sa, 0))
49 err(1, "sigaction");
/linux-master/tools/testing/selftests/powerpc/mm/
H A Dpkey_exec_prot.c104 struct sigaction segv_act, trap_act;
118 FAIL_IF(sigaction(SIGSEGV, &segv_act, NULL) != 0);
126 FAIL_IF(sigaction(SIGTRAP, &trap_act, NULL) != 0);
H A Dexec_prot.c110 struct sigaction segv_act, trap_act;
125 FAIL_IF(sigaction(SIGSEGV, &segv_act, NULL) != 0);
133 FAIL_IF(sigaction(SIGTRAP, &trap_act, NULL) != 0);
/linux-master/tools/testing/selftests/powerpc/include/
H A Dutils.h115 struct sigaction push_signal_handler(int sig, void (*fn)(int, siginfo_t *, void *));
116 struct sigaction pop_signal_handler(int sig, struct sigaction old_handler);
/linux-master/tools/testing/selftests/sigaltstack/
H A Dsas.c108 struct sigaction act;
122 sigaction(SIGUSR1, &act, NULL);
124 sigaction(SIGUSR2, &act, NULL);
/linux-master/tools/testing/selftests/powerpc/copyloops/
H A Dexc_validate.c46 struct sigaction action;
51 sigaction(SIGSEGV, &action, NULL);
/linux-master/tools/testing/selftests/powerpc/signal/
H A Dsigreturn_vdso.c75 struct sigaction act;
82 assert(sigaction(SIGUSR1, &act, NULL) == 0);
/linux-master/tools/testing/selftests/syscall_user_dispatch/
H A Dsud_benchmark.c138 struct sigaction act;
155 ret = sigaction(SIGSYS, &act, NULL);
157 perror("Error sigaction:");
/linux-master/tools/testing/selftests/powerpc/tm/
H A Dtm-signal-context-chk-vsx.c150 struct sigaction act;
161 if (sigaction(SIGUSR1, &act, NULL) < 0) {
162 perror("sigaction sigusr1");
H A Dtm-signal-context-chk-vmx.c101 struct sigaction act;
112 if (sigaction(SIGUSR1, &act, NULL) < 0) {
113 perror("sigaction sigusr1");
/linux-master/arch/sparc/include/uapi/asm/
H A Dsignal.h95 #define __new_sigaction sigaction
104 #define __old_sigaction sigaction
132 * the sigaction structure as a stack pointer. This is now possible due to
/linux-master/tools/testing/selftests/powerpc/math/
H A Dvmx_signal.c76 struct sigaction act;
79 rc = sigaction(SIGUSR1, &act, NULL);
/linux-master/tools/testing/selftests/powerpc/
H A Dutils.c622 struct sigaction push_signal_handler(int sig, void (*fn)(int, siginfo_t *, void *))
624 struct sigaction sa;
625 struct sigaction old_handler;
630 FAIL_IF_EXIT_MSG(sigaction(sig, &sa, &old_handler),
636 struct sigaction pop_signal_handler(int sig, struct sigaction old_handler)
638 struct sigaction popped;
640 FAIL_IF_EXIT_MSG(sigaction(sig, &old_handler, &popped),
/linux-master/tools/testing/selftests/timers/
H A Dalarmtimer-suspend.c124 struct sigaction act;
131 sigaction(signum, &act, NULL);
/linux-master/arch/mips/include/uapi/asm/
H A Dsignal.h93 struct sigaction { struct
/linux-master/arch/s390/include/uapi/asm/
H A Dsignal.h78 * There are two system calls in regard to sigaction, sys_rt_sigaction
81 * struct sigaction for the newer sys_rt_sigaction.
83 * The uapi definition for struct sigaction has made a strange distinction
85 * looks like the kernel struct sigaction, but for 31-bit it used to
88 * the glibc always had its own definitions for the sigaction structures.
90 * The current struct sigaction uapi definition below is suitable for the
93 struct sigaction { struct
/linux-master/arch/alpha/include/uapi/asm/
H A Dsignal.h86 struct sigaction { struct
/linux-master/arch/xtensa/include/uapi/asm/
H A Dsignal.h88 struct sigaction { struct
/linux-master/arch/arm/include/uapi/asm/
H A Dsignal.h78 struct sigaction { struct

Completed in 314 milliseconds

1234567