sig 55 daemons/execd/remoted_pidone.c int sig; sig 287 daemons/execd/remoted_pidone.c int sig; sig 290 daemons/execd/remoted_pidone.c sigwait(&set, &sig); sig 292 daemons/execd/remoted_pidone.c if (sigmap[i].sig == sig) { sig 51 include/crm/common/mainloop.h sighandler_t crm_signal_handler(int sig, sighandler_t dispatch); sig 53 include/crm/common/mainloop.h gboolean mainloop_add_signal(int sig, void (*dispatch) (int sig)); sig 55 include/crm/common/mainloop.h gboolean mainloop_destroy_signal(int sig); sig 27 include/crm/common/mainloop_compat.h gboolean crm_signal(int sig, void (*dispatch) (int sig)); sig 233 lib/common/mainloop.c void (*handler) (int sig); // signal handler sig 254 lib/common/mainloop.c crm_signal_t *sig = (crm_signal_t *) source; sig 256 lib/common/mainloop.c if(sig->signal != SIGCHLD) { sig 258 lib/common/mainloop.c strsignal(sig->signal), sig->signal, sig 259 lib/common/mainloop.c (sig->handler? "invoking" : "no")); sig 262 lib/common/mainloop.c sig->trigger.trigger = FALSE; sig 263 lib/common/mainloop.c if (sig->handler) { sig 264 lib/common/mainloop.c sig->handler(sig->signal); sig 279 lib/common/mainloop.c mainloop_signal_handler(int sig) sig 281 lib/common/mainloop.c if (sig > 0 && sig < NSIG && crm_signals[sig] != NULL) { sig 282 lib/common/mainloop.c mainloop_set_trigger((crm_trigger_t *) crm_signals[sig]); sig 307 lib/common/mainloop.c crm_signal_handler(int sig, sighandler_t dispatch) sig 315 lib/common/mainloop.c sig, pcmk_strerror(errno)); sig 324 lib/common/mainloop.c if (sigaction(sig, &sa, &old) < 0) { sig 326 lib/common/mainloop.c sig, pcmk_strerror(errno)); sig 333 lib/common/mainloop.c mainloop_destroy_signal_entry(int sig) sig 335 lib/common/mainloop.c crm_signal_t *tmp = crm_signals[sig]; sig 337 lib/common/mainloop.c crm_signals[sig] = NULL; sig 339 lib/common/mainloop.c crm_trace("Destroying signal %d", sig); sig 355 lib/common/mainloop.c mainloop_add_signal(int sig, void (*dispatch) (int sig)) sig 360 lib/common/mainloop.c if (sig == SIGTERM) { sig 368 lib/common/mainloop.c if (sig >= NSIG || sig < 0) { sig 369 lib/common/mainloop.c crm_err("Signal %d is out of range", sig); sig 372 lib/common/mainloop.c } else if (crm_signals[sig] != NULL && crm_signals[sig]->handler == dispatch) { sig 373 lib/common/mainloop.c crm_trace("Signal handler for %d is already installed", sig); sig 376 lib/common/mainloop.c } else if (crm_signals[sig] != NULL) { sig 377 lib/common/mainloop.c crm_err("Different signal handler for %d is already installed", sig); sig 384 lib/common/mainloop.c crm_signals[sig] = (crm_signal_t *) mainloop_setup_trigger(source, priority, NULL, NULL); sig 385 lib/common/mainloop.c CRM_ASSERT(crm_signals[sig] != NULL); sig 387 lib/common/mainloop.c crm_signals[sig]->handler = dispatch; sig 388 lib/common/mainloop.c crm_signals[sig]->signal = sig; sig 390 lib/common/mainloop.c if (crm_signal_handler(sig, mainloop_signal_handler) == SIG_ERR) { sig 391 lib/common/mainloop.c mainloop_destroy_signal_entry(sig); sig 400 lib/common/mainloop.c if (siginterrupt(sig, 1) < 0) { sig 401 lib/common/mainloop.c crm_perror(LOG_INFO, "Could not enable system call interruptions for signal %d", sig); sig 409 lib/common/mainloop.c mainloop_destroy_signal(int sig) sig 411 lib/common/mainloop.c if (sig >= NSIG || sig < 0) { sig 412 lib/common/mainloop.c crm_err("Signal %d is out of range", sig); sig 415 lib/common/mainloop.c } else if (crm_signal_handler(sig, NULL) == SIG_ERR) { sig 416 lib/common/mainloop.c crm_perror(LOG_ERR, "Could not uninstall signal handler for signal %d", sig); sig 419 lib/common/mainloop.c } else if (crm_signals[sig] == NULL) { sig 422 lib/common/mainloop.c mainloop_destroy_signal_entry(sig); sig 435 lib/common/mainloop.c for (int sig = 0; sig < NSIG; ++sig) { sig 436 lib/common/mainloop.c mainloop_destroy_signal_entry(sig); sig 1495 lib/common/mainloop.c crm_signal(int sig, void (*dispatch) (int sig)) sig 1497 lib/common/mainloop.c return crm_signal_handler(sig, dispatch) != SIG_ERR; sig 351 lib/services/dbus.c char *sig = NULL; sig 355 lib/services/dbus.c (sig = dbus_message_iter_get_signature(&args))); sig 356 lib/services/dbus.c if (sig != NULL) { sig 357 lib/services/dbus.c dbus_free(sig); sig 540 lib/services/dbus.c char *sig; sig 543 lib/services/dbus.c sig = dbus_message_iter_get_signature(&args); sig 547 lib/services/dbus.c expected, dtype, sig); sig 548 lib/services/dbus.c dbus_free(sig);