summaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h
diff options
context:
space:
mode:
authorKees Cook <keescook@chromium.org>2022-12-09 22:57:43 +0300
committerKees Cook <keescook@chromium.org>2023-01-20 02:18:20 +0300
commit60ba1028fc7b73e3cfbcfe7087a2e87e8b1fd208 (patch)
tree0ad3b50b482651c8531b25d07b450a328f052a21 /scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h
parentb76ded214633cf5067ff51642a360eb87242c411 (diff)
downloadlinux-60ba1028fc7b73e3cfbcfe7087a2e87e8b1fd208.tar.xz
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 <paul@paul-moore.com> Cc: James Morris <jmorris@namei.org> Cc: "Serge E. Hallyn" <serge@hallyn.com> Cc: linux-security-module@vger.kernel.org Signed-off-by: Kees Cook <keescook@chromium.org> Reviewed-by: Serge Hallyn <serge@hallyn.com> Link: https://lore.kernel.org/r/20221209195746.1366607-2-keescook@chromium.org
Diffstat (limited to 'scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h')
0 files changed, 0 insertions, 0 deletions