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" 17SUITE = "bvt-inline, smoke" 18TEST_CLASS = "security" 19TEST_CATEGORY = "Security" 20TEST_TYPE = "client" 21JOB_RETRIES = 2 22 23job.run_test("security_RestartJob") 24