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