diff options
author | Kees Cook <[email protected]> | 2022-12-09 11:57:43 -0800 |
---|---|---|
committer | Kees Cook <[email protected]> | 2023-01-19 15:18:20 -0800 |
commit | 60ba1028fc7b73e3cfbcfe7087a2e87e8b1fd208 (patch) | |
tree | 0ad3b50b482651c8531b25d07b450a328f052a21 /scripts/gdb | |
parent | b76ded214633cf5067ff51642a360eb87242c411 (diff) |
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/gdb')
0 files changed, 0 insertions, 0 deletions