Lines Matching defs:exec
3 * linux/fs/exec.c
186 * for oom_badness()->get_mm_rss(). Once exec succeeds or fails, we
220 * We are doing an exec(). 'current' is the process
221 * doing the exec and bprm->mm is the new process's mm.
374 /* Save current stack limit for all calculations made during exec. */
797 bprm->exec -= stack_shift;
999 * through with the exec. We must hold mmap_lock around
1112 * exec, nothing survives from the original leader thread,
1122 * An exec() starts a new thread group with the
1230 void __set_task_comm(struct task_struct *tsk, const char *buf, bool exec)
1236 perf_event_comm(tsk, exec);
1327 * undergoing exec(2).
1363 /* An exec changes our domain. We are no longer part of the thread
1465 * Or, if exec fails before, free_bprm() should release ->cred and
1617 /* Did the exec bit vanish out from under us? Give up. */
1767 struct file *exec;
1777 exec = bprm->file;
1781 allow_write_access(exec);
1784 fput(exec);
1787 bprm->executable = exec;
1789 fput(exec);
1830 * inaccessible after exec. This allows the code in exec to
1928 bprm->exec = bprm->p;
1997 bprm->exec = bprm->p;