• 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"
12DOC="""
13Test whether crypto user API is loaded, and whether it is patched to prevent
14using it to load arbitrary modules as an unpriveleged user. (It should only
15allow loading of modules with a 'crypto-*' prefix.)
16Part of this test is pulled from:
17https://lkml.org/lkml/2013/3/4/70
18"""
19job.run_test('kernel_CryptoAPI')
20