aboutsummaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
Diffstat (limited to 'fs')
-rw-r--r--fs/exec.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/exec.c b/fs/exec.c
index 1ba85c7fc6af..7cf078ec758e 100644
--- a/fs/exec.c
+++ b/fs/exec.c
@@ -1488,6 +1488,8 @@ int do_coredump(long signr, int exit_code, struct pt_regs * regs)
1488 int flag = 0; 1488 int flag = 0;
1489 int ispipe = 0; 1489 int ispipe = 0;
1490 1490
1491 audit_core_dumps(signr);
1492
1491 binfmt = current->binfmt; 1493 binfmt = current->binfmt;
1492 if (!binfmt || !binfmt->core_dump) 1494 if (!binfmt || !binfmt->core_dump)
1493 goto fail; 1495 goto fail;