diff options
author | Kees Cook <[email protected]> | 2021-04-05 14:39:59 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2021-04-09 16:58:15 +0200 |
commit | 312723a0b34d6d110aa4427a982536bb36ab8471 (patch) | |
tree | 09491e458150de425af70e214cec1719a5385f82 /lib/mpi/mpi-inline.h | |
parent | c2f3f755f5c717f3621b33ef06d974b9cec4a104 (diff) |
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 <[email protected]>
Reviewed-by: Peter Enderborg <[email protected]>
Signed-off-by: Kees Cook <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-inline.h')
0 files changed, 0 insertions, 0 deletions