linux/fs/pstore
Sebastian Schmidt 68c4a4f8ab pstore: Honor dmesg_restrict sysctl on dmesg dumps
When the kernel.dmesg_restrict restriction is in place, only users with
CAP_SYSLOG should be able to access crash dumps (like: attacker is
trying to exploit a bug, watchdog reboots, attacker can happily read
crash dumps and logs).

This puts the restriction on console-* types as well as sensitive
information could have been leaked there.

Other log types are unaffected.

Signed-off-by: Sebastian Schmidt <yath@yath.de>
Acked-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Tony Luck <tony.luck@intel.com>
2014-11-05 09:59:48 -08:00
..
ftrace.c
inode.c pstore: Honor dmesg_restrict sysctl on dmesg dumps 2014-11-05 09:59:48 -08:00
internal.h pstore: Add file extension to pstore file if compressed 2013-08-19 11:53:27 -07:00
Kconfig pstore/Kconfig: Select ZLIB_DEFLATE and ZLIB_INFLATE when PSTORE is selected 2013-08-19 10:18:10 -07:00
Makefile
platform.c fs/pstore: logging clean-up 2014-06-06 16:08:13 -07:00
ram_core.c fs/pstore/ram_core.c: replace count*size kmalloc by kmalloc_array 2014-08-08 15:57:25 -07:00
ram.c pstore/ram: Strip ramoops header for correct decompression 2014-11-05 09:58:17 -08:00