Commit d932e043 authored by KP Singh's avatar KP Singh Committed by Andrii Nakryiko

selftests/bpf: Add config dependency on BLK_DEV_LOOP

The ima selftest restricts its scope to a test filesystem image
mounted on a loop device and prevents permanent ima policy changes for
the whole system.

Fixes: 34b82d3a ("bpf: Add a selftest for bpf_ima_inode_hash")
Reported-by: default avatarAndrii Nakryiko <andrii@kernel.org>
Signed-off-by: default avatarKP Singh <kpsingh@google.com>
Signed-off-by: default avatarAndrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20201203191437.666737-4-kpsingh@chromium.org
parent 1ee07671
...@@ -43,3 +43,4 @@ CONFIG_IMA=y ...@@ -43,3 +43,4 @@ CONFIG_IMA=y
CONFIG_SECURITYFS=y CONFIG_SECURITYFS=y
CONFIG_IMA_WRITE_POLICY=y CONFIG_IMA_WRITE_POLICY=y
CONFIG_IMA_READ_POLICY=y CONFIG_IMA_READ_POLICY=y
CONFIG_BLK_DEV_LOOP=y
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment