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