Searched refs:rootshell (Results 1 - 5 of 5) sorted by relevance

/system/core/sh/
H A Dmain.h38 extern int rootshell; /* true if we aren't a child of the main shell */
H A Dmain.c80 int rootshell; variable
121 rootshell = 1;
139 if (state == 0 || iflag == 0 || ! rootshell)
171 rootshell = 1;
H A Djobs.c147 if (on == jobctl || rootshell == 0)
871 if (rootshell && mode != FORK_NOJOB && mflag) {
888 if (/* iflag && rootshell && */ n)
903 wasroot = rootshell;
906 rootshell = 0;
1095 if (!rootshell || !iflag)
1102 TRACE(("Not printing status, rootshell=%d, job=%p\n",
1103 rootshell, job));
H A Derror.c115 if (rootshell && iflag)
H A Dtrap.c245 if (rootshell && !vforked && action == S_DFL) {

Completed in 39 milliseconds