/titanic_41/usr/src/lib/libbc/libc/sys/common/ |
H A D | sigaction.c | 68 sigaction(sig, act, oact) in sigaction() argument 70 struct sigaction *act, *oact; 115 if ((oact != NULL) && (ret != -1)) { 116 oact->sa_flags = 0; 118 oact->sa_flags |= SA_ONSTACK; 120 oact->sa_flags |= SA_RESETHAND; 122 oact->sa_flags |= SA_NOCLDSTOP; 124 oact->sa_flags |= SA_INTERRUPT; 127 oact->sa_handler = S5_oact.sa_handler; 129 oact->sa_handler = oldhand; [all …]
|
/titanic_41/usr/src/lib/libproc/common/ |
H A D | pr_sigaction.c | 45 int sig, const struct sigaction *act, struct sigaction *oact) in pr_sigaction() argument 57 return (sigaction(sig, act, oact)); in pr_sigaction() 93 if (oact == NULL) { in pr_sigaction() 106 adp->arg_object = oact; in pr_sigaction() 107 adp->arg_size = sizeof (*oact); in pr_sigaction() 110 adp->arg_object = oact; in pr_sigaction() 111 adp->arg_size = sizeof (*oact); in pr_sigaction() 122 if (oact != NULL && Pstatus(Pr)->pr_dmodel == PR_MODEL_ILP32) in pr_sigaction() 123 sigaction_32_to_n(&oact32, oact); in pr_sigaction()
|
/titanic_41/usr/src/cmd/csh/i386/ |
H A D | signal.c | 162 struct sigaction oact; in sigvec() local 196 if (_sigaction(sig, nactp, &oact) < 0) { in sigvec() 202 if (oact.sa_handler == SIG_DFL || oact.sa_handler == SIG_IGN) in sigvec() 203 ovec->sv_handler = oact.sa_handler; in sigvec() 206 ovec->sv_mask = set2mask(&oact.sa_mask); in sigvec() 208 if (oact.sa_flags & SA_ONSTACK) in sigvec() 210 if (oact.sa_flags & SA_RESETHAND) in sigvec() 212 if (!(oact.sa_flags & SA_RESTART)) in sigvec()
|
/titanic_41/usr/src/lib/libc/port/sys/ |
H A D | signal.c | 68 struct sigaction oact; in signal() local 89 if (sigaction(sig, &nact, &oact) < 0) in signal() 92 return (oact.sa_handler); in signal() 186 struct sigaction oact; in sigset() local 200 if (sigaction(sig, (struct sigaction *)0, &oact) < 0) in sigset() 219 if (sigaction(sig, &nact, &oact) < 0) in sigset() 231 return (oact.sa_handler); in sigset()
|
H A D | bsd_signal.c | 50 struct sigaction oact; in bsd_signal() local 59 if (sigaction(sig, &nact, &oact) == -1) in bsd_signal() 62 return (oact.sa_handler); in bsd_signal()
|
/titanic_41/usr/src/cmd/csh/sparc/ |
H A D | signal.c | 186 struct sigaction oact; in sigvec() local 220 if (_sigaction(sig, nactp, &oact) < 0) { in sigvec() 226 if (oact.sa_handler == SIG_DFL || oact.sa_handler == SIG_IGN) in sigvec() 227 ovec->sv_handler = oact.sa_handler; in sigvec() 230 ovec->sv_mask = set2mask(&oact.sa_mask); in sigvec() 232 if (oact.sa_flags & SA_ONSTACK) in sigvec() 234 if (oact.sa_flags & SA_RESETHAND) in sigvec() 236 if (!(oact.sa_flags & SA_RESTART)) in sigvec()
|
/titanic_41/usr/src/uts/common/syscall/ |
H A D | sigaction.c | 46 struct sigaction oact; in sigaction() local 109 oact.sa_handler = disp; in sigaction() 110 oact.sa_flags = flags; in sigaction() 111 sigktou(&set, &oact.sa_mask); in sigaction() 127 copyout(&oact, oactp, sizeof (oact))) in sigaction()
|
/titanic_41/usr/src/ucblib/libucb/i386/sys/ |
H A D | signal.c | 259 struct sigaction oact; in ucbsigvec() local 305 if (_sigaction(sig, nactp, &oact) < 0) { in ucbsigvec() 311 if (oact.sa_handler == SIG_DFL || oact.sa_handler == SIG_IGN) in ucbsigvec() 312 ovec->sv_handler = oact.sa_handler; in ucbsigvec() 315 ovec->sv_mask = set2mask(&oact.sa_mask); in ucbsigvec() 317 if (oact.sa_flags & SA_ONSTACK) in ucbsigvec() 319 if (oact.sa_flags & SA_RESETHAND) in ucbsigvec() 321 if (!(oact.sa_flags & SA_RESTART)) in ucbsigvec()
|
/titanic_41/usr/src/lib/libpkg/common/ |
H A D | pkgexecv.c | 145 struct sigaction oact; in pkgexecv() local 228 if (sigaction(SIGINT, &nact, &oact) < 0) { in pkgexecv() 231 funcSigint = oact.sa_handler; in pkgexecv() 240 if (sigaction(SIGHUP, &nact, &oact) < 0) { in pkgexecv() 243 funcSighup = oact.sa_handler; in pkgexecv()
|
H A D | pkgtrans.c | 638 struct sigaction oact; in pkgtrans() local 655 if (sigaction(SIGINT, &nact, &oact) < 0) { in pkgtrans() 658 sigintHandler = oact.sa_handler; in pkgtrans() 667 if (sigaction(SIGHUP, &nact, &oact) < 0) { in pkgtrans() 670 sighupHandler = oact.sa_handler; in pkgtrans()
|
/titanic_41/usr/src/cmd/sh/ |
H A D | fault.c | 250 struct sigaction act, oact; local 265 sigaction(sig, &act, &oact); 281 ret = (func != oact.sa_handler); 434 struct sigaction act, oact; in sh_sleep() local 452 sigaction(SIGALRM, &act, &oact); in sh_sleep() 468 sigaction(SIGALRM, &oact, NULL); in sh_sleep()
|
/titanic_41/usr/src/cmd/oplhpd/ |
H A D | oplhpd.c | 111 struct sigaction act, oact; in set_sig_handler() local 119 (void) sigemptyset(&oact.sa_mask); in set_sig_handler() 120 if (sigaction(sig, &act, &oact) < 0) { in set_sig_handler() 124 return (oact.sa_handler); in set_sig_handler()
|
/titanic_41/usr/src/cmd/sgs/libld/common/ |
H A D | exit.c | 138 struct sigaction nact, oact; in ld_init_sighandler() local 166 if ((sigaction(sigs->signo, NULL, &oact) == 0) && in ld_init_sighandler() 167 (oact.sa_handler != SIG_IGN)) { in ld_init_sighandler()
|
/titanic_41/usr/src/ucblib/libucb/sparc/sys/ |
H A D | signal.c | 456 struct sigaction oact; in ucbsigvec() local 504 if (_sigaction(sig, nactp, &oact) < 0) { in ucbsigvec() 510 if (oact.sa_handler == SIG_DFL || oact.sa_handler == SIG_IGN) in ucbsigvec() 513 oact.sa_handler; in ucbsigvec() 516 ovec->sv_mask = set2mask(&oact.sa_mask); in ucbsigvec() 518 if (oact.sa_flags & SA_ONSTACK) in ucbsigvec() 520 if (oact.sa_flags & SA_RESETHAND) in ucbsigvec() 522 if (!(oact.sa_flags & SA_RESTART)) in ucbsigvec()
|
/titanic_41/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);
|
/titanic_41/usr/src/lib/libc/port/gen/ |
H A D | atexit.c | 200 struct sigaction oact; in _preexec_sig_unload() local 218 if (__sigaction(sig, NULL, &oact) == 0 && in _preexec_sig_unload() 219 oact.sa_handler != SIG_DFL && in _preexec_sig_unload() 220 oact.sa_handler != SIG_IGN) in _preexec_sig_unload()
|
/titanic_41/usr/src/lib/libm/common/m9x/ |
H A D | __fex_hdlr.c | 68 static struct sigaction oact = { 0, SIG_DFL }; variable 262 handler = oact.sa_handler; /* for log; just looking, no need to lock */ in __fex_hdlr() 353 act = oact; in __fex_hdlr() 431 simd_handler[i] = oact.sa_handler; in __fex_hdlr() 534 handler = oact.sa_handler; in __fex_hdlr() 625 handler = oact.sa_handler; /* for log; just looking, no need to lock */ in __fex_hdlr() 724 act = oact; in __fex_hdlr() 824 oact = tmpact; in __fex_update_te()
|
/titanic_41/usr/src/lib/libinstzones/common/ |
H A D | zones_exec.c | 677 struct sigaction oact; in _z_zone_exec() local 880 if (sigaction(SIGINT, &nact, &oact) < 0) { in _z_zone_exec() 883 funcSigint = oact.sa_handler; in _z_zone_exec() 892 if (sigaction(SIGHUP, &nact, &oact) < 0) { in _z_zone_exec() 895 funcSighup = oact.sa_handler; in _z_zone_exec()
|
H A D | zones.c | 2044 struct sigaction oact; in z_zone_exec() local 2192 if (sigaction(SIGINT, &nact, &oact) < 0) { in z_zone_exec() 2195 funcSigint = oact.sa_handler; in z_zone_exec() 2204 if (sigaction(SIGHUP, &nact, &oact) < 0) { in z_zone_exec() 2207 funcSighup = oact.sa_handler; in z_zone_exec()
|
/titanic_41/usr/src/lib/libc/port/threads/ |
H A D | sigaction.c | 363 sigaction(int sig, const struct sigaction *nact, struct sigaction *oact) in sigaction() argument 438 if ((rv = __sigaction(sig, tactp, oact)) != 0) in sigaction() 440 else if (oact != NULL && in sigaction() 441 oact->sa_sigaction != SIG_DFL && in sigaction() 442 oact->sa_sigaction != SIG_IGN) in sigaction() 443 *oact = oaction; in sigaction()
|
/titanic_41/usr/src/lib/brand/solaris10/s10_brand/common/ |
H A D | s10_signal.c | 441 int sig, const struct sigaction *act, struct sigaction *oact) in s10_sigaction() argument 450 sig, act, oact); in s10_sigaction() 465 sig, act, oact); in s10_sigaction() 470 osigactp = ((oact == NULL) ? NULL : &osigact); in s10_sigaction() 498 if (err == 0 && brand_uucopy(osigactp, oact, in s10_sigaction()
|
/titanic_41/usr/src/cmd/mdb/common/kmdb/ |
H A D | kmdb_stubs.c | 115 sigaction(int sig, const struct sigaction *act, struct sigaction *oact) in sigaction() argument
|
/titanic_41/usr/src/cmd/svr4pkg/pkgremove/ |
H A D | main.c | 176 struct sigaction oact; in main() local 529 (void) sigaction(SIGINT, &nact, &oact); in main() 537 (void) sigaction(SIGHUP, &nact, &oact); in main()
|
/titanic_41/usr/src/cmd/svr4pkg/pkgadm/ |
H A D | lock.c | 244 struct sigaction oact; in admin_lock() local 511 if (sigaction(SIGINT, &nact, &oact) < 0) { in admin_lock() 514 funcSigint = oact.sa_handler; in admin_lock() 523 if (sigaction(SIGHUP, &nact, &oact) < 0) { in admin_lock() 526 funcSighup = oact.sa_handler; in admin_lock()
|
/titanic_41/usr/src/cmd/dtrace/ |
H A D | dtrace.c | 1164 struct sigaction act, oact; in main() local 1785 if (sigaction(SIGINT, NULL, &oact) == 0 && oact.sa_handler != SIG_IGN) in main() 1788 if (sigaction(SIGTERM, NULL, &oact) == 0 && oact.sa_handler != SIG_IGN) in main()
|