1 # Copyright 2015 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 NAME = "security_mprotect" 6 AUTHOR = "The Chromium OS Authors" 7 PURPOSE = "Verify mprotect+PROT_EXEC works on noexec filesystem" 8 CRITERIA = "Fails if PROT_EXEC cannot be mapped on noexec filesystem" 9 TIME = "SHORT" 10 ATTRIBUTES = "suite:bvt-inline, suite:smoke" 11 TEST_CATEGORY = "Functional" 12 TEST_CLASS = "security" 13 TEST_TYPE = "client" 14 JOB_RETRIES = 2 15 16 DOC = """ 17 Checks that mprotect can use PROT_EXEC on noexec filesystems, 18 which NaCl needs for shared memory objects. 19 """ 20 21 job.run_test('security_mprotect') 22