1# Copyright (c) 2015 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_AltSyscall"
6TIME = "SHORT"
7AUTHOR = "abrestic"
8DOC = """
9Tests alt_syscall functionality using minijail.
10"""
11PURPOSE = "Verify that alt_syscall allows/blocks syscalls as expected"
12CRITERIA = """
13Syscalls which are allowed by the alt_syscall table should succeed, syscalls
14blocked by the alt_syscall table should fail, and attempts to change the
15alt_syscall table once it has been set should fail.
16"""
17ATTRIBUTES = "suite:bvt-cq"
18TEST_CLASS = "security"
19TEST_CATEGORY = "Functional"
20TEST_TYPE = "client"
21JOB_RETRIES = 2
22
23job.run_test("security_AltSyscall")
24