linux/fs/debugfs
Kees Cook 312723a0b3 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: a24c6f7bc9 ("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>
2021-04-09 16:58:15 +02:00
..
file.c debugfs: drop pointless nul-termination in debugfs_read_file_bool() 2021-04-05 13:17:51 +02:00
inode.c debugfs: Make debugfs_allow RO after init 2021-04-09 16:58:15 +02:00
internal.h debugfs: Add access restriction option 2020-07-23 17:10:25 +02:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00