1# Copyright (c) 2012 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_ptraceRestrictions"
6AUTHOR = "The Chromium OS Authors"
7PURPOSE = "Verify ptrace restrictions introduced by the Yama LSM"
8CRITERIA = "Fails if kernel lacks ptrace restrictions"
9TIME = "SHORT"
10ATTRIBUTES = "suite:bvt-inline"
11SUITE = "bvt-inline"
12TEST_CATEGORY = "Functional"
13TEST_CLASS = "security"
14TEST_TYPE = "client"
15JOB_RETRIES = 2
16
17DOC = """
18    Checks that the kernel correctly restricts the use of ptrace between
19    processes.
20"""
21
22job.run_test('security_ptraceRestrictions')
23