Lines Matching refs:sigaction

528       struct sigaction oact;
529 sigaction(sig, (struct sigaction*)NULL, &oact);
2498 struct sigaction sigAct, oldSigAct;
2504 if (sigaction(signal_number, &sigAct, &oldSigAct)) {
3809 struct sigaction act;
3836 if (sigaction(SR_signum, &act, 0) == -1) {
3993 // field of the structure passed to sigaction(). This routine assumes that
3994 // the sa_flags field passed to sigaction() includes SA_SIGINFO and SA_RESTART.
4014 struct sigaction os::Linux::sigact[MAXSIGNUM];
4017 typedef struct sigaction *(*get_signal_t)(int);
4020 struct sigaction* os::Linux::get_chained_signal_action(int sig) {
4021 struct sigaction *actp = NULL;
4035 static bool call_chained_handler(struct sigaction *actp, int sig,
4084 struct sigaction *actp = get_chained_signal_action(sig);
4092 struct sigaction* os::Linux::get_preinstalled_handler(int sig) {
4099 void os::Linux::save_preinstalled_handler(int sig, struct sigaction& oldAct) {
4120 struct sigaction oldAct;
4121 sigaction(sig, (struct sigaction*)NULL, &oldAct);
4135 // libjsig also interposes the sigaction() call below and saves the
4136 // old sigaction on it own.
4138 fatal(err_msg("Encountered unexpected pre-existing sigaction handler "
4143 struct sigaction sigAct;
4156 int ret = sigaction(sig, &sigAct, &oldAct);
4268 struct sigaction sa;
4270 sigaction(sig, NULL, &sa);
4351 typedef int (*os_sigaction_t)(int, const struct sigaction *, struct sigaction *);
4360 struct sigaction act;
4362 // only trust the default sigaction, in case it has been interposed
4363 os_sigaction = (os_sigaction_t)dlsym(RTLD_DEFAULT, "sigaction");
4367 os_sigaction(sig, (struct sigaction*)NULL, &act);