coredump: move core dump functionality into its own file
authorAlex Kelly <[email protected]>
Thu, 27 Sep 2012 01:52:08 +0000 (21:52 -0400)
committerAl Viro <[email protected]>
Wed, 3 Oct 2012 01:35:55 +0000 (21:35 -0400)
commit10c28d937e2cca577c2d804106b50dd0562fb062
tree249f1c487bf8a9cc32912e20bf9f274c650f58e9
parentf34f9d186df35e5c39163444c43b4fc6255e39c5
coredump: move core dump functionality into its own file

This prepares for making core dump functionality optional.

The variable "suid_dumpable" and associated functions are left in fs/exec.c
because they're used elsewhere, such as in ptrace.

Signed-off-by: Alex Kelly <[email protected]>
Reviewed-by: Josh Triplett <[email protected]>
Acked-by: Serge Hallyn <[email protected]>
Acked-by: Kees Cook <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Al Viro <[email protected]>
fs/Makefile
fs/coredump.c [new file with mode: 0644]
fs/exec.c
include/linux/sched.h