/illumos-gate/usr/src/lib/krb5/ss/ |
H A D | list_rqs.c | 50 struct sigaction nsig, osig; local 70 nsig.sa_handler = SIG_IGN; 71 sigemptyset(&nsig.sa_mask); 72 nsig.sa_flags = 0; 73 sigaction(SIGINT, &nsig, &osig);
|
H A D | listen.c | 149 struct sigaction isig, csig, nsig, osig; local 208 nsig.sa_handler = listen_int_handler; 209 sigemptyset(&nsig.sa_mask); 210 nsig.sa_flags = 0; 211 sigaction(SIGINT, &nsig, &isig); 240 nsig.sa_handler = listen_int_handler; /* fgets is not signal-safe */ 242 sigaction(SIGCONT, &nsig, &csig);
|
/illumos-gate/usr/src/cmd/mail/ |
H A D | main.c | 69 struct sigaction nsig; in main() local 70 nsig.sa_handler = SIG_DFL; in main() 71 sigemptyset(&nsig.sa_mask); in main() 72 nsig.sa_flags = SA_RESTART; in main() 73 (void) sigaction(SIGCONT, &nsig, (struct sigaction *)0); in main()
|
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/sh/ |
H A D | subshell.c | 478 int jmpval,nsig=0,duped=0; in sh_subshell() local 580 if((nsig=shp->st.trapmax*sizeof(char*))>0 || shp->st.trapcom[0]) in sh_subshell() 582 nsig += sizeof(char*); in sh_subshell() 583 memcpy(savsig=malloc(nsig),(char*)&shp->st.trapcom[0],nsig); in sh_subshell() 737 if(nsig) in sh_subshell() 739 memcpy((char*)&shp->st.trapcom[0],savsig,nsig); in sh_subshell() 809 nsig = shp->savesig; in sh_subshell() 811 if(nsig>0) in sh_subshell() 812 kill(getpid(),nsig); in sh_subshell()
|
H A D | xec.c | 1996 int nsig,jmpval; in sh_exec() local 1999 if((nsig=shp->st.trapmax*sizeof(char*))>0 || shp->st.trapcom[0]) in sh_exec() 2001 nsig += sizeof(char*); in sh_exec() 2002 memcpy(savsig=malloc(nsig),(char*)&shp->st.trapcom[0],nsig); in sh_exec() 3339 register int nsig; in sh_funscope() local 3396 if((nsig=shp->st.trapmax*sizeof(char*))>0 || shp->st.trapcom[0]) in sh_funscope() 3398 nsig += sizeof(char*); in sh_funscope() 3399 memcpy(savstak=stakalloc(nsig),(char*)&shp->st.trapcom[0],nsig); in sh_funscope() 3465 if(nsig) in sh_funscope() 3466 memcpy((char*)&shp->st.trapcom[0],savstak,nsig); in sh_funscope() [all …]
|
/illumos-gate/usr/src/cmd/krb5/kadmin/cli/ |
H A D | kadmin.c | 1634 struct sigaction nsig, osig; local 1659 nsig.sa_handler = SIG_IGN; 1660 sigemptyset(&nsig.sa_mask); 1661 nsig.sa_flags = 0; 1662 sigaction(SIGINT, &nsig, &osig); 1925 struct sigaction nsig, osig; local 1954 if (sigemptyset(&nsig.sa_mask) == -1) { 1966 nsig.sa_handler = SIG_IGN; 1967 nsig.sa_flags = 0; 1968 if (sigaction(SIGINT, &nsig, &osig) == -1) {
|
/illumos-gate/usr/src/cmd/mailx/ |
H A D | collect.c | 755 struct sigaction nsig; in resetsigs() local 756 nsig.sa_handler = (void (*)())savecont; in resetsigs() 757 sigemptyset(&nsig.sa_mask); in resetsigs() 758 nsig.sa_flags = SA_RESTART; in resetsigs() 759 (void) sigaction(SIGCONT, &nsig, (struct sigaction*)0); in resetsigs()
|
/illumos-gate/usr/src/lib/libc/port/fp/ |
H A D | double_decim.c | 83 __big_binary_to_big_decimal(_big_float *pb, int nsig, _big_float **ppd, in __big_binary_to_big_decimal() argument 150 __big_float_times_power(pd, 2, pb->bexponent, nsig, ppd); in __big_binary_to_big_decimal()
|
H A D | decimal_bin.c | 52 __big_decimal_to_big_binary(_big_float *pd, int nsig, _big_float **ppb, in __big_decimal_to_big_binary() argument 135 __big_float_times_power(pb, 10, pd->bexponent, nsig, ppb); in __big_decimal_to_big_binary()
|
/illumos-gate/usr/src/uts/common/fs/proc/ |
H A D | prcontrol.c | 1522 int nsig = PROC_IS_BRANDED(curproc)? BROP(curproc)->b_nsig : NSIG; in pr_setsig() local 1533 if (sig < 0 || sig >= nsig) in pr_setsig() 1651 int nsig = PROC_IS_BRANDED(curproc)? BROP(curproc)->b_nsig : NSIG; in pr_kill() local 1656 if (sig <= 0 || sig >= nsig) in pr_kill() 1675 int nsig = PROC_IS_BRANDED(curproc)? BROP(curproc)->b_nsig : NSIG; in pr_unkill() local 1680 if (sig <= 0 || sig >= nsig || sig == SIGKILL) in pr_unkill()
|
H A D | prioctl.c | 150 int nsig = PROC_IS_BRANDED(curproc)? BROP(curproc)->b_nsig : NSIG; in prioctl64() local 261 thingsize = (nsig-1) * sizeof (struct sigaction); in prioctl64() 880 int n = nsig-1; in prioctl64() 894 for (sig = 1; sig < nsig; sig++) in prioctl64() 897 if (copyout(sap, cmaddr, (nsig-1) * sizeof (struct sigaction))) in prioctl64() 1643 int nsig = PROC_IS_BRANDED(curproc)? BROP(curproc)->b_nsig : NSIG; in prioctl32() local 1779 thingsize = (nsig-1) * sizeof (struct sigaction32); in prioctl32() 2450 int n = nsig-1; in prioctl32() 2467 for (sig = 1; sig < nsig; sig++) in prioctl32() 2472 copyout(sap, cmaddr, (nsig-1)*sizeof (struct sigaction32))) in prioctl32()
|
H A D | prvnops.c | 1098 int nsig = PROC_IS_BRANDED(curproc)? BROP(curproc)->b_nsig : NSIG; in pr_read_sigact() local 1111 sap = kmem_alloc((nsig-1) * sizeof (struct sigaction), KM_SLEEP); in pr_read_sigact() 1118 if (uiop->uio_offset >= (nsig-1)*sizeof (struct sigaction)) { in pr_read_sigact() 1124 for (sig = 1; sig < nsig; sig++) in pr_read_sigact() 1128 error = pr_uioread(sap, (nsig - 1) * sizeof (struct sigaction), uiop); in pr_read_sigact() 1130 kmem_free(sap, (nsig-1) * sizeof (struct sigaction)); in pr_read_sigact() 2241 int nsig = PROC_IS_BRANDED(curproc)? BROP(curproc)->b_nsig : NSIG; in pr_read_sigact_32() local 2254 sap = kmem_alloc((nsig-1) * sizeof (struct sigaction32), KM_SLEEP); in pr_read_sigact_32() 2266 if (uiop->uio_offset >= (nsig-1) * sizeof (struct sigaction32)) { in pr_read_sigact_32() 2272 for (sig = 1; sig < nsig; sig++) in pr_read_sigact_32() [all …]
|
H A D | prsubr.c | 1355 int nsig = PROC_IS_BRANDED(curproc)? BROP(curproc)->b_nsig : NSIG; in prgetaction() local 1359 if (sig != 0 && (unsigned)sig < nsig) { in prgetaction() 1385 int nsig = PROC_IS_BRANDED(curproc)? BROP(curproc)->b_nsig : NSIG; in prgetaction32() local 1389 if (sig != 0 && (unsigned)sig < nsig) { in prgetaction32()
|
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/ |
H A D | gcore.c | 1120 int nsig = NSIG; in gcore_prgetaction() local 1124 if (sig != 0 && (unsigned)sig < nsig) { in gcore_prgetaction()
|