mirror of
https://github.com/openharmony/kernel_linux_common_modules.git
synced 2026-08-27 09:41:18 -04:00
106ffc4b63
Output: The anonymized executable memory address of the JIT region of the rendering process cannot be queried through cat proc/pid/maps A new memory security enhancement module has been added to the rendering, and this submission is a custom function that can perform memory address hiding for the rendering process Signed-off-by: caobaolong <caobaolong5@huawei.com> Change-Id: I302f45f92d41d0df3db0e54c018247890d244028
22 lines
659 B
Makefile
Executable File
22 lines
659 B
Makefile
Executable File
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
#
|
|
# Copyright (c) 2023 Huawei Device Co., Ltd.
|
|
#
|
|
# Makefile for memory_security manager module
|
|
#
|
|
obj-$(CONFIG_HIDE_MEM_ADDRESS) += hideaddr.o
|
|
|
|
ccflags-$(CONFIG_HIDE_MEM_ADDRESS) += \
|
|
-I$(srctree)/fs/proc \
|
|
-I$(srctree)/security/selinux/include \
|
|
-I$(srctree)/security/selinux
|
|
|
|
$(addprefix $(obj)/,$(obj-y)): $(obj)/flask.h
|
|
|
|
quiet_cmd_flask = GEN $(obj)/flask.h $(obj)/av_permissions.h
|
|
cmd_flask = scripts/selinux/genheaders/genheaders $(obj)/flask.h $(obj)/av_permissions.h
|
|
|
|
targets += flask.h av_permissions.h
|
|
$(obj)/flask.h: $(srctree)/security/selinux/include/classmap.h FORCE
|
|
$(call if_changed,flask)
|