Searched refs:sigaction (Results 1 - 17 of 17) sorted by relevance
/xnu-2782.1.97/tools/tests/libMicro/ |
H A D | sigaction.c | 53 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 D | signal.c | 65 struct sigaction act; 71 (void) sigaction(SIGUSR1, &act, NULL);
|
H A D | Makefile.benchmarks | 93 sigaction \
|
H A D | bench.sh | 464 sigaction $OPTS -N "sigaction" -I 100
|
H A D | coreos_bench.sh | 490 sigaction $OPTS -N "sigaction" -I 100
|
H A D | embd_bench.sh | 475 sigaction $OPTS -N "sigaction" -I 100
|
/xnu-2782.1.97/tools/tests/libMicro/apple/ |
H A D | lmbench_lat_sig_catch.c | 190 struct sigaction sa, old; 195 (void) sigaction(SIGUSR1, &sa, &old);
|
H A D | lmbench_lat_sig_install.c | 209 struct sigaction sa, old; 216 sigaction(SIGUSR1, &sa, &old);
|
H A D | lmbench_lat_sig_prot.c | 222 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 D | data_exec.c | 76 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 D | memory_tests.c | 46 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 D | pipes_tests.c | 174 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 D | tests.c | 2457 * 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 D | Makefile | 201 sigaction.2 \
|
/xnu-2782.1.97/tools/tests/superpages/ |
H A D | testsp.c | 647 struct sigaction my_sigaction; 651 sigaction( SIGBUS, &my_sigaction, NULL ); 652 sigaction( SIGSEGV, &my_sigaction, NULL );
|
/xnu-2782.1.97/bsd/sys/ |
H A D | signal.h | 381 * Signal vector "template" used in sigaction call. 383 struct sigaction { struct
|
/xnu-2782.1.97/bsd/kern/ |
H A D | kern_sig.c | 365 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 71 milliseconds