Symbol: sigaction
headers/os/kernel/debugger.h
387
struct sigaction handler; // the new signal handler
headers/os/kernel/debugger.h
399
struct sigaction handler; // the signal handler
headers/os/kernel/debugger.h
550
struct sigaction handler; // the signal handler
headers/posix/signal.h
229
int sigaction(int _signal, const struct sigaction* action,
headers/posix/signal.h
230
struct sigaction* oldAction);
headers/private/debugger/model/SignalInfo.h
18
const struct sigaction& handler,
headers/private/debugger/model/SignalInfo.h
22
const struct sigaction& handler,
headers/private/debugger/model/SignalInfo.h
26
const struct sigaction& Handler() const { return fHandler; }
headers/private/debugger/model/SignalInfo.h
30
struct sigaction fHandler;
headers/private/kernel/arch/thread.h
31
status_t arch_setup_signal_frame(Thread *thread, struct sigaction *action,
headers/private/kernel/arch/x86/arch_thread.h
19
struct sigaction;
headers/private/kernel/ksignal.h
233
status_t _user_sigaction(int sig, const struct sigaction *newAction,
headers/private/kernel/ksignal.h
234
struct sigaction *oldAction);
headers/private/kernel/thread_types.h
580
struct sigaction& SignalActionFor(int32 signal)
headers/private/kernel/thread_types.h
636
struct sigaction fSignalActions[MAX_SIGNAL_NUMBER];
headers/private/kernel/user_debugger.h
260
bool user_debug_handle_signal(int signal, struct sigaction *handler,
headers/private/libroot/signal_private.h
64
int __sigaction(int signal, const struct sigaction* action,
headers/private/libroot/signal_private.h
65
struct sigaction* oldAction);
headers/private/system/syscalls.h
233
extern status_t _kern_sigaction(int sig, const struct sigaction *action,
headers/private/system/syscalls.h
234
struct sigaction *oldAction);
headers/private/system/syscalls.h
40
struct sigaction;
src/add-ons/kernel/file_systems/userlandfs/server/fuse/fuse_signals.c
27
struct sigaction sa;
src/add-ons/kernel/file_systems/userlandfs/server/fuse/fuse_signals.c
28
struct sigaction old_sa;
src/add-ons/kernel/file_systems/userlandfs/server/fuse/fuse_signals.c
30
memset(&sa, 0, sizeof(struct sigaction));
src/add-ons/kernel/file_systems/userlandfs/server/fuse/fuse_signals.c
35
if (sigaction(sig, NULL, &old_sa) == -1) {
src/add-ons/kernel/file_systems/userlandfs/server/fuse/fuse_signals.c
41
sigaction(sig, &sa, NULL) == -1) {
src/apps/terminal/TermApp.cpp
91
struct sigaction action;
src/apps/terminal/TermApp.cpp
95
if (sigaction(SIGCHLD, &action, NULL) < 0) {
src/bin/debug/profile/profile.cpp
671
struct sigaction action;
src/bin/debug/profile/profile.cpp
675
if (sigaction(SIGHUP, &action, NULL) < 0
src/bin/debug/profile/profile.cpp
676
|| sigaction(SIGINT, &action, NULL) < 0
src/bin/debug/profile/profile.cpp
677
|| sigaction(SIGQUIT, &action, NULL) < 0) {
src/bin/debug/scheduling_recorder/scheduling_recorder.cpp
119
struct sigaction action;
src/bin/debug/scheduling_recorder/scheduling_recorder.cpp
124
if (sigaction(SIGHUP, &action, NULL) < 0
src/bin/debug/scheduling_recorder/scheduling_recorder.cpp
125
|| sigaction(SIGINT, &action, NULL) < 0
src/bin/debug/scheduling_recorder/scheduling_recorder.cpp
126
|| sigaction(SIGQUIT, &action, NULL) < 0) {
src/bin/debug/strace/signals.cpp
358
Syscall *sigaction = get_syscall("_kern_sigaction");
src/bin/debug/strace/signals.cpp
359
sigaction->GetParameter("sig")->SetHandler(new EnumTypeHandler(kSignalsMap));
src/bin/network/ftpd/ftpd.c
278
struct sigaction sa;
src/bin/network/ftpd/ftpd.c
428
(void)sigaction(SIGXFSZ, &sa, NULL);
src/bin/network/ftpd/ftpd.c
457
(void)sigaction(SIGCHLD, &sa, NULL);
src/bin/network/ftpd/ftpd.c
545
(void)sigaction(SIGCHLD, &sa, NULL);
src/bin/network/ftpd/ftpd.c
549
(void)sigaction(SIGURG, &sa, NULL);
src/bin/network/ftpd/ftpd.c
554
(void)sigaction(SIGHUP, &sa, NULL);
src/bin/network/ftpd/ftpd.c
555
(void)sigaction(SIGINT, &sa, NULL);
src/bin/network/ftpd/ftpd.c
556
(void)sigaction(SIGQUIT, &sa, NULL);
src/bin/network/ftpd/ftpd.c
557
(void)sigaction(SIGTERM, &sa, NULL);
src/bin/network/ftpd/ftpd.c
560
(void)sigaction(SIGPIPE, &sa, NULL);
src/bin/network/ping/ping.c
216
struct sigaction si_sa;
src/bin/network/ping/ping.c
884
if (sigaction(SIGINT, &si_sa, 0) == -1)
src/bin/network/ping/ping.c
888
if (sigaction(SIGINFO, &si_sa, 0) == -1)
src/bin/network/ping/ping.c
893
if (sigaction(SIGALRM, &si_sa, 0) == -1)
src/bin/network/ping/ping6.c
1161
if (sigaction(SIGINT, &si_sa, 0) == -1)
src/bin/network/ping/ping6.c
1165
if (sigaction(SIGINFO, &si_sa, 0) == -1)
src/bin/network/ping/ping6.c
1170
if (sigaction(SIGALRM, &si_sa, 0) == -1)
src/bin/network/ping/ping6.c
1283
sigaction(SIGINT, &si_sa, 0);
src/bin/network/ping/ping6.c
1284
sigaction(SIGALRM, &si_sa, 0);
src/bin/network/ping/ping6.c
286
struct sigaction si_sa;
src/kits/debugger/controllers/ThreadHandler.cpp
264
const struct sigaction& handlerInfo = info.Handler();
src/kits/debugger/model/SignalInfo.cpp
29
SignalInfo::SignalInfo(int signal, const struct sigaction& handler,
src/kits/debugger/model/SignalInfo.cpp
40
SignalInfo::SetTo(int signal, const struct sigaction& handler, bool deadly)
src/kits/network/libnetservices/NetworkRequest.cpp
85
struct sigaction action;
src/kits/network/libnetservices/NetworkRequest.cpp
89
sigaction(SIGUSR1, &action, NULL);
src/libs/bsd/daemon.c
16
restore_old_sighup(int result, struct sigaction *action)
src/libs/bsd/daemon.c
19
sigaction(SIGHUP, action, NULL);
src/libs/bsd/daemon.c
26
struct sigaction oldAction, action;
src/libs/bsd/daemon.c
35
oldActionResult = sigaction(SIGHUP, &action, &oldAction);
src/libs/bsd/readpassphrase.c
142
(void)sigaction(SIGALRM, &savealrm, NULL);
src/libs/bsd/readpassphrase.c
143
(void)sigaction(SIGHUP, &savehup, NULL);
src/libs/bsd/readpassphrase.c
144
(void)sigaction(SIGINT, &saveint, NULL);
src/libs/bsd/readpassphrase.c
145
(void)sigaction(SIGQUIT, &savequit, NULL);
src/libs/bsd/readpassphrase.c
146
(void)sigaction(SIGPIPE, &savepipe, NULL);
src/libs/bsd/readpassphrase.c
147
(void)sigaction(SIGTERM, &saveterm, NULL);
src/libs/bsd/readpassphrase.c
148
(void)sigaction(SIGTSTP, &savetstp, NULL);
src/libs/bsd/readpassphrase.c
149
(void)sigaction(SIGTTIN, &savettin, NULL);
src/libs/bsd/readpassphrase.c
150
(void)sigaction(SIGTTOU, &savettou, NULL);
src/libs/bsd/readpassphrase.c
49
struct sigaction sa, savealrm, saveint, savehup, savequit, saveterm;
src/libs/bsd/readpassphrase.c
50
struct sigaction savetstp, savettin, savettou, savepipe;
src/libs/bsd/readpassphrase.c
84
(void)sigaction(SIGALRM, &sa, &savealrm);
src/libs/bsd/readpassphrase.c
85
(void)sigaction(SIGHUP, &sa, &savehup);
src/libs/bsd/readpassphrase.c
86
(void)sigaction(SIGINT, &sa, &saveint);
src/libs/bsd/readpassphrase.c
87
(void)sigaction(SIGPIPE, &sa, &savepipe);
src/libs/bsd/readpassphrase.c
88
(void)sigaction(SIGQUIT, &sa, &savequit);
src/libs/bsd/readpassphrase.c
89
(void)sigaction(SIGTERM, &sa, &saveterm);
src/libs/bsd/readpassphrase.c
90
(void)sigaction(SIGTSTP, &sa, &savetstp);
src/libs/bsd/readpassphrase.c
91
(void)sigaction(SIGTTIN, &sa, &savettin);
src/libs/bsd/readpassphrase.c
92
(void)sigaction(SIGTTOU, &sa, &savettou);
src/libs/posix_error_mapper/signal.cpp
18
WRAPPER_FUNCTION(int, sigaction, (int signal, const struct sigaction *action,
src/libs/posix_error_mapper/signal.cpp
19
struct sigaction *oldAction),
src/system/kernel/arch/arm/arch_thread.cpp
232
struct sigaction* action, size_t spaceNeeded)
src/system/kernel/arch/arm/arch_thread.cpp
247
arch_setup_signal_frame(Thread *thread, struct sigaction *sa,
src/system/kernel/arch/arm64/arch_int.cpp
386
struct sigaction action;
src/system/kernel/arch/arm64/arch_int.cpp
391
if ((sigaction(signalNumber, NULL, &action) == 0
src/system/kernel/arch/arm64/arch_thread.cpp
153
struct sigaction* action, size_t spaceNeeded)
src/system/kernel/arch/arm64/arch_thread.cpp
172
arch_setup_signal_frame(Thread *thread, struct sigaction *sa,
src/system/kernel/arch/m68k/arch_thread.cpp
243
arch_setup_signal_frame(Thread *thread, struct sigaction *sa,
src/system/kernel/arch/ppc/arch_thread.cpp
219
arch_setup_signal_frame(Thread *thread, struct sigaction *sa,
src/system/kernel/arch/riscv64/arch_int.cpp
40
struct sigaction action;
src/system/kernel/arch/riscv64/arch_int.cpp
47
if ((sigaction(signalNumber, NULL, &action) == 0
src/system/kernel/arch/riscv64/arch_thread.cpp
163
struct sigaction* action, size_t spaceNeeded)
src/system/kernel/arch/riscv64/arch_thread.cpp
182
arch_setup_signal_frame(Thread *thread, struct sigaction *sa,
src/system/kernel/arch/sparc/arch_thread.cpp
127
arch_setup_signal_frame(Thread *thread, struct sigaction *sa,
src/system/kernel/arch/x86/32/thread.cpp
125
get_signal_stack(Thread* thread, struct iframe* frame, struct sigaction* action,
src/system/kernel/arch/x86/32/thread.cpp
293
arch_setup_signal_frame(Thread* thread, struct sigaction* action,
src/system/kernel/arch/x86/64/thread.cpp
119
get_signal_stack(Thread* thread, iframe* frame, struct sigaction* action,
src/system/kernel/arch/x86/64/thread.cpp
348
arch_setup_signal_frame(Thread* thread, struct sigaction* action,
src/system/kernel/arch/x86/arch_int.cpp
211
struct sigaction action;
src/system/kernel/arch/x86/arch_int.cpp
218
if ((sigaction(signalNumber, NULL, &action) == 0
src/system/kernel/debug/user_debugger.cpp
2269
struct sigaction &handler = message.set_signal_handler.handler;
src/system/kernel/debug/user_debugger.cpp
2276
sigaction(signal, &handler, NULL);
src/system/kernel/debug/user_debugger.cpp
2289
if (sigaction(signal, NULL, &reply.get_signal_handler.handler)
src/system/kernel/debug/user_debugger.cpp
935
struct sigaction signalAction;
src/system/kernel/debug/user_debugger.cpp
936
if (sigaction(signal, NULL, &signalAction) == 0
src/system/kernel/debug/user_debugger.cpp
953
user_debug_handle_signal(int signal, struct sigaction *handler, siginfo_t *info,
src/system/kernel/signal.cpp
1014
struct sigaction handler;
src/system/kernel/signal.cpp
1145
struct sigaction& parentHandler
src/system/kernel/signal.cpp
1999
sigaction_internal(int signal, const struct sigaction* act,
src/system/kernel/signal.cpp
2000
struct sigaction* oldAction)
src/system/kernel/signal.cpp
2010
struct sigaction& teamHandler = team->SignalActionFor(signal);
src/system/kernel/signal.cpp
2044
sigaction(int signal, const struct sigaction* act, struct sigaction* oldAction)
src/system/kernel/signal.cpp
2306
_user_sigaction(int signal, const struct sigaction *userAction,
src/system/kernel/signal.cpp
2307
struct sigaction *userOldAction)
src/system/kernel/signal.cpp
2309
struct sigaction act, oact;
src/system/kernel/signal.cpp
2313
|| user_memcpy(&act, userAction, sizeof(struct sigaction)) < B_OK))
src/system/kernel/signal.cpp
2315
|| user_memcpy(&oact, userOldAction, sizeof(struct sigaction))
src/system/kernel/signal.cpp
2324
&& user_memcpy(userOldAction, &oact, sizeof(struct sigaction)) < B_OK)
src/system/kernel/signal.cpp
597
ExecuteSignalHandler(uint32 signal, struct sigaction* handler)
src/system/kernel/signal.cpp
644
SigAction(uint32 signal, const struct sigaction* act)
src/system/kernel/signal.cpp
662
struct sigaction fAction;
src/system/kernel/signal.cpp
807
notify_debugger(Thread* thread, Signal* signal, struct sigaction& handler,
src/system/kernel/signal.cpp
874
setup_signal_frame(Thread* thread, struct sigaction* action, Signal* signal,
src/system/kernel/team.cpp
2613
struct sigaction& handler = team->SignalActionFor(SIGCHLD);
src/system/kernel/team.cpp
801
struct sigaction& action = SignalActionFor(i);
src/system/kernel/vm/vm.cpp
3804
struct sigaction action;
src/system/kernel/vm/vm.cpp
3805
if ((sigaction(SIGSEGV, NULL, &action) == 0
src/system/libroot/posix/assert.cpp
31
struct sigaction signalAction;
src/system/libroot/posix/assert.cpp
32
if (sigaction(SIGABRT, NULL, &signalAction) == 0
src/system/libroot/posix/malloc/debug/guarded_heap.cpp
1155
struct sigaction action;
src/system/libroot/posix/malloc/debug/guarded_heap.cpp
1160
sigaction(SIGSEGV, &action, NULL);
src/system/libroot/posix/signal/sigaction.cpp
29
struct sigaction action;
src/system/libroot/posix/signal/sigaction.cpp
37
struct sigaction oldAction;
src/system/libroot/posix/signal/sigaction.cpp
62
__sigaction(int signal, const struct sigaction* action,
src/system/libroot/posix/signal/sigaction.cpp
63
struct sigaction* oldAction)
src/system/libroot/posix/signal/sigignore.cpp
34
struct sigaction ignoreSignalAction;
src/system/libroot/posix/signal/sigignore.cpp
42
return sigaction(signal, &ignoreSignalAction, NULL);
src/system/libroot/posix/signal/siginterrupt.cpp
31
struct sigaction action;
src/system/libroot/posix/signal/siginterrupt.cpp
32
sigaction(signal, NULL, &action);
src/system/libroot/posix/signal/siginterrupt.cpp
38
return sigaction(signal, &action, NULL);
src/system/libroot/posix/signal/signal.cpp
25
struct sigaction newAction, oldAction;
src/system/libroot/posix/signal/sigset.cpp
59
struct sigaction newAction;
src/system/libroot/posix/signal/sigset.cpp
69
struct sigaction oldAction;
src/system/libroot/posix/spawn.cpp
412
struct sigaction action;
src/system/libroot/posix/spawn.cpp
419
&& sigaction(i, &action, NULL) != 0) {
src/system/libroot/posix/stdlib/exit.cpp
292
struct sigaction signalAction;
src/system/libroot/posix/stdlib/exit.cpp
293
if (sigaction(SIGABRT, NULL, &signalAction) == 0
src/system/libroot/posix/unistd/system.cpp
39
struct sigaction intSave, quitSave, sa;
src/system/libroot/posix/unistd/system.cpp
43
sigaction(SIGINT, &sa, &intSave);
src/system/libroot/posix/unistd/system.cpp
44
sigaction(SIGQUIT, &sa, &quitSave);
src/system/libroot/posix/unistd/system.cpp
57
sigaction(SIGINT, &intSave, NULL);
src/system/libroot/posix/unistd/system.cpp
58
sigaction(SIGQUIT, &quitSave, NULL);
src/tests/system/glue/StackAlign.cpp
51
struct sigaction action;
src/tests/system/glue/StackAlign.cpp
61
sigaction(SIGUSR1, &action, NULL);
src/tests/system/kernel/fp_excepts.c
31
struct sigaction action = {};
src/tests/system/kernel/fp_excepts.c
35
if (sigaction(SIGFPE, &action, NULL) == -1) {
src/tests/system/kernel/sigint_bug113_test.cpp
96
struct sigaction action;
src/tests/system/kernel/sigint_bug113_test.cpp
97
sigaction(kSignals[i].signal, NULL, &action);
src/tests/system/kernel/sigsuspend_test.cpp
17
struct sigaction signalAction;
src/tests/system/kernel/sigsuspend_test.cpp
26
sigaction(SIGALRM, &signalAction, NULL);
src/tests/system/kernel/syscall_restart_test.cpp
175
struct sigaction action;
src/tests/system/kernel/syscall_restart_test.cpp
187
sigaction(SIGINT, &action, NULL);
src/tests/system/libroot/posix/pthread_signal_test.cpp
49
struct sigaction act;
src/tests/system/libroot/posix/pthread_signal_test.cpp
55
sigaction(SIGUSR1, &act, NULL);
src/tests/system/libroot/posix/pthread_sigqueue.cpp
34
sigaction(signalNumber, &action, &oldAction);
src/tests/system/libroot/posix/pthread_sigqueue.cpp
38
sigaction(signalNumber, &oldAction, NULL);
src/tests/system/libroot/posix/pthread_sigqueue.cpp
41
struct sigaction action;
src/tests/system/libroot/posix/pthread_sigqueue.cpp
42
struct sigaction oldAction;
src/tests/system/libroot/posix/signal_test.cpp
113
sigaction(SIGALRM, &newAction, NULL);
src/tests/system/libroot/posix/signal_test.cpp
76
struct sigaction newAction;
src/tests/system/libroot/posix/signal_test.cpp
83
sigaction(SIGALRM, &newAction, NULL);
src/tests/system/libroot/posix/signal_test.cpp
91
sigaction(SIGALRM, &newAction, NULL);
src/tests/system/network/tcp_server.c
39
struct sigaction sa;
src/tests/system/network/tcp_server.c
79
if (sigaction(SIGCHLD, &sa, NULL) == -1) {