Home
last modified time | relevance | path

Searched refs:old_action (Results 1 – 25 of 264) sorted by relevance

1234567891011

/dports/security/snort3/snort3-3.1.19.0/tools/snort2lua/rule_states/
H A Drule_replace.cc57 const std::string& old_action = c.get_rule_api().get_rule_old_action(); in ctor() local
59 if (old_action == "drop" in ctor()
60 || old_action == "sdrop" in ctor()
61 || old_action == "block" in ctor()
62 || old_action == "sblock" in ctor()
63 || old_action == "reject" in ctor()
64 || old_action == "react") in ctor()
67 "Keeping '" + old_action + "' action, " in ctor()
74 "Changing ruletype '" + old_action + "' to 'rewrite' " in ctor()
/dports/multimedia/zoneminder/zoneminder-1.36.5/src/
H A Dzm_signal.cpp116 struct sigaction action, old_action; in zmSetHupHandler() local
121 sigaction(SIGHUP, &action, &old_action); in zmSetHupHandler()
127 struct sigaction action, old_action; in zmSetTermHandler() local
132 sigaction(SIGTERM, &action, &old_action); in zmSetTermHandler()
133 sigaction(SIGINT, &action, &old_action); in zmSetTermHandler()
134 sigaction(SIGQUIT, &action, &old_action); in zmSetTermHandler()
140 struct sigaction action, old_action; in zmSetDieHandler() local
151 sigaction(SIGBUS, &action, &old_action); in zmSetDieHandler()
152 sigaction(SIGSEGV, &action, &old_action); in zmSetDieHandler()
154 sigaction(SIGILL, &action, &old_action); in zmSetDieHandler()
[all …]
/dports/databases/tiledb/TileDB-2.5.2/tiledb/sm/global_state/
H A Dsignal_handlers.cc141 struct sigaction action, old_action; in initialize() local
143 memset(&old_action, 0, sizeof(struct sigaction)); in initialize()
146 if (sigaction(SIGINT, NULL, &old_action) != 0) { in initialize()
150 old_sigint_handler = old_action.sa_handler; in initialize()
157 if (sigaction(SIGINT, &action, &old_action) != 0) { in initialize()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/crashpad/crashpad/util/posix/
H A Dsignals.cc135 struct sigaction* old_action) { in InstallHandler() argument
140 if (sigaction(sig, &action, old_action) != 0) { in InstallHandler()
260 const struct sigaction* old_action) { in RestoreHandlerAndReraiseSignalOnReturn() argument
272 old_action ? old_action : &default_action; in RestoreHandlerAndReraiseSignalOnReturn()
278 if (sigaction(sig, restore_action, nullptr) != 0 && old_action && in RestoreHandlerAndReraiseSignalOnReturn()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/crashpad/crashpad/util/posix/
H A Dsignals.cc136 struct sigaction* old_action) { in InstallHandler() argument
141 if (sigaction(sig, &action, old_action) != 0) { in InstallHandler()
264 const struct sigaction* old_action) { in RestoreHandlerAndReraiseSignalOnReturn() argument
276 old_action ? old_action : &default_action; in RestoreHandlerAndReraiseSignalOnReturn()
282 if (sigaction(sig, restore_action, nullptr) != 0 && old_action && in RestoreHandlerAndReraiseSignalOnReturn()
/dports/devel/apitrace/apitrace-9.0/lib/os/
H A Dos_posix.cpp346 struct sigaction *old_action; in signalHandler() local
352 old_action = &old_actions[sig]; in signalHandler()
354 if (old_action->sa_flags & SA_SIGINFO) { in signalHandler()
356 old_action->sa_sigaction(sig, info, context); in signalHandler()
358 if (old_action->sa_handler == SIG_DFL) { in signalHandler()
372 } else if (old_action->sa_handler == SIG_IGN) { in signalHandler()
376 old_action->sa_handler(sig); in signalHandler()
/dports/devel/libmowgli/libmowgli-5ab559e3af5b11767ada53d4401fb1c4443f3723/src/libmowgli/
H A Dmowgli_signal.c32 struct sigaction action, old_action; in mowgli_signal_install_handler_full() local
43 if (sigaction(signum, &action, &old_action) == -1) in mowgli_signal_install_handler_full()
49 return old_action.sa_handler; in mowgli_signal_install_handler_full()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/lss/tests/
H A Dsigaction.c49 struct kernel_sigaction old_action = {}; in main() local
50 assert(sys_rt_sigaction(SIGSEGV, NULL, &old_action, kSigsetSize) == 0); in main()
51 assert(memcmp(&action, &old_action, sizeof(action)) == 0); in main()
/dports/net/mpich/mpich-3.4.3/modules/libfabric/prov/shm/src/
H A Dsmr_signal.h39 struct sigaction *old_action; variable
52 ret = sigaction(signum, &old_action[signum], NULL); in smr_handle_signal()
69 ret = sigaction(signum, &action, &old_action[signum]); in smr_reg_sig_hander()
H A Dsmr_init.c39 extern struct sigaction *old_action;
170 free(old_action); in smr_fini()
203 old_action = calloc(SIGRTMIN, sizeof(*old_action));
204 if (!old_action)
/dports/mail/postfix-current/postfix-3.7-20211107/src/util/
H A Dtimed_wait.c85 struct sigaction old_action; in timed_waitpid() local
101 if (sigaction(SIGALRM, &action, &old_action) < 0) in timed_waitpid()
116 if (sigaction(SIGALRM, &old_action, (struct sigaction *) 0) < 0) in timed_waitpid()
/dports/devel/libmowgli2/libmowgli-2-2.1.3/src/libmowgli/base/
H A Dmowgli_signal.c36 struct sigaction action, old_action; in mowgli_signal_install_handler_full() local
48 if (sigaction(signum, &action, &old_action) == -1) in mowgli_signal_install_handler_full()
54 return old_action.sa_handler; in mowgli_signal_install_handler_full()
/dports/irc/atheme-services/atheme-7.2.9/libmowgli-2/src/libmowgli/base/
H A Dmowgli_signal.c36 struct sigaction action, old_action; in mowgli_signal_install_handler_full() local
48 if (sigaction(signum, &action, &old_action) == -1) in mowgli_signal_install_handler_full()
54 return old_action.sa_handler; in mowgli_signal_install_handler_full()
/dports/textproc/htdig/htdig-3.2.0b6/htword/
H A DWordMonitor.cc161 struct sigaction old_action; in TimerStart() local
163 memset((char*)&old_action, '\0', sizeof(struct sigaction)); in TimerStart()
165 if(sigaction(SIGALRM, &action, &old_action) != 0) { in TimerStart()
170 if(old_action.sa_handler != SIG_DFL) { in TimerStart()
172 if(sigaction(SIGALRM, &old_action, NULL) != 0) { in TimerStart()
/dports/benchmarks/stress-ng/stress-ng-0.13.09/
H A Dstress-radixsort.c86 struct sigaction old_action; in stress_radixsort() local
110 if (stress_sighandler(args->name, SIGALRM, stress_radixsort_handler, &old_action) < 0) { in stress_radixsort()
121 (void)stress_sigrestore(args->name, SIGALRM, &old_action); in stress_radixsort()
153 (void)stress_sigrestore(args->name, SIGALRM, &old_action); in stress_radixsort()
H A Dstress-qsort.c113 struct sigaction old_action; in stress_qsort() local
129 if (stress_sighandler(args->name, SIGALRM, stress_qsort_handler, &old_action) < 0) { in stress_qsort()
139 (void)stress_sigrestore(args->name, SIGALRM, &old_action); in stress_qsort()
201 (void)stress_sigrestore(args->name, SIGALRM, &old_action); in stress_qsort()
H A Dstress-mergesort.c126 struct sigaction old_action; in stress_mergesort() local
144 if (stress_sighandler(args->name, SIGALRM, stress_mergesort_handler, &old_action) < 0) { in stress_mergesort()
155 (void)stress_sigrestore(args->name, SIGALRM, &old_action); in stress_mergesort()
231 (void)stress_sigrestore(args->name, SIGALRM, &old_action); in stress_mergesort()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/sandbox/linux/services/
H A Dnamespace_sandbox.cc253 struct sigaction old_action; in InstallTerminationSignalHandler() local
254 PCHECK(sys_sigaction(sig, nullptr, &old_action) == 0); in InstallTerminationSignalHandler()
257 if (old_action.sa_flags & SA_SIGINFO && in InstallTerminationSignalHandler()
258 old_action.sa_sigaction != nullptr) { in InstallTerminationSignalHandler()
263 if (old_action.sa_handler != LINUX_SIG_DFL) { in InstallTerminationSignalHandler()
/dports/www/chromium-legacy/chromium-88.0.4324.182/sandbox/linux/services/
H A Dnamespace_sandbox.cc253 struct sigaction old_action; in InstallTerminationSignalHandler() local
254 PCHECK(sys_sigaction(sig, nullptr, &old_action) == 0); in InstallTerminationSignalHandler()
257 if (old_action.sa_flags & SA_SIGINFO && in InstallTerminationSignalHandler()
258 old_action.sa_sigaction != nullptr) { in InstallTerminationSignalHandler()
263 if (old_action.sa_handler != LINUX_SIG_DFL) { in InstallTerminationSignalHandler()
/dports/lang/guile2/guile-2.2.7/libguile/
H A Dscmsigs.c318 struct sigaction old_action; variable
440 if (sigaction (csig, 0, &old_action) == -1)
445 if (sigaction (csig, &action , &old_action) == -1)
448 orig_handlers[csig] = old_action;
450 if (old_action.sa_handler == SIG_DFL || old_action.sa_handler == SIG_IGN)
451 old_handler = scm_from_long ((long) old_action.sa_handler);
455 return scm_cons (old_handler, scm_from_int (old_action.sa_flags));
/dports/lang/guile1/guile-1.8.8/libguile/
H A Dscmsigs.c297 struct sigaction old_action; variable
426 if (sigaction (csig, 0, &old_action) == -1)
431 if (sigaction (csig, &action , &old_action) == -1)
434 orig_handlers[csig] = old_action;
436 if (old_action.sa_handler == SIG_DFL || old_action.sa_handler == SIG_IGN)
437 old_handler = scm_from_long ((long) old_action.sa_handler);
439 return scm_cons (old_handler, scm_from_int (old_action.sa_flags));
/dports/lang/guile/guile-3.0.7/libguile/
H A Dscmsigs.c326 struct sigaction old_action; variable
448 if (sigaction (csig, 0, &old_action) == -1)
453 if (sigaction (csig, &action , &old_action) == -1)
456 orig_handlers[csig] = old_action;
458 if (old_action.sa_handler == SIG_DFL || old_action.sa_handler == SIG_IGN)
459 old_handler = scm_from_long ((long) old_action.sa_handler);
463 return scm_cons (old_handler, scm_from_int (old_action.sa_flags));
/dports/x11/mate-session-manager/mate-session-manager-1.26.0/mate-session/
H A Dmdm-signal-handler.c298 struct sigaction* old_action; in catch_signal() local
306 old_action = g_new0(struct sigaction, 1); in catch_signal()
308 sigaction(signal_number, &action, old_action); in catch_signal()
310 g_hash_table_insert(handler->action_lookup, GINT_TO_POINTER(signal_number), old_action); in catch_signal()
315 struct sigaction* old_action; in uncatch_signal() local
319 old_action = g_hash_table_lookup(handler->action_lookup, GINT_TO_POINTER(signal_number)); in uncatch_signal()
322 sigaction(signal_number, old_action, NULL); in uncatch_signal()
324 g_free(old_action); in uncatch_signal()
/dports/x11/cinnamon-session/cinnamon-session-4.8.0/cinnamon-session/
H A Dmdm-signal-handler.c273 struct sigaction *old_action; in catch_signal() local
281 old_action = g_new0 (struct sigaction, 1); in catch_signal()
283 sigaction (signal_number, &action, old_action); in catch_signal()
287 old_action); in catch_signal()
294 struct sigaction *old_action; in uncatch_signal() local
298 old_action = g_hash_table_lookup (handler->priv->action_lookup, in uncatch_signal()
303 sigaction (signal_number, old_action, NULL); in uncatch_signal()
305 g_free (old_action); in uncatch_signal()
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/compiler-rt/test/ubsan/TestCases/Misc/Linux/
H A Dstatic-link.cpp9 struct sigaction old_action; in main() local
10 sigaction(SIGINT, nullptr, &old_action); in main()

1234567891011