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