Home
last modified time | relevance | path

Searched refs:SIG_DFL (Results 1 – 25 of 40) sorted by relevance

12

/linux/arch/um/os-Linux/
H A Dutil.c111 signal(SIGINT, SIG_DFL); in os_fix_helper_signals()
112 signal(SIGTERM, SIG_DFL); in os_fix_helper_signals()
119 signal(SIGSEGV, SIG_DFL); in os_dump_core()
/linux/tools/testing/selftests/clone3/
H A Dclone3_clear_sighand.c94 if (act.sa_handler != SIG_DFL) in test_clone3_clear_sighand()
101 if (act.sa_handler != SIG_DFL) in test_clone3_clear_sighand()
/linux/tools/testing/selftests/bpf/map_tests/
H A Dsk_storage_map.c420 signal(SIGTERM, SIG_DFL); in test_sk_storage_map_stress_free()
421 signal(SIGINT, SIG_DFL); in test_sk_storage_map_stress_free()
423 signal(SIGALRM, SIG_DFL); in test_sk_storage_map_stress_free()
446 signal(SIGTERM, SIG_DFL); in test_sk_storage_map_stress_change()
447 signal(SIGINT, SIG_DFL); in test_sk_storage_map_stress_change()
449 signal(SIGALRM, SIG_DFL); in test_sk_storage_map_stress_change()
/linux/tools/testing/selftests/x86/
H A Dtest_shadow_stack.c236 signal(SIGSEGV, SIG_DFL); in test_shstk_violation()
392 signal(SIGSEGV, SIG_DFL); in test_gup()
446 signal(SIGSEGV, SIG_DFL); in test_mprotect()
529 signal(SIGSEGV, SIG_DFL); in test_userfaultfd()
537 signal(SIGSEGV, SIG_DFL); in test_userfaultfd()
870 signal(SIGSEGV, SIG_DFL); in test_uretprobe()
H A Dsigaltstack.c48 sa.sa_handler = SIG_DFL; in clearhandler()
H A Dioperm.c42 sa.sa_handler = SIG_DFL; in clearhandler()
H A Dsysret_rip.c50 sa.sa_handler = SIG_DFL; in clearhandler()
H A Diopl.c42 sa.sa_handler = SIG_DFL; in clearhandler()
H A Dsingle_step_syscall.c52 sa.sa_handler = SIG_DFL; in clearhandler()
H A Dentry_from_vm86.c46 sa.sa_handler = SIG_DFL; in clearhandler()
/linux/scripts/
H A Dbloat-o-meter11 from signal import signal, SIGPIPE, SIG_DFL
13 signal(SIGPIPE, SIG_DFL)
/linux/tools/perf/tests/
H A Dperf-hooks.c13 signal(SIGSEGV, SIG_DFL); in sigsegv_handler()
H A Dbuiltin-test.c269 signal(signals[i], SIG_DFL); in run_test_child()
584 signal(SIGINT, SIG_DFL); in __cmd_test()
585 signal(SIGTERM, SIG_DFL); in __cmd_test()
/linux/include/uapi/asm-generic/
H A Dsignal-defs.h88 #define SIG_DFL ((__force __sighandler_t)0) /* default signal handling */ macro
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dsignal_pending.c43 signal(SIGALRM, SIG_DFL); in test_signal_pending_by_type()
/linux/tools/testing/selftests/powerpc/benchmarks/
H A Dnull_syscall.c58 signal(SIGALRM, SIG_DFL); in cpu_soak_usecs()
/linux/tools/testing/selftests/bpf/
H A Dxdp_synproxy.c266 signal(SIGINT, SIG_DFL); in syncookie_attach()
267 signal(SIGTERM, SIG_DFL); in syncookie_attach()
/linux/tools/testing/selftests/powerpc/pmu/
H A Dlib.c92 signal(SIGTERM, SIG_DFL); in eat_cpu_child()
/linux/tools/testing/selftests/rlimits/
H A Drlimits-per-userns.c61 signal(SIGUSR1, SIG_DFL); in fork_child()
/linux/init/
H A Dinit_task.c51 .action = { { { .sa_handler = SIG_DFL, } }, },
/linux/tools/perf/util/
H A Ddebug.c325 signal(sig, SIG_DFL);
/linux/tools/testing/selftests/mm/
H A Dmkdirty.c55 if (signal(SIGSEGV, SIG_DFL) == SIG_ERR) in do_test_write_sigsegv()
/linux/tools/testing/selftests/riscv/abi/
H A Dpointer_masking.c135 signal(SIGSEGV, SIG_DFL); in test_dereference()
/linux/kernel/
H A Dsignal.c81 (handler == SIG_DFL && sig_kernel_ignore(sig)); in sig_handler_ignored()
95 handler == SIG_DFL && !(force && sig_kernel_only(sig))) in sig_task_ignored()
525 ka->sa.sa_handler = SIG_DFL; in flush_signal_handlers()
541 if (handler != SIG_IGN && handler != SIG_DFL) in unhandled_signal()
865 * signals. The process stop is done as a signal action for SIG_DFL.
1277 HANDLER_SIG_DFL, /* Always use SIG_DFL handler semantics */
1283 * we unblock the signal and change any SIG_IGN to SIG_DFL.
1285 * Note: If we unblock the signal, we always reset it to SIG_DFL,
1306 action->sa.sa_handler = SIG_DFL; in force_sig_info_to_task()
1316 if (action->sa.sa_handler == SIG_DFL in force_sig_info_to_task()
[all...]
/linux/include/linux/
H A Dsignal.h453 (t)->sighand->action[(signr)-1].sa.sa_handler == SIG_DFL)

12