]> git.baikalelectronics.ru Git - kernel.git/commit
selftests/bpf: Add config dependency on BLK_DEV_LOOP
authorKP Singh <kpsingh@google.com>
Thu, 3 Dec 2020 19:14:36 +0000 (19:14 +0000)
committerAndrii Nakryiko <andrii@kernel.org>
Thu, 3 Dec 2020 19:20:21 +0000 (11:20 -0800)
commitd82f1c9cc159e1c8f58b7d7ddeb709bda883d9ec
tree82fd312f1e532f933e66f58beb48fef04f8915ce
parentb56443f755a2614fbcaa623f8d0c6926ae7c162e
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: 986961860112 ("bpf: Add a selftest for bpf_ima_inode_hash")
Reported-by: Andrii Nakryiko <andrii@kernel.org>
Signed-off-by: KP Singh <kpsingh@google.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20201203191437.666737-4-kpsingh@chromium.org
tools/testing/selftests/bpf/config