aboutsummaryrefslogtreecommitdiffstats
path: root/fs/exec.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/exec.c')
-rw-r--r--fs/exec.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/exec.c b/fs/exec.c
index af249af4ccab..cd2e8c9b1249 100644
--- a/fs/exec.c
+++ b/fs/exec.c
@@ -1326,6 +1326,7 @@ int do_execve(char * filename,
1326 if (retval < 0) 1326 if (retval < 0)
1327 goto out; 1327 goto out;
1328 1328
1329 current->flags &= ~PF_KTHREAD;
1329 retval = search_binary_handler(bprm,regs); 1330 retval = search_binary_handler(bprm,regs);
1330 if (retval >= 0) { 1331 if (retval >= 0) {
1331 /* execve success */ 1332 /* execve success */