Home
last modified time | relevance | path

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

/openbmc/linux/tools/lib/subcmd/
H A 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()
/openbmc/linux/tools/testing/selftests/powerpc/tm/
H A Dtm-signal-stack.c60 if (signal(SIGSEGV, signal_segv) == SIG_ERR) in tm_signal_stack()
H A Dtm-signal-msr-resv.c62 if (signal(SIGSEGV, signal_segv) == SIG_ERR) in tm_signal_msr_resv()
/openbmc/linux/include/uapi/asm-generic/
H A Dsignal-defs.h90 #define SIG_ERR ((__force __sighandler_t)-1) /* error return from signal */ macro
/openbmc/qemu/bsd-user/netbsd/
H A Dtarget_os_signal.h64 #define TARGET_BADSIG SIG_ERR
/openbmc/qemu/bsd-user/openbsd/
H A Dtarget_os_signal.h64 #define TARGET_BADSIG SIG_ERR
/openbmc/qemu/bsd-user/freebsd/
H A Dtarget_os_signal.h73 #define TARGET_BADSIG SIG_ERR
/openbmc/linux/tools/testing/selftests/pidfd/
H A Dpidfd_poll_test.c74 if (signal(SIGALRM, handle_alarm) == SIG_ERR) in main()
/openbmc/u-boot/arch/powerpc/include/asm/
H A Dsignal.h123 #define SIG_ERR ((__sighandler_t)-1) /* error return from signal */ macro
/openbmc/qemu/tests/tcg/s390x/
H A Dmvc.c34 if (signal(SIGSEGV, handle_sigsegv) == SIG_ERR) { in main()
/openbmc/linux/tools/thermal/tmon/
H A Dtmon.c277 if (signal(SIGINT, tmon_sig_handler) == SIG_ERR) in main()
279 if (signal(SIGTERM, tmon_sig_handler) == SIG_ERR) in main()
/openbmc/linux/tools/testing/selftests/mm/
H A Dmkdirty.c46 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 Dwrite_to_hugetlbfs.c79 if (signal(SIGINT, sig_handler) == SIG_ERR) in main()
H A Duffd-stress.c434 if (signal(SIGALRM, sigalrm) == SIG_ERR) in main()
/openbmc/linux/samples/bpf/
H A Dcookie_uid_helper_example.c317 if (signal(SIGINT, finish) == SIG_ERR) in main()
319 if (signal(SIGTERM, finish) == SIG_ERR) in main()
/openbmc/linux/tools/testing/selftests/kvm/x86_64/
H A Dvmx_exception_with_invalid_guest_state.c139 TEST_ASSERT(signal(SIGALRM, sigalrm_handler) != SIG_ERR, in main()
/openbmc/linux/tools/testing/selftests/net/
H A Dfin_ack_lat.c118 if (signal(SIGTERM, sig_handler) == SIG_ERR) in main()
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dsend_signal.c46 ASSERT_NEQ(signal(SIGUSR1, sigusr1_handler), SIG_ERR, "signal"); in test_send_signal_common()
/openbmc/linux/samples/timers/
H A Dhpet_example.c233 if ((oldsig = signal(SIGIO, hpet_sigio)) == SIG_ERR) { in hpet_fasync()
/openbmc/linux/tools/testing/selftests/seccomp/
H A Dseccomp_bpf.c3567 if (signal(SIGUSR1, signal_handler) == SIG_ERR) { in TEST()