Please sign in to comment.
coredump: make core dump functionality optional
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 related functions, which are necessary for ptrace. [email@example.com: fix binfmt_aout.c build] Signed-off-by: Alex Kelly <firstname.lastname@example.org> Reviewed-by: Josh Triplett <email@example.com> Acked-by: Serge Hallyn <firstname.lastname@example.org> Acked-by: Kees Cook <email@example.com> Cc: Randy Dunlap <firstname.lastname@example.org> Signed-off-by: Andrew Morton <email@example.com> Signed-off-by: Linus Torvalds <firstname.lastname@example.org>
- Loading branch information...
Showing with 53 additions and 27 deletions.