/netbsd-current/external/gpl3/gdb.old/dist/gdb/testsuite/gdb.base/ |
H A D | signest.c | 44 struct sigaction act; local 45 memset (&act, 0, sizeof act); 46 act.sa_handler = keeper; 47 act.sa_flags = SA_NODEFER; 48 sigaction (SIGSEGV, &act, NULL); 49 sigaction (SIGBUS, &act, NULL);
|
H A D | sigbpt.c | 44 struct sigaction act; local 45 memset (&act, 0, sizeof act); 46 act.sa_handler = keeper; 47 sigaction (SIGSEGV, &act, NULL); 48 sigaction (SIGBUS, &act, NULL);
|
H A D | signull.c | 76 struct sigaction act; local 77 memset (&act, 0, sizeof act); 78 act.sa_handler = keeper; 79 sigaction (SIGSEGV, &act, NULL); 80 sigaction (SIGBUS, &act, NULL);
|
/netbsd-current/external/gpl3/gdb/dist/gdb/testsuite/gdb.base/ |
H A D | signest.c | 44 struct sigaction act; local 45 memset (&act, 0, sizeof act); 46 act.sa_handler = keeper; 47 act.sa_flags = SA_NODEFER; 48 sigaction (SIGSEGV, &act, NULL); 49 sigaction (SIGBUS, &act, NULL);
|
H A D | sigbpt.c | 44 struct sigaction act; local 45 memset (&act, 0, sizeof act); 46 act.sa_handler = keeper; 47 sigaction (SIGSEGV, &act, NULL); 48 sigaction (SIGBUS, &act, NULL);
|
H A D | signull.c | 76 struct sigaction act; local 77 memset (&act, 0, sizeof act); 78 act.sa_handler = keeper; 79 sigaction (SIGSEGV, &act, NULL); 80 sigaction (SIGBUS, &act, NULL);
|
/netbsd-current/external/gpl2/lvm2/dist/include/ |
H A D | lvm-wrappers.h | 32 struct sigaction act; \ 33 (void) sigaction(sig, NULL, &act); \ 35 act.sa_flags &= SA_RESTART; \ 37 act.sa_flags |= SA_RESTART; \ 38 ret = sigaction(sig, &act, NULL); \
|
/netbsd-current/external/gpl2/lvm2/dist/lib/misc/ |
H A D | lvm-wrappers.h | 32 struct sigaction act; \ 33 (void) sigaction(sig, NULL, &act); \ 35 act.sa_flags &= SA_RESTART; \ 37 act.sa_flags |= SA_RESTART; \ 38 ret = sigaction(sig, &act, NULL); \
|
/netbsd-current/external/gpl3/gdb.old/dist/gdb/testsuite/gdb.trace/ |
H A D | signal.c | 50 struct sigaction act; local 53 memset (&act, 0, sizeof act); 54 act.sa_handler = handler; 55 act.sa_flags = SA_NODEFER; 56 sigaction (SIGABRT, &act, NULL);
|
/netbsd-current/external/gpl3/gdb/dist/gdb/testsuite/gdb.trace/ |
H A D | signal.c | 50 struct sigaction act; local 53 memset (&act, 0, sizeof act); 54 act.sa_handler = handler; 55 act.sa_flags = SA_NODEFER; 56 sigaction (SIGABRT, &act, NULL);
|
/netbsd-current/tests/lib/libpthread/ |
H A D | t_sigmask.c | 109 struct sigaction act; local 111 act.sa_sigaction = upcalls_not_started_handler1; 112 sigemptyset(&act.sa_mask); 113 sigaddset(&act.sa_mask, SIGUSR2); 114 act.sa_flags = SA_SIGINFO; 116 ATF_REQUIRE_EQ(sigaction(SIGUSR1, &act, NULL), 0); 118 act.sa_sigaction = upcalls_not_started_handler2; 119 sigemptyset(&act.sa_mask); 120 act.sa_flags = SA_SIGINFO; 121 (void)sigaction(SIGUSR2, &act, NUL 179 struct sigaction act; local 224 struct sigaction act; local [all...] |
/netbsd-current/external/gpl3/gdb.old/dist/gdb/testsuite/gdb.threads/ |
H A D | attach-into-signal.c | 34 struct sigaction act; local 36 memset (&act, 0, sizeof(struct sigaction)); 37 act.sa_sigaction = action; 38 act.sa_flags = SA_RESTART; 39 sigaction (SIGALRM, &act, 0);
|
H A D | watchpoint-fork-child.c | 44 struct sigaction act, oldact; local 49 memset (&act, 0, sizeof act); 50 act.sa_flags = SA_RESTART; 51 act.sa_handler = handler_usr1; 52 sigemptyset (&act.sa_mask); 53 i = sigaction (SIGUSR1, &act, &oldact);
|
/netbsd-current/external/gpl3/gdb/dist/gdb/testsuite/gdb.threads/ |
H A D | attach-into-signal.c | 34 struct sigaction act; local 36 memset (&act, 0, sizeof(struct sigaction)); 37 act.sa_sigaction = action; 38 act.sa_flags = SA_RESTART; 39 sigaction (SIGALRM, &act, 0);
|
H A D | watchpoint-fork-child.c | 44 struct sigaction act, oldact; local 49 memset (&act, 0, sizeof act); 50 act.sa_flags = SA_RESTART; 51 act.sa_handler = handler_usr1; 52 sigemptyset (&act.sa_mask); 53 i = sigaction (SIGUSR1, &act, &oldact);
|
/netbsd-current/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/ |
H A D | sanitizer_signal_interceptors.inc | 32 # define SIGNAL_INTERCEPTOR_SIGACTION_IMPL(signum, act, oldact) \ 40 return REAL(sigaction_symname)(signum, act, oldact); \ 63 const __sanitizer_sigaction *act, __sanitizer_sigaction *oldact) { 66 act = nullptr; 68 SIGNAL_INTERCEPTOR_SIGACTION_IMPL(signum, act, oldact); 73 int real_sigaction(int signum, const void *act, void *oldact) { 74 return REAL(sigaction_symname)(signum, (const __sanitizer_sigaction *)act, 85 DEFINE_REAL(int, sigaction, int signum, const __sanitizer_sigaction *act,
|
/netbsd-current/sys/arch/cesfic/cesfic/ |
H A D | sic6351.c | 56 act2icr(int act) argument 58 if (act == 17) 60 if (act == 19) 62 if (act == 25) 64 if (act == 39) 66 panic("sic: unknown act %d", act);
|
/netbsd-current/lib/libc/gen/ |
H A D | signal.c | 72 struct sigaction act, oact; local 74 act.sa_handler = func; 75 act.sa_flags = SA_RESTART; 77 sigemptyset(&act.sa_mask); 78 sigaddset(&act.sa_mask, sig); 79 if (sigaction(sig, &act, &oact) < 0)
|
/netbsd-current/lib/libc/compat/sys/ |
H A D | compat___sigaction14_sigtramp.c | 51 __libc_sigaction14(int sig, const struct sigaction *act, struct sigaction *oact) 58 if (act == NULL) 59 return __sigaction_sigtramp(sig, act, oact, NULL, 0); 66 if ((act->sa_flags & SA_SIGINFO) == 0) { 68 int rv = __sigaction_sigtramp(sig, act, oact, 80 return __sigaction_sigtramp(sig, act, oact,
|
/netbsd-current/external/bsd/ntp/dist/tests/libntp/ |
H A D | vi64ops.c | 42 vint64 act, exp; local 49 act = strtouv64(sp, &ep, 0); 51 TEST_ASSERT_TRUE(IsEqual(exp, act)); 58 vint64 act, exp; local 65 act = strtouv64(sp, &ep, 0); 66 TEST_ASSERT_TRUE(IsEqual(exp, act)); 72 vint64 act, exp; local 79 act = strtouv64(sp, &ep, 16); 80 TEST_ASSERT_TRUE(IsEqual(exp, act));
|
/netbsd-current/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/ |
H A D | sanitizer_signal_interceptors.inc | 34 #define SIGNAL_INTERCEPTOR_SIGACTION_IMPL(signum, act, oldact) \ 35 { return REAL(sigaction_symname)(signum, act, oldact); } 57 const __sanitizer_sigaction *act, __sanitizer_sigaction *oldact) { 59 SIGNAL_INTERCEPTOR_SIGACTION_IMPL(signum, act, oldact); 64 int real_sigaction(int signum, const void *act, void *oldact) { 65 return REAL(sigaction_symname)(signum, (const __sanitizer_sigaction *)act, 76 DEFINE_REAL(int, sigaction, int signum, const __sanitizer_sigaction *act,
|
/netbsd-current/external/gpl3/gcc.old/dist/libsanitizer/sanitizer_common/ |
H A D | sanitizer_signal_interceptors.inc | 31 #define SIGNAL_INTERCEPTOR_SIGACTION_IMPL(signum, act, oldact) \ 32 { return REAL(sigaction_symname)(signum, act, oldact); } 54 const __sanitizer_sigaction *act, __sanitizer_sigaction *oldact) { 56 SIGNAL_INTERCEPTOR_SIGACTION_IMPL(signum, act, oldact); 61 int real_sigaction(int signum, const void *act, void *oldact) { 62 return REAL(sigaction_symname)(signum, (const __sanitizer_sigaction *)act, 73 DEFINE_REAL(int, sigaction, int signum, const __sanitizer_sigaction *act,
|
/netbsd-current/external/gpl3/gdb.old/dist/gold/testsuite/ |
H A D | copy_test_relro.cc | 55 struct sigaction act; local 56 act.sa_handler = segv; 57 sigemptyset(&act.sa_mask); 58 act.sa_flags = 0; 59 sigaction(SIGSEGV, &act, 0);
|
/netbsd-current/lib/libutil/ |
H A D | raise_default_signal.c | 66 struct sigaction origact, act; local 74 (void)memset(&act, 0, sizeof(act)); 75 act.sa_handler = SIG_DFL; 76 act.sa_flags = 0; 77 if ((sigemptyset(&act.sa_mask) == -1) || 89 if (sigaction(sig, &act, &origact) == -1)
|
/netbsd-current/lib/libc/sys/ |
H A D | __sigaction_siginfo.c | 56 __sigaction_siginfo(int sig, const struct sigaction *act, argument 60 return __sigaction_sigtramp(sig, act, oact,
|