Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
debugfs: Make debugfs_allow RO after init
commit 312723a upstream. Since debugfs_allow is only set at boot time during __init, make it read-only after being set. Fixes: a24c6f7 ("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>
- Loading branch information