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 5 TIME = "SHORT" 6 AUTHOR = "The Chromium OS Authors" 7 DOC = "Enforces a whitelist of open file descriptors expected in key processes." 8 NAME = "security_OpenFDs" 9 PURPOSE = ("To ensure unnecessary open file descriptors don't undermine" 10 "sandboxing or create other security weaknesses.") 11 CRITERIA = "Fail if the list of open fds seen doesn't match the expected set." 12 ATTRIBUTES = "suite:bvt-inline" 13 SUITE = "bvt-inline" 14 TEST_CLASS = "security" 15 TEST_CATEGORY = "Functional" 16 TEST_TYPE = "client" 17 JOB_RETRIES = 2 18 19 job.run_test("security_OpenFDs") 20