]> git.baikalelectronics.ru Git - kernel.git/commit
selftests: kmod: Add module address visibility test
authorKees Cook <keescook@chromium.org>
Fri, 3 Jul 2020 18:43:28 +0000 (11:43 -0700)
committerShuah Khan <skhan@linuxfoundation.org>
Fri, 17 Jul 2020 19:36:51 +0000 (13:36 -0600)
commit0b58ba552db6f13086583937f8811c7f5cc09681
treee10073ace75a8d63f72ff931dc15392aebabf289
parent1a7824c4a86338873643be70700b6f338b09531b
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/*.

Cc: Luis Chamberlain <mcgrof@kernel.org>
Cc: Shuah Khan <shuah@kernel.org>
Cc: linux-kselftest@vger.kernel.org
Signed-off-by: Kees Cook <keescook@chromium.org>
Reviewed-by: Luis Chamberlain <mcgrof@kernel.org>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
tools/testing/selftests/kmod/kmod.sh