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