]> git.baikalelectronics.ru Git - kernel.git/commit
selftest/lkdtm: Skip stack-entropy test if lkdtm is not available
authorMisono Tomohiro <misono.tomohiro@jp.fujitsu.com>
Thu, 5 Aug 2021 10:12:36 +0000 (19:12 +0900)
committerKees Cook <keescook@chromium.org>
Thu, 16 Dec 2021 23:54:38 +0000 (15:54 -0800)
commit2faa128e29a37b774b2702100c8ffcf86bd2b861
tree8324365bb49bf7f4f210c7501ffa77bcf5f698c8
parent66c2795b37321e99e1fdf5a823999199a3210cb9
selftest/lkdtm: Skip stack-entropy test if lkdtm is not available

Exit with return code 4 if lkdtm is not available like other tests
in order to properly skip the test.

Signed-off-by: Misono Tomohiro <misono.tomohiro@jp.fujitsu.com>
Signed-off-by: Kees Cook <keescook@chromium.org>
Link: https://lore.kernel.org/r/20210805101236.1140381-1-misono.tomohiro@jp.fujitsu.com
tools/testing/selftests/lkdtm/stack-entropy.sh