Revert "pstore: Honor dmesg_restrict sysctl on dmesg dumps"
authorKees Cook <keescook@chromium.org>
Thu, 10 Aug 2017 20:36:35 +0000 (13:36 -0700)
committerJianxin Pan <jianxin.pan@amlogic.com>
Mon, 29 Apr 2019 10:48:35 +0000 (03:48 -0700)
commitb9f01fb6e50cc2924fc796d73406b8e3f36c9f06
treeb07036e650c8704778b4ea667f402ddc08b1054a
parent51d1794768f23ecccf0d6d1096a3a2ed15516fb5
Revert "pstore: Honor dmesg_restrict sysctl on dmesg dumps"

PD#SWPL-7092

This reverts commit 68c4a4f8abc60c9440ede9cd123d48b78325f7a3, with
various conflict clean-ups.

With the default root directory mode set to 0750 now, the capability
check was redundant.

Change-Id: If978c34cef8345b0ba67a038eed7d54d4f1423d6
Suggested-by: Nick Kralevich <nnk@google.com>
Signed-off-by: Kees Cook <keescook@chromium.org>
fs/pstore/inode.c
include/linux/syslog.h
kernel/printk/printk.c