aboutsummaryrefslogtreecommitdiffstats
path: root/fs/exec.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/exec.c')
-rw-r--r--fs/exec.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/exec.c b/fs/exec.c
index 955a8eb66d70..70fa36554c14 100644
--- a/fs/exec.c
+++ b/fs/exec.c
@@ -1495,6 +1495,8 @@ int do_coredump(long signr, int exit_code, struct pt_regs * regs)
1495 int flag = 0; 1495 int flag = 0;
1496 int ispipe = 0; 1496 int ispipe = 0;
1497 1497
1498 audit_core_dumps(signr);
1499
1498 binfmt = current->binfmt; 1500 binfmt = current->binfmt;
1499 if (!binfmt || !binfmt->core_dump) 1501 if (!binfmt || !binfmt->core_dump)
1500 goto fail; 1502 goto fail;