forked from Imagelibrary/seL4
Hikey: disable DANGEROUS_CODE_INJECTION
DANGEROUS_CODE_INJECTION does not work on the Hikey due to the current state of the vspace implementation.
This commit is contained in:
2
Kconfig
2
Kconfig
@@ -556,7 +556,7 @@ menu "Build Options"
|
||||
|
||||
config DANGEROUS_CODE_INJECTION
|
||||
bool "Build kernel with support for executing arbitrary code in protected mode"
|
||||
depends on !ARM_HYPERVISOR_SUPPORT && !VERIFICATION_BUILD
|
||||
depends on !ARM_HYPERVISOR_SUPPORT && !VERIFICATION_BUILD && !PLAT_HIKEY
|
||||
default n
|
||||
help
|
||||
Adds a system call that allows users to specify code to be run in kernel
|
||||
|
||||
@@ -242,7 +242,7 @@ config_option(KernelDangerousCodeInjection DANGEROUS_CODE_INJECTION
|
||||
"Adds a system call that allows users to specify code to be run in kernel mode. \
|
||||
Useful for profiling."
|
||||
DEFAULT OFF
|
||||
DEPENDS "NOT KernelARMHypervisorSupport;NOT KernelVerificationBuild"
|
||||
DEPENDS "NOT KernelARMHypervisorSupport;NOT KernelVerificationBuild;NOT KernelPlatformHikey"
|
||||
)
|
||||
|
||||
config_option(KernelDebugDisablePrefetchers DEBUG_DISABLE_PREFETCHERS
|
||||
|
||||
Reference in New Issue
Block a user