forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-11 04dd17822334871b23ea2862f7798fb0e0007777
kernel/security/loadpin/Kconfig
....@@ -1,3 +1,4 @@
1
+# SPDX-License-Identifier: GPL-2.0-only
12 config SECURITY_LOADPIN
23 bool "Pin load of kernel files (modules, fw, etc) to one filesystem"
34 depends on SECURITY && BLOCK
....@@ -10,10 +11,10 @@
1011 have a root filesystem backed by a read-only device such as
1112 dm-verity or a CDROM.
1213
13
-config SECURITY_LOADPIN_ENABLED
14
+config SECURITY_LOADPIN_ENFORCE
1415 bool "Enforce LoadPin at boot"
1516 depends on SECURITY_LOADPIN
1617 help
1718 If selected, LoadPin will enforce pinning at boot. If not
1819 selected, it can be enabled at boot with the kernel parameter
19
- "loadpin.enabled=1".
20
+ "loadpin.enforce=1".