blob: 8ed02a2e8902f7f47d3c19a8a616778c996260ae [file] [log] [blame]
# Copyright (c) 2011 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
NAME = "security_HardlinkRestrictions"
AUTHOR = "The Chromium OS Authors"
PURPOSE = "Verify hardlink restrictions introduced by the Yama LSM"
CRITERIA = "Fails if kernel lacks hardlink restrictions"
TIME = "SHORT"
SUITE = "bvt-inline, smoke"
TEST_CATEGORY = "Functional"
TEST_CLASS = "security"
TEST_TYPE = "client"
JOB_RETRIES = 1
DOC = """
Checks that the kernel correctly restrictions the creation of dangerous
hardlinks.
"""
job.run_test('security_HardlinkRestrictions')