1 # Copyright (c) 2010 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 = """ 8 Tests to ensure that RestartJob ignores argv[0] and cannot be 9 abused to launch arbitrary processes. 10 """ 11 NAME = "security_RestartJob" 12 PURPOSE = "Validate that RestartJob will not launch arbitrary processes" 13 CRITERIA = """ 14 Fail if we are able to launch an arbitrary process via RestartJob. 15 """ 16 ATTRIBUTES = "suite:bvt-inline, suite:smoke" 17 SUITE = "bvt-inline, smoke" 18 TEST_CLASS = "security" 19 TEST_CATEGORY = "Security" 20 TEST_TYPE = "client" 21 JOB_RETRIES = 2 22 23 job.run_test("security_RestartJob") 24