[GIT PULL] pstore updates for v4.14-rc1

From: Kees Cook
Date: Tue Sep 05 2017 - 15:51:40 EST


Hi,

Please pull these pstore changes for v4.14-rc1. Not much happening in
pstore for this release. One change to permission management, noted below.

Thanks!

-Kees

The following changes since commit 520eccdfe187591a51ea9ab4c1a024ae4d0f68d9:

Linux 4.13-rc2 (2017-07-23 16:15:17 -0700)

are available in the git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git tags/pstore-v4.14-rc1

for you to fetch changes up to c71b02e4d207cbcf097f9746d5f7967b22905e70:

Revert "pstore: Honor dmesg_restrict sysctl on dmesg dumps" (2017-08-17 16:29:19 -0700)

----------------------------------------------------------------
Make pstore permissions more versatile by removing CAP_SYSLOG requirement
and defining more restrictive root directory DAC permissions default
(0750, which can be adjust after boot unlike the CAP_SYSLOG check).
Suggested by Nick Kralevich.

----------------------------------------------------------------
Kees Cook (2):
pstore: Make default pstorefs root dir perms 0750
Revert "pstore: Honor dmesg_restrict sysctl on dmesg dumps"

fs/pstore/inode.c | 24 +-----------------------
include/linux/syslog.h | 9 ---------
kernel/printk/printk.c | 3 +--
3 files changed, 2 insertions(+), 34 deletions(-)

--
Kees Cook
Pixel Security