aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorKees Cook <keescook@chromium.org>2021-04-05 14:39:59 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-04-09 16:58:15 +0200
commit312723a0b34d6d110aa4427a982536bb36ab8471 (patch)
tree09491e458150de425af70e214cec1719a5385f82 /lib
parentc2f3f755f5c717f3621b33ef06d974b9cec4a104 (diff)
downloadlinux-312723a0b34d6d110aa4427a982536bb36ab8471.tar.gz
debugfs: Make debugfs_allow RO after init
Since debugfs_allow is only set at boot time during __init, make it read-only after being set. Fixes: a24c6f7bc923 ("debugfs: Add access restriction option") Cc: Peter Enderborg <peter.enderborg@sony.com> Reviewed-by: Peter Enderborg <peter.enderborg@sony.com> Signed-off-by: Kees Cook <keescook@chromium.org> Link: https://lore.kernel.org/r/20210405213959.3079432-1-keescook@chromium.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions