From: Andrii Nakryiko Date: Thu, 3 Dec 2020 19:20:21 +0000 (-0800) Subject: Merge branch 'Fixes for ima selftest' X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=a8b415c9bde69dc194e57db8c27cb96908b30aca;p=linux.git Merge branch 'Fixes for ima selftest' KP Singh says: ==================== From: KP Singh # 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 --- a8b415c9bde69dc194e57db8c27cb96908b30aca