Searched refs:sigaction (Results 1 - 17 of 17) sorted by relevance

/xnu-2782.1.97/tools/tests/libMicro/
H A Dsigaction.c53 struct sigaction ts_act;
61 (void) sprintf(lm_usage, "notes: measures sigaction()\n");
83 struct sigaction oact;
88 if (sigaction(SIGUSR1, &ts->ts_act, &oact))
H A Dsignal.c65 struct sigaction act;
71 (void) sigaction(SIGUSR1, &act, NULL);
H A DMakefile.benchmarks93 sigaction \
H A Dbench.sh464 sigaction $OPTS -N "sigaction" -I 100
H A Dcoreos_bench.sh490 sigaction $OPTS -N "sigaction" -I 100
H A Dembd_bench.sh475 sigaction $OPTS -N "sigaction" -I 100
/xnu-2782.1.97/tools/tests/libMicro/apple/
H A Dlmbench_lat_sig_catch.c190 struct sigaction sa, old;
195 (void) sigaction(SIGUSR1, &sa, &old);
H A Dlmbench_lat_sig_install.c209 struct sigaction sa, old;
216 sigaction(SIGUSR1, &sa, &old);
H A Dlmbench_lat_sig_prot.c222 struct sigaction sa;
243 sigaction(SIGSEGV, &sa, 0);
244 sigaction(SIGBUS, &sa, 0);
/xnu-2782.1.97/tools/tests/xnu_quick_test/helpers/
H A Ddata_exec.c76 struct sigaction sigact;
110 if (sigaction(SIGSEGV, &sigact, NULL) == -1) {
111 perror("sigaction SIGSEGV");
115 if (sigaction(SIGBUS, &sigact, NULL) == -1) {
116 perror("sigaction SIGBUS");
/xnu-2782.1.97/tools/tests/xnu_quick_test/
H A Dmemory_tests.c46 struct sigaction my_sa;
272 if ((my_err = sigaction(SIGBUS, &my_sa, NULL)) != 0) {
273 printf("sigaction call failed with error %d - \"%s\" \n", errno, strerror( errno) );
H A Dpipes_tests.c174 struct sigaction alarm_act;
180 die(sigaction(SIGALRM, &alarm_act, NULL) != 0, "sigaction()");
269 struct sigaction _act; \
273 assert(sigaction((signal), &_act, NULL) == 0, 1, \
274 "sigaction() error: %s.", strerror(errno));
H A Dtests.c2457 * Test getitimer, setitimer, sigaction, sigpending, sigprocmask, sigsuspend, sigwait system calls.
2520 struct sigaction my_sigaction;
2537 printf( "sigaction failed with errno %d - %s \n", errno, strerror( errno ) );
2541 printf( "sigaction must have failed - SS_DISABLE is cleared \n" );
2550 my_err = sigaction( SIGUSR1, &my_sigaction, NULL );
2552 printf( "sigaction failed with errno %d - %s \n", errno, strerror( errno ) );
2640 my_err = sigaction( SIGALRM, &my_sigaction, NULL );
2642 printf( "sigaction - SIGALRM - failed with errno %d - %s \n", errno, strerror( errno ) );
/xnu-2782.1.97/bsd/man/man2/
H A DMakefile201 sigaction.2 \
/xnu-2782.1.97/tools/tests/superpages/
H A Dtestsp.c647 struct sigaction my_sigaction;
651 sigaction( SIGBUS, &my_sigaction, NULL );
652 sigaction( SIGSEGV, &my_sigaction, NULL );
/xnu-2782.1.97/bsd/sys/
H A Dsignal.h381 * Signal vector "template" used in sigaction call.
383 struct sigaction { struct
/xnu-2782.1.97/bsd/kern/
H A Dkern_sig.c365 sigaction(proc_t p, struct sigaction_args *uap, __unused int32_t *retval) function
1964 * signalled process/thread sigaction handler, when it
2029 * POSIX: sigaction for a stopped child

Completed in 58 milliseconds