]> git.baikalelectronics.ru Git - kernel.git/commit
selftests: kmod: Add module address visibility test
authorKees Cook <keescook@chromium.org>
Fri, 3 Jul 2020 18:25:09 +0000 (11:25 -0700)
committerKees Cook <keescook@chromium.org>
Wed, 8 Jul 2020 23:01:36 +0000 (16:01 -0700)
commit459f170366d2e9f0c75f6c12cf7ec694ad1e0ed6
tree169fe178873610add2cce7887989252e57e18b61
parentd93ca2a99260387ace80964cca172185189465a9
selftests: kmod: Add module address visibility test

Make sure we don't regress the CAP_SYSLOG behavior of the module address
visibility via /proc/modules nor /sys/module/*/sections/*.

Reviewed-by: Luis Chamberlain <mcgrof@kernel.org>
Signed-off-by: Kees Cook <keescook@chromium.org>
tools/testing/selftests/kmod/kmod.sh