mirror of
https://github.com/openharmony/kernel_linux_common_modules.git
synced 2026-08-27 01:31:36 -04:00
f21b8491ec
Signed-off-by: carmincol <changchen5@huawei.com> Change-Id: I45b71b20874d18cdb1a31a1038e1456f0a03d065 Signed-off-by: carmincol <changchen5@huawei.com>
30 lines
813 B
Plaintext
Executable File
30 lines
813 B
Plaintext
Executable File
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
# Copyright (c) 2023 Huawei Device Co., Ltd.
|
|
#
|
|
# Config for hide excutable memory address of process manager
|
|
#
|
|
|
|
menu "Hide memory address manager"
|
|
|
|
config MEMORY_SECURITY
|
|
default n
|
|
bool "Enable memory protection for render process"
|
|
help
|
|
Enable this to enable following two options.
|
|
|
|
config HIDE_MEM_ADDRESS
|
|
default n
|
|
bool "Hide excutable memory address in proc/[pid]/maps "
|
|
depends on MEMORY_SECURITY
|
|
help
|
|
Select show address about anonymous area of the process memory
|
|
with -rx- permissions or not.
|
|
|
|
config JIT_MEM_CONTROL
|
|
default n
|
|
bool "Enable memory protection for Just-In-Time compiler's codespace"
|
|
depends on MEMORY_SECURITY
|
|
help
|
|
Restrict mmap and mprotect interface for process which use JIT compiler.
|
|
endmenu
|
|
# a blank line must be existed |