Searched refs:rootshell (Results 1 – 6 of 6) sorted by relevance
80 int rootshell; variable121 if (state == 0 || iflag == 0 || ! rootshell || in main()144 rootshell = 1; in main()
39 extern int rootshell; /* true if we aren't a child of the main shell */
182 if (on == jobctl || rootshell == 0) in setjobctl()914 wasroot = rootshell; in forkshell()915 rootshell = 0; in forkshell()972 if (rootshell && mode != FORK_NOJOB && mflag) { in forkshell()991 if (iflag && rootshell && n) in forkshell()1114 else if (rootshell && propagate_int && in waitforjob()1244 else if ((!rootshell || !iflag || thisjob == job) && in dowait()1265 TRACE(("Not printing status, rootshell=%d, job=%p\n", rootshell, job)); in dowait()
287 if (rootshell && iflag) in setsignal()293 if (rootshell && mflag) in setsignal()
119 if (rootshell && iflag) in onint()
181 if (rootshell && el != NULL && term != NULL) in setterm()