pstore/ram: Adjust module param permissions to reflect reality
authorKees Cook <keescook@chromium.org>
Wed, 6 May 2020 20:06:18 +0000 (13:06 -0700)
committerKees Cook <keescook@chromium.org>
Sat, 30 May 2020 17:34:02 +0000 (10:34 -0700)
commitf858b57f7dd28b5bb55e9dc3776fff58f38a7c91
tree297ffcf05ef246c8c4c67c3541559457563de950
parentd973f7d83dc7360597373536b34e80eea306d15f
pstore/ram: Adjust module param permissions to reflect reality

A couple module parameters had 0600 permissions, but changing them would
have no impact on ramoops, so switch these to 0400 to reflect reality.

Link: https://lore.kernel.org/lkml/20200506211523.15077-7-keescook@chromium.org/
Signed-off-by: Kees Cook <keescook@chromium.org>
fs/pstore/ram.c