]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'Fixes for ima selftest'
authorAndrii Nakryiko <andrii@kernel.org>
Thu, 3 Dec 2020 19:20:21 +0000 (11:20 -0800)
committerAndrii Nakryiko <andrii@kernel.org>
Thu, 3 Dec 2020 19:20:21 +0000 (11:20 -0800)
commit0538f527a59249d7cded3d79093f9f9939c599ae
tree2656ff19cfd05d9a28c12eda55082f40d2509dd7
parent15fba2646e9dd285a7f3e7b4113af5e717437733
parentbcd34d8bc41f9b315669b760038f78de18e2aa6c
Merge branch 'Fixes for ima selftest'

KP Singh says:

====================

From: KP Singh <kpsingh@google.com>

# v3 -> v4

* Fix typos.
* Update commit message for the indentation patch.
* Added Andrii's acks.

# v2 -> v3

* Added missing tags.
* Indentation fixes + some other fixes suggested by Andrii.
* Re-indent file to tabs.

The selftest for the bpf_ima_inode_hash helper uses a shell script to
setup the system for ima. While this worked without an issue on recent
desktop distros, it failed on environments with stripped out shells like
busybox which is also used by the bpf CI.

This series fixes the assumptions made on the availablity of certain
command line switches and the expectation that securityfs being mounted
by default.

It also adds the missing kernel config dependencies in
tools/testing/selftests/bpf and, lastly, changes the indentation of
ima_setup.sh to use tabs.
====================

Signed-off-by: Andrii Nakryiko <andrii@kernel.org>