hc
2024-10-12 a5969cabbb4660eab42b6ef0412cbbd1200cf14d
kernel/Documentation/ABI/testing/evm
....@@ -17,26 +17,33 @@
1717 echoing a value to <securityfs>/evm made up of the
1818 following bits:
1919
20
+ === ==================================================
2021 Bit Effect
22
+ === ==================================================
2123 0 Enable HMAC validation and creation
2224 1 Enable digital signature validation
2325 2 Permit modification of EVM-protected metadata at
2426 runtime. Not supported if HMAC validation and
2527 creation is enabled.
2628 31 Disable further runtime modification of EVM policy
29
+ === ==================================================
2730
28
- For example:
31
+ For example::
2932
30
- echo 1 ><securityfs>/evm
33
+ echo 1 ><securityfs>/evm
3134
3235 will enable HMAC validation and creation
3336
34
- echo 0x80000003 ><securityfs>/evm
37
+ ::
38
+
39
+ echo 0x80000003 ><securityfs>/evm
3540
3641 will enable HMAC and digital signature validation and
3742 HMAC creation and disable all further modification of policy.
3843
39
- echo 0x80000006 ><securityfs>/evm
44
+ ::
45
+
46
+ echo 0x80000006 ><securityfs>/evm
4047
4148 will enable digital signature validation, permit
4249 modification of EVM-protected metadata and
....@@ -87,7 +94,7 @@
8794 Shows the set of extended attributes used to calculate or
8895 validate the EVM signature, and allows additional attributes
8996 to be added at runtime. Any signatures generated after
90
- additional attributes are added (and on files posessing those
97
+ additional attributes are added (and on files possessing those
9198 additional attributes) will only be valid if the same
9299 additional attributes are configured on system boot. Writing
93100 a single period (.) will lock the xattr list from any further