Searched refs:SIG_ERR (Results 1 – 17 of 17) sorted by relevance
/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | perf_skip.c | 39 sighandler_t previous_sigio = SIG_ERR; in serial_test_perf_skip() 54 if (!ASSERT_NEQ(previous_sigio, SIG_ERR, "signal")) in serial_test_perf_skip() 134 if (previous_sigio != SIG_ERR) in serial_test_perf_skip()
|
H A D | send_signal.c | 58 ASSERT_NEQ(signal(SIGUSR1, sigusr1_handler), SIG_ERR, "signal"); in test_send_signal_common()
|
/linux/tools/lib/subcmd/ |
H A D | sigchain.c | 28 if (s->old[s->n] == SIG_ERR) in sigchain_push() 41 if (signal(sig, s->old[s->n - 1]) == SIG_ERR) in sigchain_pop()
|
/linux/tools/testing/selftests/powerpc/tm/ |
H A D | tm-signal-stack.c | 60 if (signal(SIGSEGV, signal_segv) == SIG_ERR) in tm_signal_stack()
|
H A D | tm-signal-msr-resv.c | 62 if (signal(SIGSEGV, signal_segv) == SIG_ERR) in tm_signal_msr_resv()
|
/linux/include/uapi/asm-generic/ |
H A D | signal-defs.h | 90 #define SIG_ERR ((__force __sighandler_t)-1) /* error return from signal */ macro
|
/linux/tools/thermal/tmon/ |
H A D | tmon.c | 277 if (signal(SIGINT, tmon_sig_handler) == SIG_ERR) in main() 279 if (signal(SIGTERM, tmon_sig_handler) == SIG_ERR) in main()
|
/linux/samples/bpf/ |
H A D | cookie_uid_helper_example.c | 317 if (signal(SIGINT, finish) == SIG_ERR) in main() 319 if (signal(SIGTERM, finish) == SIG_ERR) in main()
|
/linux/tools/testing/selftests/mm/ |
H A D | mkdirty.c | 46 if (signal(SIGSEGV, signal_handler) == SIG_ERR) { in do_test_write_sigsegv() 55 if (signal(SIGSEGV, SIG_DFL) == SIG_ERR) in do_test_write_sigsegv()
|
H A D | write_to_hugetlbfs.c | 79 if (signal(SIGINT, sig_handler) == SIG_ERR) in main()
|
H A D | uffd-stress.c | 442 if (signal(SIGALRM, sigalrm) == SIG_ERR) in main()
|
/linux/tools/testing/selftests/pidfd/ |
H A D | pidfd_poll_test.c | 74 if (signal(SIGALRM, handle_alarm) == SIG_ERR) in main()
|
/linux/tools/testing/selftests/kvm/x86_64/ |
H A D | vmx_exception_with_invalid_guest_state.c | 136 TEST_ASSERT(signal(SIGALRM, sigalrm_handler) != SIG_ERR, in main()
|
/linux/tools/testing/selftests/timers/ |
H A D | posix_timers.c | 146 if (signal(SIGALRM, sig_handler) == SIG_ERR) in check_timer_create() 206 if (signal(SIGALRM, ctd_sighandler) == SIG_ERR) in check_timer_distribution() 307 if (signal(SIGUSR1, SIG_IGN) == SIG_ERR) in check_sig_ign()
|
/linux/tools/testing/selftests/net/ |
H A D | fin_ack_lat.c | 118 if (signal(SIGTERM, sig_handler) == SIG_ERR) in main()
|
/linux/samples/timers/ |
H A D | hpet_example.c | 233 if ((oldsig = signal(SIGIO, hpet_sigio)) == SIG_ERR) { in hpet_fasync()
|
/linux/tools/testing/selftests/seccomp/ |
H A D | seccomp_bpf.c | 3568 if (signal(SIGUSR1, signal_handler) == SIG_ERR) { in TEST()
|