Searched refs:rootshell (Results 1 – 6 of 6) sorted by relevance
69 int rootshell; variable104 if (state == 0 || iflag == 0 || ! rootshell || in main()127 rootshell = 1; in main()
36 extern int rootshell; /* true if we aren't a child of the main shell */
177 if (on == jobctl || rootshell == 0) in setjobctl()912 wasroot = rootshell; in forkshell()913 rootshell = 0; in forkshell()975 if (rootshell && mode != FORK_NOJOB && mflag) { in forkshell()994 if (iflag && rootshell && n) in forkshell()1123 else if (rootshell && propagate_int && in waitforjob()1253 else if ((!rootshell || !iflag || thisjob == job) && in dowait()1274 TRACE(("Not printing status, rootshell=%d, job=%p\n", rootshell, job)); in dowait()
277 if (rootshell && iflag) in setsignal()283 if (rootshell && mflag) in setsignal()
113 if (rootshell && iflag) in onint()
247 if (rootshell && el != NULL && term != NULL) in setterm()