diff options
| author | Ingo Molnar <mingo@kernel.org> | 2013-12-17 09:27:08 -0500 |
|---|---|---|
| committer | Ingo Molnar <mingo@kernel.org> | 2013-12-17 09:27:08 -0500 |
| commit | bb799d3b980eb803ca2da4a4eefbd9308f8d988a (patch) | |
| tree | 69fbe0cd6d47b23a50f5e1d87bf7489532fae149 /fs/exec.c | |
| parent | 919fc6e34831d1c2b58bfb5ae261dc3facc9b269 (diff) | |
| parent | 319e2e3f63c348a9b66db4667efa73178e18b17d (diff) | |
Merge tag 'v3.13-rc4' into core/locking
Merge Linux 3.13-rc4, to refresh this rather old tree with the latest fixes.
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'fs/exec.c')
| -rw-r--r-- | fs/exec.c | 5 |
1 files changed, 1 insertions, 4 deletions
| @@ -1380,10 +1380,6 @@ int search_binary_handler(struct linux_binprm *bprm) | |||
| 1380 | if (retval) | 1380 | if (retval) |
| 1381 | return retval; | 1381 | return retval; |
| 1382 | 1382 | ||
| 1383 | retval = audit_bprm(bprm); | ||
| 1384 | if (retval) | ||
| 1385 | return retval; | ||
| 1386 | |||
| 1387 | retval = -ENOENT; | 1383 | retval = -ENOENT; |
| 1388 | retry: | 1384 | retry: |
| 1389 | read_lock(&binfmt_lock); | 1385 | read_lock(&binfmt_lock); |
| @@ -1431,6 +1427,7 @@ static int exec_binprm(struct linux_binprm *bprm) | |||
| 1431 | 1427 | ||
| 1432 | ret = search_binary_handler(bprm); | 1428 | ret = search_binary_handler(bprm); |
| 1433 | if (ret >= 0) { | 1429 | if (ret >= 0) { |
| 1430 | audit_bprm(bprm); | ||
| 1434 | trace_sched_process_exec(current, old_pid, bprm); | 1431 | trace_sched_process_exec(current, old_pid, bprm); |
| 1435 | ptrace_event(PTRACE_EVENT_EXEC, old_vpid); | 1432 | ptrace_event(PTRACE_EVENT_EXEC, old_vpid); |
| 1436 | current->did_exec = 1; | 1433 | current->did_exec = 1; |
