• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1NAME='kernel_CryptoAPI'
2PURPOSE='Crypto UAPI Module Loading Test'
3AUTHOR="""
4Brian Norris <briannorris@chromium.org>
5Mathias Krause <minipli@googlemail.com>
6"""
7TIME='SHORT'
8TEST_TYPE='client'
9TEST_CLASS='Kernel'
10TEST_CATEGORY='Security, Functional'
11ATTRIBUTES = "suite:bvt-perbuild, suite:smoke"
12SUITE = "bvt-perbuild, smoke"
13DOC="""
14Test whether crypto user API is loaded, and whether it is patched to prevent
15using it to load arbitrary modules as an unpriveleged user. (It should only
16allow loading of modules with a 'crypto-*' prefix.)
17Part of this test is pulled from:
18https://lkml.org/lkml/2013/3/4/70
19"""
20job.run_test('kernel_CryptoAPI')
21