Searched refs:sigaction (Results 201 - 225 of 248) sorted by relevance

12345678910

/freebsd-10-stable/libexec/bootpd/
H A Dbootpd.c196 #ifdef SA_NOCLDSTOP /* Have POSIX sigaction(2). */
197 struct sigaction sa;
484 #ifdef SA_NOCLDSTOP /* Have POSIX sigaction(2). */
488 if (sigaction(SIGHUP, &sa, NULL) < 0) {
489 report(LOG_ERR, "sigaction: %s", get_errmsg());
492 if (sigaction(SIGUSR1, &sa, NULL) < 0) {
493 report(LOG_ERR, "sigaction: %s", get_errmsg());
610 /* For older "System V" derivatives with no sigaction(). */
/freebsd-10-stable/usr.sbin/faithd/
H A Dfaithd.c728 struct sigaction sa;
739 sigaction(SIGCHLD, &sa, (struct sigaction *)0);
/freebsd-10-stable/contrib/ntp/parseutil/
H A Ddcfd.c1586 struct sigaction act;
1595 if (sigaction(SIGALRM, &act, (struct sigaction *)0) == -1)
1597 syslog(LOG_ERR, "sigaction(SIGALRM): %m");
/freebsd-10-stable/sys/compat/linux/
H A Dlinux_signal.c64 linux_to_bsd_sigaction(l_sigaction_t *lsa, struct sigaction *bsa)
87 bsd_to_linux_sigaction(struct sigaction *bsa, l_sigaction_t *lsa)
118 struct sigaction act, oact, *nsa, *osa;
/freebsd-10-stable/usr.bin/fetch/
H A Dfetch.c868 struct sigaction sa;
1085 sigaction(SIGALRM, &sa, NULL);
1087 sigaction(SIGINT, &sa, NULL);
/freebsd-10-stable/usr.sbin/ctld/
H A Dctld.c2204 struct sigaction sa;
2225 error = sigaction(SIGALRM, &sa, NULL);
2227 log_err(1, "sigaction");
2466 struct sigaction sa;
2472 error = sigaction(SIGHUP, &sa, NULL);
2474 log_err(1, "sigaction");
2477 error = sigaction(SIGTERM, &sa, NULL);
2479 log_err(1, "sigaction");
2482 error = sigaction(SIGINT, &sa, NULL);
2484 log_err(1, "sigaction");
[all...]
/freebsd-10-stable/contrib/gcc/
H A Dsys-protos.h1014 extern int sigaction(int, const struct sigaction *, struct sigaction *);
/freebsd-10-stable/sbin/ping6/
H A Dping6.c293 struct sigaction si_sa;
1063 if (sigaction(SIGINT, &si_sa, 0) == -1)
1064 err(EX_OSERR, "sigaction SIGINT");
1067 if (sigaction(SIGINFO, &si_sa, 0) == -1)
1068 err(EX_OSERR, "sigaction SIGINFO");
1072 if (sigaction(SIGALRM, &si_sa, 0) == -1)
1073 err(EX_OSERR, "sigaction SIGALRM");
1199 sigaction(SIGINT, &si_sa, 0);
1200 sigaction(SIGALRM, &si_sa, 0);
/freebsd-10-stable/tools/regression/sockets/unix_cmsg/
H A Dunix_cmsg.c371 struct sigaction sigact;
380 if (sigaction(SIGPIPE, &sigact, (struct sigaction *)NULL) < 0) {
381 logmsg("init: sigaction");
/freebsd-10-stable/bin/sh/
H A Djobs.c1038 struct sigaction sa, osa;
1064 sigaction(SIGCHLD, &sa, &osa);
1094 sigaction(SIGCHLD, &osa, NULL);
/freebsd-10-stable/sys/sys/
H A Dsysproto.h1246 char act_l_[PADL_(const struct sigaction *)]; const struct sigaction * act; char act_r_[PADR_(const struct sigaction *)];
1247 char oact_l_[PADL_(struct sigaction *)]; struct sigaction * oact; char oact_r_[PADR_(struct sigaction *)];
2447 char act_l_[PADL_(const struct sigaction *)]; const struct sigaction * act; char act_r_[PADR_(const struct sigaction *)];
2448 char oact_l_[PADL_(struct sigaction *)]; struc
[all...]
/freebsd-10-stable/lib/libthr/thread/
H A Dthr_syscalls.c650 SLOT(sigaction);
/freebsd-10-stable/lib/libkse/test/
H A Dmutex_d.c1439 struct sigaction act;
1457 sigaction (SIGINT, &act, NULL);
/freebsd-10-stable/cddl/contrib/opensolaris/lib/libdtrace/common/
H A Ddt_options.c91 struct sigaction act;
100 (void) sigaction(SIGABRT, &act, NULL);
H A Ddt_cc.c1896 struct sigaction act, oact;
1975 (void) sigaction(SIGCHLD, &act, &oact);
1978 (void) sigaction(SIGCHLD, &oact, NULL);
2000 (void) sigaction(SIGCHLD, &oact, NULL);
/freebsd-10-stable/tests/sys/file/
H A Dflock_helper.c1553 struct sigaction sa;
1575 sigaction(SIGALRM, &sa, 0);
/freebsd-10-stable/sys/amd64/linux32/
H A Dlinux32_machdep.c519 if (ldebug(sigaction))
520 printf(ARGS(sigaction, "%d, %p, %p"),
/freebsd-10-stable/sys/i386/linux/
H A Dlinux_machdep.c485 if (ldebug(sigaction))
486 printf(ARGS(sigaction, "%d, %p, %p"),
/freebsd-10-stable/contrib/ntp/ntpd/
H A Dntpd.c547 struct sigaction sa;
612 sigaction(SIGDANGER, &sa, NULL);
/freebsd-10-stable/contrib/tcsh/
H A Dsh.func.c312 sigaction(SIGTERM, &parterm, NULL);
330 sigaction(SIGTERM, &parterm, NULL);
2383 struct sigaction old;
2394 sigaction(SIGTSTP, NULL, &old);
2398 sigaction(SIGTSTP, &old, NULL);
H A Dsh.h704 extern struct sigaction parintr; /* Parents interrupt catch */
705 extern struct sigaction parterm; /* Parents terminate catch */
H A Dsh.sem.c442 struct sigaction savesv[NSIGSAVED];
564 sigaction(SIGTERM, &parterm, NULL);
/freebsd-10-stable/contrib/bsnmp/snmpd/
H A Dmain.c1340 struct sigaction sa;
1345 if (sigaction(SIGUSR1, &sa, NULL)) {
1346 syslog(LOG_ERR, "sigaction: %m");
1351 if (sigaction(SIGHUP, &sa, NULL)) {
1352 syslog(LOG_ERR, "sigaction: %m");
1359 if (sigaction(SIGTERM, &sa, NULL)) {
1360 syslog(LOG_ERR, "sigaction: %m");
1363 if (sigaction(SIGINT, &sa, NULL)) {
1364 syslog(LOG_ERR, "sigaction: %m");
/freebsd-10-stable/contrib/bmake/
H A Djob.c596 struct sigaction act;
617 (void)sigaction(signo, &act, NULL);
646 (void)sigaction(signo, &act, NULL);
/freebsd-10-stable/usr.sbin/pmcstat/
H A Dpmcstat.c571 struct sigaction sa;
1358 if (sigaction(SIGINT, &sa, NULL) < 0)

Completed in 238 milliseconds

12345678910