Searched refs:SIG_ERR (Results 1 – 15 of 15) sorted by relevance
/linux-6.1.9/tools/lib/subcmd/ |
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-6.1.9/tools/testing/selftests/resctrl/ |
D | fill_buf.c | 202 if (signal(SIGINT, ctrl_handler) == SIG_ERR) in run_fill_buf() 204 if (signal(SIGHUP, ctrl_handler) == SIG_ERR) in run_fill_buf()
|
/linux-6.1.9/tools/testing/selftests/powerpc/tm/ |
D | tm-signal-stack.c | 60 if (signal(SIGSEGV, signal_segv) == SIG_ERR) in tm_signal_stack()
|
D | tm-signal-msr-resv.c | 62 if (signal(SIGSEGV, signal_segv) == SIG_ERR) in tm_signal_msr_resv()
|
/linux-6.1.9/include/uapi/asm-generic/ |
D | signal-defs.h | 90 #define SIG_ERR ((__force __sighandler_t)-1) /* error return from signal */ macro
|
/linux-6.1.9/samples/bpf/ |
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-6.1.9/tools/thermal/tmon/ |
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-6.1.9/tools/testing/selftests/pidfd/ |
D | pidfd_poll_test.c | 74 if (signal(SIGALRM, handle_alarm) == SIG_ERR) in main()
|
/linux-6.1.9/tools/testing/selftests/kvm/x86_64/ |
D | vmx_exception_with_invalid_guest_state.c | 141 TEST_ASSERT(signal(SIGALRM, sigalrm_handler) != SIG_ERR, in main()
|
/linux-6.1.9/tools/testing/selftests/vm/ |
D | write_to_hugetlbfs.c | 77 if (signal(SIGINT, sig_handler) == SIG_ERR) in main()
|
D | userfaultfd.c | 1793 if (signal(SIGALRM, sigalrm) == SIG_ERR) in main()
|
/linux-6.1.9/tools/testing/selftests/net/ |
D | fin_ack_lat.c | 118 if (signal(SIGTERM, sig_handler) == SIG_ERR) in main()
|
/linux-6.1.9/tools/testing/selftests/bpf/prog_tests/ |
D | send_signal.c | 46 ASSERT_NEQ(signal(SIGUSR1, sigusr1_handler), SIG_ERR, "signal"); in test_send_signal_common()
|
/linux-6.1.9/samples/timers/ |
D | hpet_example.c | 233 if ((oldsig = signal(SIGIO, hpet_sigio)) == SIG_ERR) { in hpet_fasync()
|
/linux-6.1.9/tools/testing/selftests/seccomp/ |
D | seccomp_bpf.c | 3549 if (signal(SIGUSR1, signal_handler) == SIG_ERR) { in TEST()
|