aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gcc-plugins/latent_entropy_plugin.c
diff options
context:
space:
mode:
authorKees Cook <[email protected]>2022-12-09 19:57:43 +0000
committerKees Cook <[email protected]>2023-01-19 23:18:20 +0000
commit60ba1028fc7b73e3cfbcfe7087a2e87e8b1fd208 (patch)
tree0ad3b50b482651c8531b25d07b450a328f052a21 /scripts/gcc-plugins/latent_entropy_plugin.c
parentLoadPin: Refactor read-only check into a helper (diff)
downloadkernel-60ba1028fc7b73e3cfbcfe7087a2e87e8b1fd208.tar.gz
kernel-60ba1028fc7b73e3cfbcfe7087a2e87e8b1fd208.zip
LoadPin: Refactor sysctl initialization
In preparation for shifting root mount when not enforcing, split sysctl logic out into a separate helper, and unconditionally register the sysctl, but only make it writable when the device is writable. Cc: Paul Moore <[email protected]> Cc: James Morris <[email protected]> Cc: "Serge E. Hallyn" <[email protected]> Cc: [email protected] Signed-off-by: Kees Cook <[email protected]> Reviewed-by: Serge Hallyn <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'scripts/gcc-plugins/latent_entropy_plugin.c')
0 files changed, 0 insertions, 0 deletions