Home
last modified time | relevance | path

Searched refs:SIG_DFL (Results 1 - 25 of 123) sorted by relevance

12345

/third_party/ltp/testcases/kernel/syscalls/signal/
H A Dsignal01.c34 {SIG_DFL, 0},
37 {SIG_DFL, 1},
H A Dsignal04.c30 SAFE_SIGNAL(siglist[n], SIG_DFL); in do_test()
33 SAFE_SIGNAL(siglist[n], SIG_DFL); in do_test()
/third_party/ntfs-3g/libfuse-lite/
H A Dfuse_signals.c31 sa.sa_handler = remove ? SIG_DFL : handler; in set_one_signal_handler()
40 if (old_sa.sa_handler == (remove ? handler : SIG_DFL) && in set_one_signal_handler()
/third_party/nghttp2/src/
H A Dshrpx_signal.cc127 return signal_set_handler(SIG_DFL, main_proc_ign_signals); in shrpx_signal_unset_main_proc_ign_handler()
135 return signal_set_handler(SIG_DFL, worker_proc_ign_signals); in shrpx_signal_unset_worker_proc_ign_handler()
/third_party/musl/src/exit/
H A Dabort.c74 signal(SIGABRT, SIG_DFL); in abort()
77 &(struct k_sigaction){.handler = SIG_DFL}, 0, _NSIG/8); in abort()
/third_party/libfuse/lib/
H A Dfuse_signals.c45 sa.sa_handler = remove ? SIG_DFL : handler; in set_one_signal_handler()
54 if (old_sa.sa_handler == (remove ? handler : SIG_DFL) && in set_one_signal_handler()
66 thus should reset to SIG_DFL in fuse_remove_signal_handlers) in fuse_set_signal_handlers()
/third_party/musl/porting/linux/user/src/signal/
H A Dsigaction.c72 * SIG_DFL requires a lock, so that it cannot be changed in __libc_sigaction()
75 if (sa->sa_handler != SIG_DFL && sig == SIGABRT) { in __libc_sigaction()
85 if (sig == SIGABRT && sa && sa->sa_handler != SIG_DFL) { in __libc_sigaction()
/third_party/musl/src/signal/linux/
H A Dsigaction.c72 * SIG_DFL requires a lock, so that it cannot be changed in __libc_sigaction()
75 if (sa->sa_handler != SIG_DFL && sig == SIGABRT) { in __libc_sigaction()
88 if (sig == SIGABRT && sa && sa->sa_handler != SIG_DFL) { in __libc_sigaction()
/third_party/ltp/testcases/kernel/syscalls/waitpid/
H A Dwaitpid05.c96 * Set SIGTERM to SIG_DFL as test driver sets up to ignore in main()
99 if (signal(SIGTERM, SIG_DFL) == SIG_ERR) { in main()
111 signal(sig, SIG_DFL); in main()
/third_party/musl/libc-test/src/functionalext/supplement/signal/
H A Dsigset.c143 * @tc.desc : modifies the disposition of the signal sig with SIG_DFL
160 sigset(sig, SIG_DFL); in sigset_0300()
221 sigset(sig, SIG_DFL); in sigset_0500()
/third_party/ltp/testcases/open_posix_testsuite/conformance/definitions/signal_h/
H A D2-1-buildonly.c2 Test the definition of SIG_DFL.
7 static void (*dummy) (int) = SIG_DFL;
/third_party/alsa-lib/src/ucm/
H A Ducm_exec.c261 signal(SIGINT, SIG_DFL); in uc_mgr_exec()
262 signal(SIGQUIT, SIG_DFL); in uc_mgr_exec()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/signal/
H A D1-1.c9 signal shall occur if the value of the func parameter is SIG_DFL.
13 SIGCHLD, this time with SIG_DFL as the value of the func parameter.
40 if (signal(SIGCHLD, SIG_DFL) != myhandler) { in main()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigset/
H A D1-1.c9 signal shall occur if the value of the disp parameter is SIG_DFL.
13 SIGCHLD, this time with SIG_DFL as the value of the func parameter.
47 if (sigset(SIGCHLD, SIG_DFL) != myhandler) { in main()
H A D9-1.c36 if (sigset(SIGUSR1, SIG_DFL) != myhandler) { in main()
/third_party/musl/libc-test/src/functionalext/supplement/process/
H A Dsystem.c29 sighandler_t handler = signal(SIGCHLD, SIG_DFL); in system_0100()
/third_party/musl/porting/liteos_a/user/src/exit/
H A Dabort.c27 signal(SIGABRT, SIG_DFL); in abort()
/third_party/ltp/lib/
H A Dtst_cmd.c69 void *old_handler = signal(SIGCHLD, SIG_DFL); in tst_cmd_fds_()
184 void *old_handler = signal(SIGCHLD, SIG_DFL); in tst_system()
/third_party/musl/src/process/
H A Dposix_spawn.c45 /* All signal dispositions must be either SIG_DFL or SIG_IGN in child()
55 sa.sa_handler = SIG_DFL; in child()
62 sa.sa_handler = SIG_DFL; in child()
/third_party/musl/porting/liteos_a/user/src/process/
H A Dposix_spawn.c44 /* All signal dispositions must be either SIG_DFL or SIG_IGN in child()
54 sa.sa_handler = SIG_DFL; in child()
61 sa.sa_handler = SIG_DFL; in child()
/third_party/skia/third_party/externals/abseil-cpp/absl/debugging/
H A Dfailure_signal_handler.cc68 signal(signo, SIG_DFL); in RaiseToDefaultHandler()
82 #define FSD_PREVIOUS_INIT SIG_DFL
/third_party/python/Modules/
H A Dsignalmodule.c510 The action can be SIG_DFL, SIG_IGN, or a callable Python object.
562 func = SIG_DFL; in signal_signal_impl()
566 "signal.SIG_DFL, or a callable object"); in signal_signal_impl()
601 SIG_DFL -- if the default action for the signal is in effect
1424 SIG_DFL -- used to refer to the system default handler\n\
1621 if (c_handler == SIG_DFL) {
1679 if (PyDict_SetItemString(d, "SIG_DFL", state->default_handler) < 0) {
1784 PyOS_setsig(signum, SIG_DFL);
1964 /* Restore signals that the interpreter has called SIG_IGN on to SIG_DFL.
1976 PyOS_setsig(SIGPIPE, SIG_DFL);
[all...]
/third_party/ltp/testcases/kernel/security/dirtyc0w_shmem/
H A Ddirtyc0w_shmem.c88 SAFE_SIGNAL(SIGCHLD, SIG_DFL); in dirtyc0w_shmem_test()
/third_party/ltp/testcases/kernel/syscalls/pipe/
H A Dpipe02.c26 SAFE_SIGNAL(SIGPIPE, SIG_DFL); in do_child()
/third_party/musl/libc-test/src/functional/
H A Dpopen.c47 signal(SIGUSR1, SIG_DFL); in main()

Completed in 12 milliseconds

12345