1# SPDX-License-Identifier: GPL-2.0-or-later 2# Copyright (c) 2023 Huawei Device Co., Ltd. 3# 4# Config for the excutable permission manager 5# 6 7menu "Executable permission manager" 8 9config SECURITY_XPM 10 def_bool $(success, $(srctree)/scripts/ohos-check-dir.sh $(srctree)/security/xpm) 11 depends on 64BIT 12 help 13 The Executable Permission Manager(XPM) control process execution 14 by inserting control poliy into the security hook list, such as execv, 15 mmap and etc. It can control not to execute an illegal signature 16 process. 17 18config SECURITY_XPM_DEBUG 19 bool "Enables excutable permission manager debug mode" 20 depends on SECURITY_XPM 21 default n 22 help 23 This option should only be enabled for debug test which can enable 24 some debug interfaces to obtain detailed information. 25endmenu 26# a blank line must be existed