diff options
author | Kees Cook <keescook@chromium.org> | 2022-12-09 22:57:42 +0300 |
---|---|---|
committer | Kees Cook <keescook@chromium.org> | 2023-01-20 02:18:20 +0300 |
commit | b76ded214633cf5067ff51642a360eb87242c411 (patch) | |
tree | 3b747ba4fde6949e4c7a3b94ae18301c5b33daaa /scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h | |
parent | b5fc3ca3954fd0382bb576a5a295c03a089ac7e3 (diff) | |
download | linux-b76ded214633cf5067ff51642a360eb87242c411.tar.xz |
LoadPin: Refactor read-only check into a helper
In preparation for allowing mounts to shift when not enforced, move
read-only checking into a separate helper.
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-1-keescook@chromium.org
Diffstat (limited to 'scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h')
0 files changed, 0 insertions, 0 deletions