summaryrefslogtreecommitdiff
path: root/fs/gfs2
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2014-11-14 00:16:29 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-11-27 06:40:12 +0300
commitd45333294da8341f64d22219729249f7102c490e (patch)
treeb9b7194a4789377ddfbdf8591f52e974d468348f /fs/gfs2
parente135303bd5bebcd22bcf8a6b06ec0dd5a9432708 (diff)
downloadlinux-d45333294da8341f64d22219729249f7102c490e.tar.xz
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 <johannes.berg@intel.com> Reviewed-by: Kees Cook <keescook@chromium.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/gfs2')
0 files changed, 0 insertions, 0 deletions