Lines Matching refs:sigaction

653       struct sigaction oact;
654 sigaction(sig, (struct sigaction*)NULL, &oact);
2637 struct sigaction sigAct, oldSigAct;
2643 if (sigaction(signal_number, &sigAct, &oldSigAct)) {
3963 struct sigaction act;
3990 if (sigaction(SR_signum, &act, 0) == -1) {
4147 // field of the structure passed to sigaction(). This routine assumes that
4148 // the sa_flags field passed to sigaction() includes SA_SIGINFO and SA_RESTART.
4168 struct sigaction os::Bsd::sigact[MAXSIGNUM];
4171 typedef struct sigaction *(*get_signal_t)(int);
4174 struct sigaction* os::Bsd::get_chained_signal_action(int sig) {
4175 struct sigaction *actp = NULL;
4189 static bool call_chained_handler(struct sigaction *actp, int sig,
4238 struct sigaction *actp = get_chained_signal_action(sig);
4246 struct sigaction* os::Bsd::get_preinstalled_handler(int sig) {
4253 void os::Bsd::save_preinstalled_handler(int sig, struct sigaction& oldAct) {
4274 struct sigaction oldAct;
4275 sigaction(sig, (struct sigaction*)NULL, &oldAct);
4289 // libjsig also interposes the sigaction() call below and saves the
4290 // old sigaction on it own.
4292 fatal(err_msg("Encountered unexpected pre-existing sigaction handler "
4297 struct sigaction sigAct;
4323 int ret = sigaction(sig, &sigAct, &oldAct);
4454 struct sigaction sa;
4456 sigaction(sig, NULL, &sa);
4537 typedef int (*os_sigaction_t)(int, const struct sigaction *, struct sigaction *);
4546 struct sigaction act;
4548 // only trust the default sigaction, in case it has been interposed
4549 os_sigaction = (os_sigaction_t)dlsym(RTLD_DEFAULT, "sigaction");
4553 os_sigaction(sig, (struct sigaction*)NULL, &act);