From d45333294da8341f64d22219729249f7102c490e Mon Sep 17 00:00:00 2001 From: Johannes Berg Date: Thu, 13 Nov 2014 22:16:29 +0100 Subject: [PATCH] devcoredump: provide a one-way disable function Since device/firmware coredumps can contain private data, it can be desirable to turn them off unconditionally to be certain that no such data will be collected by the system. To achieve this, provide a "disabled" sysfs class attribute that can only be changed from 0 to 1 and not back. Upon disabling, discard existing coredumps and stop storing new ones. Signed-off-by: Johannes Berg Reviewed-by: Kees Cook Signed-off-by: Greg Kroah-Hartman --- Reading git-format-patch failed