Searched refs:sigaction (Results 76 - 100 of 248) sorted by relevance

12345678910

/freebsd-10-stable/bin/sh/
H A Dtrap.c259 struct sigaction sa;
332 sigaction(signo, &sa, NULL);
342 struct sigaction sa;
344 if (sigaction(signo, (struct sigaction *)0, &sa) == -1)
/freebsd-10-stable/lib/libc/include/
H A Dlibc_private.h312 struct sigaction;
362 int __sys_sigaction(int, const struct sigaction *,
363 struct sigaction *);
381 int __libc_sigaction(int, const struct sigaction *,
382 struct sigaction *) __hidden;
/freebsd-10-stable/contrib/sendmail/libsm/
H A Dsignal.c44 struct sigaction n, o;
61 if (sigaction(sig, &n, &o) < 0)
86 if (sigaction(sig, &n, &o) < 0)
/freebsd-10-stable/contrib/texinfo/info/
H A Dsignals.c92 typedef struct sigaction signal_info;
98 sigaction (sig, &info_signal_handler, old);
104 sigaction (sig, saved, NULL);
/freebsd-10-stable/crypto/heimdal/lib/roken/
H A Dtest-mem.c59 struct sigaction sa, osa;
167 sigaction (SIGSEGV, &sa, &osa);
208 sigaction (SIGSEGV, &osa, NULL);
/freebsd-10-stable/usr.bin/cmp/
H A Dregular.c67 struct sigaction act, oact;
82 if (sigaction(SIGSEGV, &act, &oact))
83 err(ERR_EXIT, "sigaction()");
145 if (sigaction(SIGSEGV, &oact, NULL))
146 err(ERR_EXIT, "sigaction()");
/freebsd-10-stable/tools/regression/sysvshm/
H A Dshmtest.c69 struct sigaction sa;
84 if (sigaction(SIGSYS, &sa, NULL) == -1)
85 err(1, "sigaction SIGSYS");
94 if (sigaction(SIGCHLD, &sa, NULL) == -1)
95 err(1, "sigaction SIGCHLD");
/freebsd-10-stable/lib/libthr/thread/
H A Dthr_sig.c53 struct sigaction sigact;
67 static void handle_signal(struct sigaction *, int, siginfo_t *, ucontext_t *);
158 struct sigaction act;
180 memcpy(&curthread->deferred_sigact, &act, sizeof(struct sigaction));
192 handle_signal(struct sigaction *actp, int sig, siginfo_t *info, ucontext_t *ucp)
325 struct sigaction act;
403 struct sigaction act, nact, oact;
448 struct sigaction *actp;
450 struct sigaction kact;
517 __thr_sigaction(int sig, const struct sigaction *ac
[all...]
/freebsd-10-stable/crypto/heimdal/lib/asn1/
H A Dcheck-common.c213 struct sigaction sa, osa;
232 sigaction (SIGSEGV, &sa, &osa);
338 sigaction (SIGSEGV, &osa, NULL);
366 struct sigaction sa, osa;
385 sigaction (SIGSEGV, &sa, &osa);
417 sigaction (SIGSEGV, &osa, NULL);
/freebsd-10-stable/tests/sys/mqueue/
H A Dmqtest5.c33 struct sigaction sa;
49 sigaction(SIGRTMIN, &sa, NULL);
/freebsd-10-stable/contrib/netbsd-tests/fs/fifofs/
H A Dt_fifo.c99 struct sigaction action;
107 if (sigaction(SIGCHLD, &action, NULL) == -1)
108 err(1, "sigaction");
/freebsd-10-stable/contrib/tcsh/
H A Dtw.help.c136 struct sigaction osa, sa;
144 (void)sigaction(SIGINT, &sa, &osa);
/freebsd-10-stable/contrib/netbsd-tests/lib/libc/setjmp/
H A Dt_threadjmp.c104 struct sigaction sa;
123 REQUIRE_ERRNO(sigaction(SIGABRT, &sa, NULL) != -1);
H A Dt_setjmp.c99 struct sigaction sa;
117 REQUIRE_ERRNO(sigaction(SIGABRT, &sa, NULL) != -1);
/freebsd-10-stable/contrib/libreadline/
H A Dsignals.c69 typedef struct sigaction sighandler_cxt;
70 # define rl_sigaction(s, nh, oh) sigaction(s, nh, oh)
252 struct sigaction act;
258 sigaction (sig, &act, &old_handler);
/freebsd-10-stable/contrib/llvm/lib/Support/
H A DCrashRecoveryContext.cpp236 static struct sigaction PrevActions[NumSignals];
279 struct sigaction Handler;
285 sigaction(Signals[i], &Handler, &PrevActions[i]);
299 sigaction(Signals[i], &PrevActions[i], 0);
/freebsd-10-stable/contrib/nvi/cl/
H A Dcl.h50 struct sigaction oact[INDX_MAX];
/freebsd-10-stable/usr.sbin/bluetooth/hcseriald/
H A Dhcseriald.c66 struct sigaction sa;
125 if (sigaction(SIGTERM, &sa, NULL) < 0) {
126 syslog(LOG_ERR, "Could not sigaction(SIGTERM). %s (%d)",
131 if (sigaction(SIGHUP, &sa, NULL) < 0) {
132 syslog(LOG_ERR, "Could not sigaction(SIGHUP). %s (%d)",
137 if (sigaction(SIGINT, &sa, NULL) < 0) {
138 syslog(LOG_ERR, "Could not sigaction(SIGINT). %s (%d)",
/freebsd-10-stable/lib/libc/stdlib/
H A Dsystem.c63 struct sigaction ign, intact, quitact;
/freebsd-10-stable/contrib/netbsd-tests/lib/libc/gen/
H A Dt_fpsetmask.c222 struct sigaction sa;
234 sigaction(SIGFPE, &sa, 0);
259 struct sigaction sa;
271 sigaction(SIGFPE, &sa, 0);
/freebsd-10-stable/usr.bin/bluetooth/rfcomm_sppd/
H A Drfcomm_sppd.c75 struct sigaction sa;
161 if (sigaction(SIGTERM, &sa, NULL) < 0)
162 err(1, "Could not sigaction(SIGTERM)");
164 if (sigaction(SIGHUP, &sa, NULL) < 0)
165 err(1, "Could not sigaction(SIGHUP)");
167 if (sigaction(SIGINT, &sa, NULL) < 0)
168 err(1, "Could not sigaction(SIGINT)");
173 if (sigaction(SIGCHLD, &sa, NULL) < 0)
174 err(1, "Could not sigaction(SIGCHLD)");
/freebsd-10-stable/contrib/ntp/util/
H A Dntptime.c68 static struct sigaction newsigsys; /* new sigaction status */
69 static struct sigaction sigsys; /* current sigaction status */
212 * Test to make sure the sigaction() works in case of invalid
217 if (sigaction(SIGSYS, &newsigsys, &sigsys)) {
218 perror("sigaction() fails to save SIGSYS trap");
238 printf("sigaction() failed to catch an invalid syscall\n");
382 if (sigaction(SIGSYS, &sigsys, (struct sigaction *)NUL
[all...]
/freebsd-10-stable/contrib/ntp/libntp/
H A Dmachines.c200 * Note that this solution assumes that sigaction(SIGALRM) is called before
202 * sigaction(SIGALRM) after calling setitimer(), it will be necessary to trap
203 * those sigaction() calls.
219 struct sigaction oldact; /* SIGALRM state saved by setitimer */
247 sigaction(SIGALRM, &setitimer_mpe_ctx.oldact, NULL);
270 struct sigaction newact;
302 if (sigaction(SIGALRM, NULL, &setitimer_mpe_ctx.oldact) < 0) {
313 if (sigaction(SIGALRM, &newact, NULL) < 0) {
/freebsd-10-stable/contrib/openbsm/bin/auditd/
H A Dauditd.c418 struct sigaction action;
431 if (sigaction(SIGTERM, &action, NULL) != 0) {
436 if (sigaction(SIGCHLD, &action, NULL) != 0) {
441 if (sigaction(SIGHUP, &action, NULL) != 0) {
446 if (sigaction(SIGALRM, &action, NULL) != 0) {
/freebsd-10-stable/contrib/netbsd-tests/kernel/
H A Dt_sysv.c203 struct sigaction sa;
219 ATF_REQUIRE_MSG(sigaction(SIGSYS, &sa, NULL) != -1,
220 "sigaction SIGSYS: %d", errno);
231 ATF_REQUIRE_MSG(sigaction(SIGCHLD, &sa, NULL) != -1,
232 "sigaction SIGCHLD: %d", errno);
442 struct sigaction sa;
458 ATF_REQUIRE_MSG(sigaction(SIGSYS, &sa, NULL) != -1,
459 "sigaction SIGSYS: %d", errno);
470 ATF_REQUIRE_MSG(sigaction(SIGCHLD, &sa, NULL) != -1,
471 "sigaction SIGCHL
[all...]

Completed in 264 milliseconds

12345678910