Kconfig

CONFIG_SECURITY_IPE Integrity Policy Enforcement (IPE)

On

This option enables the Integrity Policy Enforcement LSM allowing users to define a policy to enforce a trust-based access control. A key feature of IPE is a customizable policy to allow admins to reconfigure trust requirements on the fly.

If unsure, answer N.

If SECURITY_IPE

CONFIG_IPE_BOOT_POLICY Integrity policy to apply on system startup

Empty

This option specifies a filepath to an IPE policy that is compiled into the kernel. This policy will be enforced until a policy update is deployed via the $securityfs/ipe/policies/$policy_name/active interface.

If unsure, leave blank.

IPE Trust Providers

CONFIG_IPE_PROP_DM_VERITY Enable support for dm-verity based on root hash

On

This option enables the 'dmverity_roothash' property within IPE policies. The property evaluates to TRUE when a file from a dm-verity volume is evaluated, and the volume's root hash matches the value supplied in the policy.

CONFIG_IPE_PROP_DM_VERITY_SIGNATURE Enable support for dm-verity based on root hash signature

On

This option enables the 'dmverity_signature' property within IPE policies. The property evaluates to TRUE when a file from a dm-verity volume, which has been mounted with a valid signed root hash, is evaluated.

If unsure, answer Y.

CONFIG_IPE_PROP_FS_VERITY Enable support for fs-verity based on file digest

On

This option enables the 'fsverity_digest' property within IPE policies. The property evaluates to TRUE when a file is fsverity enabled and its digest matches the supplied digest value in the policy.

if unsure, answer Y.

CONFIG_IPE_PROP_FS_VERITY_BUILTIN_SIG Enable support for fs-verity based on builtin signature

On

This option enables the 'fsverity_signature' property within IPE policies. The property evaluates to TRUE when a file is fsverity enabled and it has a valid builtin signature whose signing cert is in the .fs-verity keyring.

if unsure, answer Y.

End of IPE Trust Providers

CONFIG_SECURITY_IPE_KUNIT_TEST Build KUnit tests for IPE

Unknown

This builds the IPE KUnit tests.

KUnit tests run during boot and output the results to the debug log in TAP format (https://testanything.org/). Only useful for kernel devs running KUnit test harness and are not for inclusion into a production build.

For more information on KUnit and unit tests in general please refer to the KUnit documentation in Documentation/dev-tools/kunit/.

If unsure, say N.