/titanic_51/usr/src/lib/libshell/common/sh/ |
H A D | fault.c | 96 shp->trapnote |= SH_SIGTRAP; in sh_fault() 114 if(sig==SIGINT && (shp->trapnote&SH_SIGIGNORE)) in sh_fault() 125 shp->trapnote |= SH_SIGTERM; in sh_fault() 143 shp->trapnote |= SH_SIGSET; in sh_fault() 178 shp->trapnote |= SH_SIGTSTP; in sh_fault() 199 shp->trapnote |= flag; in sh_fault() 349 sh.trapnote=0; in sh_sigreset() 380 if(!(sh.trapnote&~SH_SIGIGNORE)) in sh_chktrap() 382 sh.trapnote &= ~SH_SIGTRAP; in sh_chktrap() 386 int sav_trapnote = sh.trapnote; in sh_chktrap() [all …]
|
H A D | jobs.c | 186 int oldexit,trapnote; in job_chldtrap() local 189 trapnote = shp->trapnote; in job_chldtrap() 190 shp->trapnote = 0; in job_chldtrap() 209 shp->trapnote = trapnote; in job_chldtrap() 391 sh.trapnote |= SH_SIGTRAP; in job_reap() 424 sh.trapnote |= SH_SIGTRAP; in job_reap() 1440 if((intr && sh.trapnote) || (pid==1 && !intr)) in job_wait()
|
H A D | io.c | 649 if (sh->trapnote&SH_SIGSET) in onintr() 655 if (sh->trapnote) in onintr() 758 if(errno!=EINTR || sh.trapnote) in sh_open() 1616 if((sh.trapnote&(SH_SIGSET|SH_SIGTRAP)) && errno!=EIO && errno!=ENXIO) in slowexcept() 1650 if(sh.trapnote&SH_SIGSET) in slowexcept() 1656 if(sh.trapnote&SH_SIGTRAP) in slowexcept() 1675 sh.trapnote |= SH_SIGSET; in time_grace() 1681 sh.trapnote |= SH_SIGTRAP; in time_grace() 1693 if(sh.trapnote) in piperead() 1735 if(sh.trapnote) in slowread() [all …]
|
H A D | main.c | 91 if(shp->trapnote&SH_SIGSET) in fts_sigcheck() 475 shp->trapnote = 0; in exfile() 538 shp->trapnote = 0; in exfile()
|
/titanic_51/usr/src/contrib/ast/src/cmd/ksh93/sh/ |
H A D | fault.c | 99 shp->trapnote |= SH_SIGTRAP; in sh_fault() 117 if(sig==SIGINT && (shp->trapnote&SH_SIGIGNORE)) in sh_fault() 133 shp->trapnote |= SH_SIGTERM; in sh_fault() 154 shp->trapnote |= SH_SIGSET; in sh_fault() 189 shp->trapnote |= SH_SIGTSTP; in sh_fault() 210 shp->trapnote |= flag; in sh_fault() 360 sh.trapnote=0; in sh_sigreset() 391 if(!(shp->trapnote&~SH_SIGIGNORE)) in sh_chktrap() 393 shp->trapnote &= ~SH_SIGTRAP; in sh_chktrap() 397 int sav_trapnote = shp->trapnote; in sh_chktrap() [all...] |
H A D | jobs.c | 203 int oldexit,trapnote; in job_chldtrap() local 206 trapnote = shp->trapnote; in job_chldtrap() 207 shp->trapnote = 0; in job_chldtrap() 226 shp->trapnote = trapnote; in job_chldtrap() 526 shp->trapnote |= SH_SIGTRAP; in job_reap() 559 shp->trapnote |= SH_SIGTRAP; in job_reap() 1682 if((intr && shp->trapnote) || (pid==1 && !intr)) in job_wait() 1685 if(intr && shp->trapnote) in job_wait() [all...] |
H A D | io.c | 725 if (sh->trapnote&SH_SIGSET) in onintr() 731 if (sh->trapnote) in onintr() 845 if(errno!=EINTR || shp->trapnote) in sh_open() 1892 if((shp->trapnote&(SH_SIGSET|SH_SIGTRAP)) && errno!=EIO && errno!=ENXIO) in slowexcept() 1918 else if(shp->bltinfun && (shp->trapnote&SH_SIGTRAP) && shp->lastsig) in slowexcept() 1928 if(shp->trapnote&SH_SIGSET) in slowexcept() 1934 if(shp->trapnote&SH_SIGTRAP) in slowexcept() 1953 shp->trapnote |= SH_SIGSET; in time_grace() 1959 shp->trapnote |= SH_SIGTRAP; in time_grace() 1971 if(shp->trapnote) in piperead() [all...] |
/titanic_51/usr/src/cmd/sh/ |
H A D | fault.c | 240 trapnote |= flag; in fault() 336 trapnote = 0; in oldsigs() 349 trapnote &= ~TRAPSET; in chktrap()
|
H A D | expand.c | 71 if (trapnote & SIGSET) in expand() 173 while ((e = readdir(dirf)) && (trapnote & SIGSET) == 0) { in expand()
|
H A D | word.c | 420 if (trapnote & SIGSET) { in readb() 423 } else if ((trapnote & TRAPSET) && (rwait > 0)) { in readb() 428 } while ((len = read(f->fdes, f->fbuf + rest, toread)) < 0 && trapnote); in readb()
|
H A D | defs.c | 85 BOOL trapnote; variable
|
H A D | defs.h | 398 extern BOOL trapnote; 512 * `trapnote' is set to SIGSET when fault is seen and 516 #define sigchk() if (trapnote & SIGSET) \
|
H A D | main.c | 396 if (trapnote & TRAPSET) in exfile() 407 trapnote = 0; in exfile()
|
/titanic_51/usr/src/lib/libshell/common/bltins/ |
H A D | sleep.c | 144 shp->trapnote &= ~SH_SIGSET; in sleep() 170 if (shp->trapnote & (SH_SIGSET | SH_SIGTRAP)) return; in sh_delay()
|
H A D | trap.c | 125 shp->trapnote |= SH_SIGTRAP; in b_trap() 127 shp->trapnote = 0; in b_trap()
|
H A D | alarm.c | 120 tp->sh->trapnote |= SH_SIGALRM; in trap_timeout()
|
/titanic_51/usr/src/contrib/ast/src/cmd/ksh93/bltins/ |
H A D | sleep.c | 154 shp->trapnote &= ~SH_SIGSET; in sleep() 180 if (shp->trapnote & (SH_SIGSET | SH_SIGTRAP)) return; in sh_delay()
|
H A D | trap.c | 127 shp->trapnote |= SH_SIGTRAP; in b_trap() 129 shp->trapnote = 0; in b_trap()
|
H A D | alarm.c | 120 tp->sh->trapnote |= SH_SIGALRM; in trap_timeout()
|
/titanic_51/usr/src/lib/libshell/common/include/ |
H A D | shell.h | 139 unsigned char trapnote; /* set when trap/signal is pending */ member
|
/titanic_51/usr/src/contrib/ast/src/cmd/ksh93/include/ |
H A D | shell.h | 145 unsigned char trapnote; /* set when trap/signal is pending */ member
|
/titanic_51/usr/src/lib/libshell/amd64/include/ast/ |
H A D | shell.h | 148 unsigned char trapnote; /* set when trap/signal is pending */ member
|
/titanic_51/usr/src/lib/libshell/i386/include/ast/ |
H A D | shell.h | 148 unsigned char trapnote; /* set when trap/signal is pending */ member
|
/titanic_51/usr/src/lib/libshell/sparc/include/ast/ |
H A D | shell.h | 148 unsigned char trapnote; /* set when trap/signal is pending */ member
|
/titanic_51/usr/src/lib/libshell/sparcv9/include/ast/ |
H A D | shell.h | 148 unsigned char trapnote; /* set when trap/signal is pending */ member
|