Searched refs:rootshell (Results 1 – 6 of 6) sorted by relevance
81 int rootshell; variable115 if (state == 0 || iflag == 0 || ! rootshell || in main()138 rootshell = 1; in main()
38 extern int rootshell; /* true if we aren't a child of the main shell */
181 if (on == jobctl || rootshell == 0) in setjobctl()915 wasroot = rootshell; in forkshell()916 rootshell = 0; in forkshell()978 if (rootshell && mode != FORK_NOJOB && mflag) { in forkshell()997 if (iflag && rootshell && n) in forkshell()1122 else if (rootshell && propagate_int && in waitforjob()1252 else if ((!rootshell || !iflag || thisjob == job) && in dowait()1273 TRACE(("Not printing status, rootshell=%d, job=%p\n", rootshell, job)); in dowait()
283 if (rootshell && iflag) in setsignal()289 if (rootshell && mflag) in setsignal()
117 if (rootshell && iflag) in onint()
249 if (rootshell && el != NULL && term != NULL) in setterm()