• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# SPDX-License-Identifier: GPL-2.0-or-later
2# Copyright (c) 2023 Huawei Device Co., Ltd.
3#
4# Config for hide excutable memory address of process manager
5#
6
7menu "Hide memory address manager"
8
9config MEMORY_SECURITY
10	default n
11	bool "Enable memory protection for render process"
12	help
13	  Enable this to enable following two options.
14
15config HIDE_MEM_ADDRESS
16	default n
17	bool "Hide excutable memory address in proc/[pid]/maps "
18	depends on MEMORY_SECURITY
19	help
20	  Select show address about anonymous area of the process memory
21	  with -rx- permissions or not.
22
23config JIT_MEM_CONTROL
24	default n
25	bool "Enable memory protection for Just-In-Time compiler's codespace"
26	depends on MEMORY_SECURITY
27	help
28	  Restrict mmap and mprotect interface for process which use JIT compiler.
29endmenu
30# a blank line must be existed