Lines Matching refs:nsap
909 struct sigaction *nsap, *osap;
915 nsap = (uap->nsa != NULL) ? &nsa : NULL;
918 if (nsap) {
922 nsap->sa_handler = sa.sa_handler;
923 nsap->sa_flags = sa.sa_flags;
924 OSIG2SIG(sa.sa_mask, nsap->sa_mask);
926 error = kern_sigaction(td, uap->signum, nsap, osap, KSA_OSIGSET);
1457 struct sigaction *nsap, *osap;
1462 nsap = (uap->nsv != NULL) ? &nsa : NULL;
1464 if (nsap) {
1468 nsap->sa_handler = vec.sv_handler;
1469 OSIG2SIG(vec.sv_mask, nsap->sa_mask);
1470 nsap->sa_flags = vec.sv_flags;
1471 nsap->sa_flags ^= SA_RESTART; /* opposite of SV_INTERRUPT */
1473 error = kern_sigaction(td, uap->signum, nsap, osap, KSA_OSIGSET);