29c98f0e8245786c86246e73699eff40bba35777 |
|
30-Jul-2015 |
Brian Norris <briannorris@chromium.org> |
[autotest] add crypto module-loading test The crypto user APIs had some holes in them that allow loading of arbitrary kernel modules. This simple test was pulled from: https://lkml.org/lkml/2013/3/4/70 Add this test to the bvt-perbuild and smoke test suites, so they get run regularly. Only allow these tests to run on v3.8 and newer, since AF_ALG will report socket() errors on kernels that didn't have them enabled. BUG=chromium:462835 CQ-DEPEND=CL:290237,CL:290342,CL:290324,CL:290158 TEST=kernel_CryptoAPI Change-Id: I73dd5771db5e38fcf5e59c0ae67d5ddb2bcfd43a Signed-off-by: Brian Norris <briannorris@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/290304 Reviewed-by: Kees Cook <keescook@chromium.org>
/external/autotest/client/site_tests/kernel_CryptoAPI/src/Makefile
|