• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (c) 2011 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
5NAME = "security_SymlinkRestrictions"
6AUTHOR = "The Chromium OS Authors"
7PURPOSE = "Verify symlink restrictions introduced by the Yama LSM"
8CRITERIA = "Fails if kernel lacks symlink restrictions"
9TIME = "SHORT"
10ATTRIBUTES = "suite:bvt-inline, suite:smoke"
11TEST_CATEGORY = "Functional"
12TEST_CLASS = "security"
13TEST_TYPE = "client"
14JOB_RETRIES = 2
15
16DOC = """
17    Checks that the kernel correctly restrictions the use of dangerous
18    symlinks.
19"""
20
21job.run_test('security_SymlinkRestrictions')
22