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