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