[PATCH 3/4] fs: Clean up some artifacts in coredump.c

2012-08-05 Thread eshink
From: Alex Kelly Specifically, some whitespace got carried over from the move that shouldn't have, and there were some comment style issues in the original code that are now fixed Signed-off-by: Alex Kelly Reviewed-by: Josh Triplett --- fs/coredump.c | 8 1 file changed, 4 insertions

[PATCH 4/4] fs: Update coredump-related headers

2012-08-05 Thread eshink
From: Alex Kelly This patch creates 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/coredump.h header file, for consistency. Signed-off-by: Alex Kelly Reviewed-by: Josh Triplett --- fs/coredump.c

[PATCH 2/4] fs: Make core dump functionality optional

2012-08-05 Thread eshink
From: Alex Adds an expert Kconfig option, CONFIG_COREDUMP, which allows disabling of core dump. This saves approximately 2.6k in the compiled kernel, and complements CONFIG_ELF_CORE, which now depends on it. CONFIG_COREDUMP also disables coredump-related sysctls, except for suid_dumpable and