]> Pileus Git - ~andy/linux/blobdiff - fs/exec.c
exec: kill task_struct->did_exec
[~andy/linux] / fs / exec.c
index f860866e04ba1bd2e16d3c00f6c9e8c8b44cabba..493b102a27c186b5fb9fb014437dc19ab1657155 100644 (file)
--- a/fs/exec.c
+++ b/fs/exec.c
@@ -1424,7 +1424,6 @@ static int exec_binprm(struct linux_binprm *bprm)
                audit_bprm(bprm);
                trace_sched_process_exec(current, old_pid, bprm);
                ptrace_event(PTRACE_EVENT_EXEC, old_vpid);
-               current->did_exec = 1;
                proc_exec_connector(current);
        }