Home
last modified time | relevance | path

Searched refs:SH_MONITOR (Results 1 – 25 of 26) sorted by relevance

12

/titanic_51/usr/src/lib/libshell/common/sh/
H A Dmain.c215 sh_onoption(SH_MONITOR); in sh_main()
428 sh_offoption(SH_MONITOR); in exfile()
431 sh_offstate(SH_MONITOR); in exfile()
453 sh_offstate(SH_MONITOR); in exfile()
503 sh_offstate(SH_MONITOR); in exfile()
509 sh_offstate(SH_MONITOR); in exfile()
510 if(sh_isoption(SH_MONITOR)) in exfile()
511 sh_onstate(SH_MONITOR); in exfile()
H A Dxec.c678 int was_monitor = sh_isstate(SH_MONITOR); in sh_exec()
693 sh_onstate(SH_MONITOR); in sh_exec()
1186 sh_offstate(SH_MONITOR); in sh_exec()
1189 sh_offstate(SH_MONITOR); in sh_exec()
1254 if(!sh_isoption(SH_MONITOR)) in sh_exec()
1269 if(!sh_isoption(SH_MONITOR)) in sh_exec()
1303 if((type&FINT) && !sh_isstate(SH_MONITOR)) in sh_exec()
1314 sh_offstate(SH_MONITOR); in sh_exec()
1507 job.waitall |= !pipejob && sh_isstate(SH_MONITOR); in sh_exec()
1549 if(!pipejob && sh_isstate(SH_MONITOR)) in sh_exec()
[all …]
H A Dsubshell.c216 sh_offoption(SH_MONITOR); in sh_subfork()
217 sh_offstate(SH_MONITOR); in sh_subfork()
546 sp->monitor = (sh_isstate(SH_MONITOR)!=0); in sh_subshell()
548 sh_offstate(SH_MONITOR); in sh_subshell()
600 sh_onstate(SH_MONITOR); in sh_subshell()
H A Dargs.c73 SH_KEYWORD, SH_MONITOR, SH_NOEXEC, SH_PRIVILEGED, SH_SFLAG, SH_TFLAG,
812 if(monitor = (sh_isstate(SH_MONITOR)!=0)) in sh_argprocsub()
813 sh_offstate(SH_MONITOR); in sh_argprocsub()
827 sh_onstate(SH_MONITOR); in sh_argprocsub()
H A Dfault.c514 if(!shp->subshell && sh_isstate(SH_MONITOR) && !sh_isstate(SH_STOPOK)) in sh_exit()
520 sh_onstate(SH_MONITOR); in sh_exit()
541 sh_offstate(SH_MONITOR); in sh_exit()
/titanic_51/usr/src/contrib/ast/src/cmd/ksh93/sh/
H A Dmain.c199 sh_onoption(SH_MONITOR); in sh_main()
416 sh_offoption(SH_MONITOR); in exfile()
419 sh_offstate(SH_MONITOR); in exfile()
441 sh_offstate(SH_MONITOR); in exfile()
494 sh_offstate(SH_MONITOR); in exfile()
500 sh_offstate(SH_MONITOR); in exfile()
501 if(sh_isoption(SH_MONITOR)) in exfile()
502 sh_onstate(SH_MONITOR); in exfile()
H A Dsubshell.c211 sh_offoption(SH_MONITOR); in sh_subfork()
212 sh_offstate(SH_MONITOR); in sh_subfork()
601 sp->monitor = (sh_isstate(SH_MONITOR)!=0); in sh_subshell()
603 sh_offstate(SH_MONITOR); in sh_subshell()
662 sh_onstate(SH_MONITOR); in sh_subshell()
H A Dxec.c999 volatile int was_monitor = sh_isstate(SH_MONITOR); in sh_exec()
1016 sh_onstate(SH_MONITOR); in sh_exec()
1626 sh_offstate(SH_MONITOR); in sh_exec()
1629 sh_offstate(SH_MONITOR); in sh_exec()
1735 if(!sh_isoption(SH_MONITOR)) in sh_exec()
1749 if(!sh_isoption(SH_MONITOR)) in sh_exec()
1789 if((type&FINT) && !sh_isstate(SH_MONITOR)) in sh_exec()
1800 sh_offstate(SH_MONITOR); in sh_exec()
2093 job.waitall |= !pipejob && sh_isstate(SH_MONITOR); in sh_exec()
2172 if(sh_isstate(SH_MONITOR)) in sh_exec()
[all...]
H A Dargs.c76 SH_KEYWORD, SH_MONITOR, SH_NOEXEC, SH_PRIVILEGED, SH_SFLAG, SH_TFLAG,
815 if(monitor = (sh_isstate(SH_MONITOR)!=0)) in sh_argprocsub()
816 sh_offstate(SH_MONITOR); in sh_argprocsub()
830 sh_onstate(SH_MONITOR); in sh_argprocsub()
H A Dfault.c527 if(!shp->subshell && sh_isstate(SH_MONITOR) && !sh_isstate(SH_STOPOK)) in sh_exit()
533 sh_onstate(SH_MONITOR); in sh_exit()
556 sh_offstate(SH_MONITOR); in sh_exit()
H A Djobs.c735 sh_onoption(SH_MONITOR); in job_init()
753 else if(!possible && (!sh_isstate(SH_MONITOR) || sh_isstate(SH_FORKED))) in job_close()
1419 job.curpgid = sh_isstate(SH_MONITOR)?pid:0; in job_post()
1430 if(sh_isstate(SH_MONITOR)) in job_post()
/titanic_51/usr/src/lib/libshell/common/include/
H A Djobs.h52 # undef SH_MONITOR
53 # define SH_MONITOR 0 macro
H A Dshell.h62 #define SH_MONITOR 4 /* used also as a state */ macro
/titanic_51/usr/src/contrib/ast/src/cmd/ksh93/include/
H A Djobs.h68 # undef SH_MONITOR
69 # define SH_MONITOR 0 macro
H A Dshell.h67 #define SH_MONITOR 4 /* used also as a state */ macro
/titanic_51/usr/src/lib/libshell/common/data/
H A Doptions.c83 "monitor", SH_MONITOR,
/titanic_51/usr/src/contrib/ast/src/cmd/ksh93/data/
H A Doptions.c84 "monitor", SH_MONITOR,
/titanic_51/usr/src/lib/libshell/amd64/include/ast/
H A Dshell.h71 #define SH_MONITOR 4 /* used also as a state */ macro
/titanic_51/usr/src/lib/libshell/i386/include/ast/
H A Dshell.h71 #define SH_MONITOR 4 /* used also as a state */ macro
/titanic_51/usr/src/lib/libshell/sparc/include/ast/
H A Dshell.h71 #define SH_MONITOR 4 /* used also as a state */ macro
/titanic_51/usr/src/lib/libshell/sparcv9/include/ast/
H A Dshell.h71 #define SH_MONITOR 4 /* used also as a state */ macro
/titanic_51/usr/src/lib/libshell/common/bltins/
H A Dmisc.c201 sh_offstate(SH_MONITOR); in b_eval()
416 if(!sh_isoption(SH_MONITOR) || !job.jobcontrol) in b_bg()
H A Dtypeset.c911 if(sh_isoption(SH_MONITOR)) in b_set()
912 sh_onstate(SH_MONITOR); in b_set()
914 sh_offstate(SH_MONITOR); in b_set()
/titanic_51/usr/src/contrib/ast/src/cmd/ksh93/bltins/
H A Dmisc.c201 sh_offstate(SH_MONITOR); in b_eval()
417 if(!sh_isoption(SH_MONITOR) || !job.jobcontrol) in b_bg()
H A Dtypeset.c1113 int was_monitor = sh_isoption(SH_MONITOR); in b_set()
1125 if(sh_isoption(SH_MONITOR) && !was_monitor) in b_set()
1126 sh_onstate(SH_MONITOR); in b_set()
1127 else if(!sh_isoption(SH_MONITOR) && was_monitor) in b_set()
1128 sh_offstate(SH_MONITOR); in b_set()

12