Home
last modified time | relevance | path

Searched refs:SIG_ERR (Results 1 – 15 of 15) sorted by relevance

/linux-6.1.9/tools/lib/subcmd/
Dsigchain.c28 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/
Dfill_buf.c202 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/
Dtm-signal-stack.c60 if (signal(SIGSEGV, signal_segv) == SIG_ERR) in tm_signal_stack()
Dtm-signal-msr-resv.c62 if (signal(SIGSEGV, signal_segv) == SIG_ERR) in tm_signal_msr_resv()
/linux-6.1.9/include/uapi/asm-generic/
Dsignal-defs.h90 #define SIG_ERR ((__force __sighandler_t)-1) /* error return from signal */ macro
/linux-6.1.9/samples/bpf/
Dcookie_uid_helper_example.c317 if (signal(SIGINT, finish) == SIG_ERR) in main()
319 if (signal(SIGTERM, finish) == SIG_ERR) in main()
/linux-6.1.9/tools/thermal/tmon/
Dtmon.c277 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/
Dpidfd_poll_test.c74 if (signal(SIGALRM, handle_alarm) == SIG_ERR) in main()
/linux-6.1.9/tools/testing/selftests/kvm/x86_64/
Dvmx_exception_with_invalid_guest_state.c141 TEST_ASSERT(signal(SIGALRM, sigalrm_handler) != SIG_ERR, in main()
/linux-6.1.9/tools/testing/selftests/vm/
Dwrite_to_hugetlbfs.c77 if (signal(SIGINT, sig_handler) == SIG_ERR) in main()
Duserfaultfd.c1793 if (signal(SIGALRM, sigalrm) == SIG_ERR) in main()
/linux-6.1.9/tools/testing/selftests/net/
Dfin_ack_lat.c118 if (signal(SIGTERM, sig_handler) == SIG_ERR) in main()
/linux-6.1.9/tools/testing/selftests/bpf/prog_tests/
Dsend_signal.c46 ASSERT_NEQ(signal(SIGUSR1, sigusr1_handler), SIG_ERR, "signal"); in test_send_signal_common()
/linux-6.1.9/samples/timers/
Dhpet_example.c233 if ((oldsig = signal(SIGIO, hpet_sigio)) == SIG_ERR) { in hpet_fasync()
/linux-6.1.9/tools/testing/selftests/seccomp/
Dseccomp_bpf.c3549 if (signal(SIGUSR1, signal_handler) == SIG_ERR) { in TEST()