Home
last modified time | relevance | path

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

12

/titanic_44/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()
H A Dexpand.c191 gp->gl_intr = &shp->trapnote; in path_expand()
H A Dxec.c1258 shp->trapnote |= SH_SIGIGNORE; in sh_exec()
1271 shp->trapnote &= ~SH_SIGIGNORE; in sh_exec()
2204 if(shp->trapnote || (shp->exitval && sh_isstate(SH_ERREXIT)) && in sh_exec()
2236 if(shp->trapnote&SH_SIGSET) in sh_exec()
2448 if(shp->trapnote&SH_SIGTERM) in _sh_fork()
2520 sh.trapnote &= ~SH_SIGTERM; in sh_fork()
2671 shp->trapnote=0; in sh_funscope()
H A Dsubshell.c739 shp->trapnote = 0; in sh_subshell()
/titanic_44/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;
516 #define sigchk() if (trapnote & SIGSET) \
H A Dmain.c396 if (trapnote & TRAPSET) in exfile()
407 trapnote = 0; in exfile()
/titanic_44/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()
H A Dprint.c291 if(shp->trapnote&SH_SIGSET) in b_print()
/titanic_44/usr/src/lib/libshell/common/include/
H A Dshell.h139 unsigned char trapnote; /* set when trap/signal is pending */ member
H A Ddefs.h429 #define sh_sigcheck() do{if(sh.trapnote&SH_SIGSET)sh_exit(SH_EXITSIG);} while(0)
/titanic_44/usr/src/lib/libshell/amd64/include/ast/
H A Dshell.h148 unsigned char trapnote; /* set when trap/signal is pending */ member
/titanic_44/usr/src/lib/libshell/i386/include/ast/
H A Dshell.h148 unsigned char trapnote; /* set when trap/signal is pending */ member
/titanic_44/usr/src/lib/libshell/sparc/include/ast/
H A Dshell.h148 unsigned char trapnote; /* set when trap/signal is pending */ member
/titanic_44/usr/src/lib/libshell/sparcv9/include/ast/
H A Dshell.h148 unsigned char trapnote; /* set when trap/signal is pending */ member
/titanic_44/usr/src/lib/libshell/common/edit/
H A Dcompletion.c313 if(sh.trapnote&SH_SIGSET) in ed_expand()
H A Dedit.c819 if(shp->trapnote&(SH_SIGSET|SH_SIGTRAP)) in ed_read()
900 if(shp->trapnote&(SH_SIGSET|SH_SIGTRAP)) in ed_read()

12