1 Aug 2012 04:23
[PATCH 1/2] Moved core dump functionality into its own file
Alex Kelly <alex.page.kelly <at> gmail.com>
2012-08-01 02:23:59 GMT
2012-08-01 02:23:59 GMT
This was done in preparation 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 <at> gmail.com> Reviewed-by: Josh Triplett <josh <at> joshtriplett.org> --- fs/Makefile | 2 +- fs/coredump.c | 684 ++++++++++++++++++++++++++++++++++++++++++++++++++ fs/exec.c | 642 +--------------------------------------------- include/linux/sched.h | 1 + 4 files changed, 687 insertions(+), 642 deletions(-) create mode 100644 fs/coredump.c diff --git a/fs/Makefile b/fs/Makefile index 2fb9779..8938f82 100644 --- a/fs/Makefile +++ b/fs/Makefile <at> <at> -11,7 +11,7 <at> <at> obj-y := open.o read_write.o file_table.o super.o \ attr.o bad_inode.o file.o filesystems.o namespace.o \ seq_file.o xattr.o libfs.o fs-writeback.o \ pnode.o drop_caches.o splice.o sync.o utimes.o \ - stack.o fs_struct.o statfs.o + stack.o fs_struct.o statfs.o coredump.o ifeq ($(CONFIG_BLOCK),y) obj-y += buffer.o bio.o block_dev.o direct-io.o mpage.o ioprio.o diff --git a/fs/coredump.c b/fs/coredump.c new file mode 100644(Continue reading)
Thanx, Paul
--
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo <at> vger.kernel.org
More majordomo info at
>>
>> NeilBrown
>>
>>> ---
>>> fs/block_dev.c | 3 +++
>>> 1 files changed, 3 insertions(+), 0 deletions(-)
>>>
>>> diff --git a/fs/block_dev.c b/fs/block_dev.c
>>> index c2bbe1f..cf10778 100644
>>> --- a/fs/block_dev.c
>>> +++ b/fs/block_dev.c
>>> <at> <at> -1579,9 +1579,11 <at> <at> ssize_t blkdev_aio_write(struct kiocb *iocb, const struct iovec *iov,
RSS Feed