Home
last modified time | relevance | path

Searched refs:trapnote (Results 1 – 25 of 44) sorted by relevance

12

/titanic_51/usr/src/lib/libshell/common/sh/
H A Dfault.c96 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 Djobs.c186 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 Dio.c649 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 Dmain.c91 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 Dfault.c99 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 Djobs.c203 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 Dio.c725 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 Dfault.c240 trapnote |= flag; in fault()
336 trapnote = 0; in oldsigs()
349 trapnote &= ~TRAPSET; in chktrap()
H A Dexpand.c71 if (trapnote & SIGSET) in expand()
173 while ((e = readdir(dirf)) && (trapnote & SIGSET) == 0) { in expand()
H A Dword.c420 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 Ddefs.c85 BOOL trapnote; variable
H A Ddefs.h398 extern BOOL trapnote;
512 * `trapnote' is set to SIGSET when fault is seen and
516 #define sigchk() if (trapnote & SIGSET) \
H A Dmain.c396 if (trapnote & TRAPSET) in exfile()
407 trapnote = 0; in exfile()
/titanic_51/usr/src/lib/libshell/common/bltins/
H A Dsleep.c144 shp->trapnote &= ~SH_SIGSET; in sleep()
170 if (shp->trapnote & (SH_SIGSET | SH_SIGTRAP)) return; in sh_delay()
H A Dtrap.c125 shp->trapnote |= SH_SIGTRAP; in b_trap()
127 shp->trapnote = 0; in b_trap()
H A Dalarm.c120 tp->sh->trapnote |= SH_SIGALRM; in trap_timeout()
/titanic_51/usr/src/contrib/ast/src/cmd/ksh93/bltins/
H A Dsleep.c154 shp->trapnote &= ~SH_SIGSET; in sleep()
180 if (shp->trapnote & (SH_SIGSET | SH_SIGTRAP)) return; in sh_delay()
H A Dtrap.c127 shp->trapnote |= SH_SIGTRAP; in b_trap()
129 shp->trapnote = 0; in b_trap()
H A Dalarm.c120 tp->sh->trapnote |= SH_SIGALRM; in trap_timeout()
/titanic_51/usr/src/lib/libshell/common/include/
H A Dshell.h139 unsigned char trapnote; /* set when trap/signal is pending */ member
/titanic_51/usr/src/contrib/ast/src/cmd/ksh93/include/
H A Dshell.h145 unsigned char trapnote; /* set when trap/signal is pending */ member
/titanic_51/usr/src/lib/libshell/amd64/include/ast/
H A Dshell.h148 unsigned char trapnote; /* set when trap/signal is pending */ member
/titanic_51/usr/src/lib/libshell/i386/include/ast/
H A Dshell.h148 unsigned char trapnote; /* set when trap/signal is pending */ member
/titanic_51/usr/src/lib/libshell/sparc/include/ast/
H A Dshell.h148 unsigned char trapnote; /* set when trap/signal is pending */ member
/titanic_51/usr/src/lib/libshell/sparcv9/include/ast/
H A Dshell.h148 unsigned char trapnote; /* set when trap/signal is pending */ member

12