diff options
Diffstat (limited to 'fs/exec.c')
-rw-r--r-- | fs/exec.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 */ |