• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright 2017 The Chromium OS Authors. All rights reserved.
2# Use of this source code is governed by a BSD-style license that can be
3# found in the LICENSE file.
4
5AUTHOR = "ejcaruso@chromium.org"
6NAME = "security_DeviceJail_Lockdown"
7PURPOSE = "Verify that the device jail module is functioning."
8TIME = "SHORT"
9ATTRIBUTES = "suite:security"
10TEST_CATEGORY = "Functional"
11TEST_CLASS = "security"
12TEST_TYPE = "client"
13DOC = """
14This test is not applicable if the control devices for device jail are
15not present. This means the kernel must be 3.14 or later.
16The test will fail if it can perform a privileged operation on a jail
17device which has been locked down. For example, trying to detach the
18kernel driver or talk directly to a driver for a USB device should
19not be allowed on these devices.
20"""
21
22job.run_test('security_DeviceJail_Lockdown')
23