summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorAlex Kelly <alex.page.kelly@gmail.com>2012-10-05 02:15:24 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2012-10-05 20:05:15 +0200
commit179899fd5dc780fe3bcd44d0eb7823e3d855c855 (patch)
treea2e7bf0098162e1fa940cad56bb1e99ec10440ca /kernel
parentcoredump: make core dump functionality optional (diff)
downloadlinux-179899fd5dc780fe3bcd44d0eb7823e3d855c855.tar.xz
linux-179899fd5dc780fe3bcd44d0eb7823e3d855c855.zip
coredump: update coredump-related headers
Create a new header file, fs/coredump.h, which contains functions only used by the new coredump.c. It also moves do_coredump to the include/linux/coredump.h header file, for consistency. 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: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel')
-rw-r--r--kernel/signal.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/signal.c b/kernel/signal.c
index 2c681f11b7d2..2ad3f5904bd7 100644
--- a/kernel/signal.c
+++ b/kernel/signal.c
@@ -17,6 +17,7 @@
#include <linux/fs.h>
#include <linux/tty.h>
#include <linux/binfmts.h>
+#include <linux/coredump.h>
#include <linux/security.h>
#include <linux/syscalls.h>
#include <linux/ptrace.h>