/illumos-gate/usr/src/lib/libc/port/sys/ |
H A D | bsd_signal.c | 50 struct sigaction oact; local 59 if (sigaction(sig, &nact, &oact) == -1) 62 return (oact.sa_handler);
|
H A D | signal.c | 68 struct sigaction oact; local 89 if (sigaction(sig, &nact, &oact) < 0) 92 return (oact.sa_handler); 186 struct sigaction oact; local 200 if (sigaction(sig, (struct sigaction *)0, &oact) < 0) 219 if (sigaction(sig, &nact, &oact) < 0) 231 return (oact.sa_handler);
|
/illumos-gate/usr/src/lib/libproc/common/ |
H A D | pr_sigaction.c | 45 int sig, const struct sigaction *act, struct sigaction *oact) 57 return (sigaction(sig, act, oact)); 91 adp++; /* oact argument */ 93 if (oact == NULL) { 106 adp->arg_object = oact; 107 adp->arg_size = sizeof (*oact); 110 adp->arg_object = oact; 111 adp->arg_size = sizeof (*oact); 122 if (oact != NULL && Pstatus(Pr)->pr_dmodel == PR_MODEL_ILP32) 123 sigaction_32_to_n(&oact32, oact); 44 pr_sigaction(struct ps_prochandle *Pr, int sig, const struct sigaction *act, struct sigaction *oact) argument [all...] |
/illumos-gate/usr/src/cmd/sgs/libld/common/ |
H A D | exit.c | 138 struct sigaction nact, oact; local 166 if ((sigaction(sigs->signo, NULL, &oact) == 0) && 167 (oact.sa_handler != SIG_IGN)) {
|
/illumos-gate/usr/src/uts/common/syscall/ |
H A D | sigaction.c | 46 struct sigaction oact; local 57 * act and oact might be the same address, so copyin act first. 109 oact.sa_handler = disp; 110 oact.sa_flags = flags; 111 sigktou(&set, &oact.sa_mask); 127 copyout(&oact, oactp, sizeof (oact))) 150 * act and oact might be the same address, so copyin act first.
|
/illumos-gate/usr/src/lib/libpkg/common/ |
H A D | pkgexecv.c | 145 struct sigaction oact; local 228 if (sigaction(SIGINT, &nact, &oact) < 0) { 231 funcSigint = oact.sa_handler; 240 if (sigaction(SIGHUP, &nact, &oact) < 0) { 243 funcSighup = oact.sa_handler;
|
H A D | pkgtrans.c | 638 struct sigaction oact; local 655 if (sigaction(SIGINT, &nact, &oact) < 0) { 658 sigintHandler = oact.sa_handler; 667 if (sigaction(SIGHUP, &nact, &oact) < 0) { 670 sighupHandler = oact.sa_handler;
|
/illumos-gate/usr/src/lib/libwrap/ |
H A D | rfc931.c | 94 struct sigaction nact, oact; local 129 (void) sigaction(SIGALRM, &nact, &oact); 189 (void) sigaction(SIGALRM, &oact, NULL);
|
/illumos-gate/usr/src/cmd/oplhpd/ |
H A D | oplhpd.c | 111 struct sigaction act, oact; local 119 (void) sigemptyset(&oact.sa_mask); 120 if (sigaction(sig, &act, &oact) < 0) { 124 return (oact.sa_handler);
|
/illumos-gate/usr/src/cmd/mdb/common/kmdb/ |
H A D | kmdb_stubs.c | 115 sigaction(int sig, const struct sigaction *act, struct sigaction *oact) argument
|
/illumos-gate/usr/src/cmd/sh/ |
H A D | fault.c | 250 struct sigaction act, oact; local 257 * we can get random values back for oact.sa_handler if the signal 265 sigaction(sig, &act, &oact); 281 ret = (func != oact.sa_handler); 434 struct sigaction act, oact; local 452 sigaction(SIGALRM, &act, &oact); 468 sigaction(SIGALRM, &oact, NULL);
|
/illumos-gate/usr/src/cmd/csh/i386/ |
H A D | signal.c | 160 struct sigaction oact; local 194 if (_sigaction(sig, nactp, &oact) < 0) { 200 if (oact.sa_handler == SIG_DFL || oact.sa_handler == SIG_IGN) 201 ovec->sv_handler = oact.sa_handler; 204 ovec->sv_mask = set2mask(&oact.sa_mask); 206 if (oact.sa_flags & SA_ONSTACK) 208 if (oact.sa_flags & SA_RESETHAND) 210 if (!(oact.sa_flags & SA_RESTART))
|
/illumos-gate/usr/src/cmd/csh/sparc/ |
H A D | signal.c | 184 struct sigaction oact; local 218 if (_sigaction(sig, nactp, &oact) < 0) { 224 if (oact.sa_handler == SIG_DFL || oact.sa_handler == SIG_IGN) 225 ovec->sv_handler = oact.sa_handler; 228 ovec->sv_mask = set2mask(&oact.sa_mask); 230 if (oact.sa_flags & SA_ONSTACK) 232 if (oact.sa_flags & SA_RESETHAND) 234 if (!(oact.sa_flags & SA_RESTART))
|
/illumos-gate/usr/src/lib/libinstzones/common/ |
H A D | zones_exec.c | 677 struct sigaction oact; local 880 if (sigaction(SIGINT, &nact, &oact) < 0) { 883 funcSigint = oact.sa_handler; 892 if (sigaction(SIGHUP, &nact, &oact) < 0) { 895 funcSighup = oact.sa_handler;
|
H A D | zones.c | 2044 struct sigaction oact; local 2192 if (sigaction(SIGINT, &nact, &oact) < 0) { 2195 funcSigint = oact.sa_handler; 2204 if (sigaction(SIGHUP, &nact, &oact) < 0) { 2207 funcSighup = oact.sa_handler;
|
/illumos-gate/usr/src/ucblib/libucb/i386/sys/ |
H A D | signal.c | 259 struct sigaction oact; local 305 if (_sigaction(sig, nactp, &oact) < 0) { 311 if (oact.sa_handler == SIG_DFL || oact.sa_handler == SIG_IGN) 312 ovec->sv_handler = oact.sa_handler; 315 ovec->sv_mask = set2mask(&oact.sa_mask); 317 if (oact.sa_flags & SA_ONSTACK) 319 if (oact.sa_flags & SA_RESETHAND) 321 if (!(oact.sa_flags & SA_RESTART))
|
/illumos-gate/usr/src/ucblib/libucb/sparc/sys/ |
H A D | signal.c | 456 struct sigaction oact; local 504 if (_sigaction(sig, nactp, &oact) < 0) { 510 if (oact.sa_handler == SIG_DFL || oact.sa_handler == SIG_IGN) 513 oact.sa_handler; 516 ovec->sv_mask = set2mask(&oact.sa_mask); 518 if (oact.sa_flags & SA_ONSTACK) 520 if (oact.sa_flags & SA_RESETHAND) 522 if (!(oact.sa_flags & SA_RESTART))
|
/illumos-gate/usr/src/lib/libc/port/threads/ |
H A D | sigaction.c | 363 sigaction(int sig, const struct sigaction *nact, struct sigaction *oact) argument 438 if ((rv = __sigaction(sig, tactp, oact)) != 0) 440 else if (oact != NULL && 441 oact->sa_sigaction != SIG_DFL && 442 oact->sa_sigaction != SIG_IGN) 443 *oact = oaction;
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | atexit.c | 204 struct sigaction oact; local 222 if (__sigaction(sig, NULL, &oact) == 0 && 223 oact.sa_handler != SIG_DFL && 224 oact.sa_handler != SIG_IGN)
|
/illumos-gate/usr/src/lib/libm/common/m9x/ |
H A D | __fex_hdlr.c | 68 static struct sigaction oact = { 0, SIG_DFL }; variable in typeref:struct:sigaction 262 handler = oact.sa_handler; /* for log; just looking, no need to lock */ 353 act = oact; 431 simd_handler[i] = oact.sa_handler; 534 handler = oact.sa_handler; 625 handler = oact.sa_handler; /* for log; just looking, no need to lock */ 724 act = oact; 824 oact = tmpact;
|
/illumos-gate/usr/src/cmd/svr4pkg/pkgremove/ |
H A D | main.c | 176 struct sigaction oact; local 529 (void) sigaction(SIGINT, &nact, &oact); 537 (void) sigaction(SIGHUP, &nact, &oact);
|
/illumos-gate/usr/src/lib/brand/solaris10/s10_brand/common/ |
H A D | s10_signal.c | 441 int sig, const struct sigaction *act, struct sigaction *oact) 450 sig, act, oact); 465 sig, act, oact); 470 osigactp = ((oact == NULL) ? NULL : &osigact); 487 * here if the oact parameter is bad. 498 if (err == 0 && brand_uucopy(osigactp, oact, 440 s10_sigaction(sysret_t *rval, int sig, const struct sigaction *act, struct sigaction *oact) argument
|
/illumos-gate/usr/src/cmd/svr4pkg/pkgadm/ |
H A D | lock.c | 244 struct sigaction oact; local 511 if (sigaction(SIGINT, &nact, &oact) < 0) { 514 funcSigint = oact.sa_handler; 523 if (sigaction(SIGHUP, &nact, &oact) < 0) { 526 funcSighup = oact.sa_handler;
|
/illumos-gate/usr/src/cmd/svr4pkg/pkginstall/ |
H A D | main.c | 269 struct sigaction oact; local 996 (void) sigaction(SIGINT, &nact, &oact); 1004 (void) sigaction(SIGHUP, &nact, &oact);
|
/illumos-gate/usr/src/cmd/svr4pkg/pkgrm/ |
H A D | main.c | 249 struct sigaction oact; local 586 (void) sigaction(SIGINT, &nact, &oact); 594 (void) sigaction(SIGHUP, &nact, &oact);
|