Skip to content

Commit 10c28d9

Browse files
Alex KellyAl Viro
authored andcommitted
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>
1 parent f34f9d1 commit 10c28d9

4 files changed

Lines changed: 689 additions & 645 deletions

File tree

‎fs/Makefile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ obj-y := open.o read_write.o file_table.o super.o \
1111
attr.o bad_inode.o file.o filesystems.o namespace.o \
1212
seq_file.o xattr.o libfs.o fs-writeback.o \
1313
pnode.o drop_caches.o splice.o sync.o utimes.o \
14-
stack.o fs_struct.o statfs.o
14+
stack.o fs_struct.o statfs.o coredump.o
1515

1616
ifeq ($(CONFIG_BLOCK),y)
1717
obj-y += buffer.o bio.o block_dev.o direct-io.o mpage.o ioprio.o

0 commit comments

Comments
 (0)