coredump: move core dump functionality into its own file
authorAlex Kelly <alex.page.kelly@gmail.com>
Thu, 27 Sep 2012 01:52:08 +0000 (21:52 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
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 <alex.page.kelly@gmail.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Acked-by: Serge Hallyn <serge.hallyn@canonical.com>
Acked-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/Makefile
fs/coredump.c [new file with mode: 0644]
fs/exec.c
include/linux/sched.h