1# Copyright 2017 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 that SessionManager D-Bus endpoints cannot be abused. 9""" 10NAME = "security_SessionManagerDbusEndpoints" 11PURPOSE = """ 12Validates that EnableChromeTesting is root only, and that RestartJob will not 13launch arbitrary processes. 14""" 15CRITERIA = """ 16Fails if EnableChromeTesting can be called as user 'chronos', or if RestartJob 17allows executing an arbitrary binary. 18""" 19ATTRIBUTES = "suite:bvt-perbuild" 20TEST_CATEGORY = "Security" 21TEST_CLASS = "security" 22TEST_TYPE = "client" 23JOB_RETRIES = 2 24 25job.run_test("security_SessionManagerDbusEndpoints") 26