Lines Matching refs:nsap
896 struct sigaction *nsap, *osap;
902 nsap = (uap->nsa != NULL) ? &nsa : NULL;
905 if (nsap) {
909 nsap->sa_handler = sa.sa_handler;
910 nsap->sa_flags = sa.sa_flags;
911 OSIG2SIG(sa.sa_mask, nsap->sa_mask);
913 error = kern_sigaction(td, uap->signum, nsap, osap, KSA_OSIGSET);
1434 struct sigaction *nsap, *osap;
1439 nsap = (uap->nsv != NULL) ? &nsa : NULL;
1441 if (nsap) {
1445 nsap->sa_handler = vec.sv_handler;
1446 OSIG2SIG(vec.sv_mask, nsap->sa_mask);
1447 nsap->sa_flags = vec.sv_flags;
1448 nsap->sa_flags ^= SA_RESTART; /* opposite of SV_INTERRUPT */
1450 error = kern_sigaction(td, uap->signum, nsap, osap, KSA_OSIGSET);