configs: qemu_arm64: disable SEMIHOSTING
Semihosting allows a virtual machine to write to the host file system. Such dangerous settings should not be in a defconfig. Move it to a CI configuration override. Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
This commit is contained in:
committed by
Tom Rini
parent
737386977b
commit
f2f69886ac
@@ -504,6 +504,7 @@ stages:
|
||||
qemu_arm64:
|
||||
TEST_PY_BD: "qemu_arm64"
|
||||
TEST_PY_TEST_SPEC: "not sleep"
|
||||
OVERRIDE: "-a CONFIG_SEMIHOSTING=y"
|
||||
qemu_arm64_lwip:
|
||||
TEST_PY_BD: "qemu_arm64_lwip"
|
||||
TEST_PY_TEST_SPEC: "test_net_dhcp or test_net_ping or test_net_tftpboot"
|
||||
|
||||
@@ -387,6 +387,7 @@ qemu_arm64 test.py:
|
||||
variables:
|
||||
TEST_PY_BD: "qemu_arm64"
|
||||
TEST_PY_TEST_SPEC: "not sleep"
|
||||
OVERRIDE: "-a CONFIG_SEMIHOSTING=y"
|
||||
<<: *buildman_and_testpy_dfn
|
||||
|
||||
qemu_arm64_lwip test.py:
|
||||
|
||||
@@ -71,7 +71,6 @@ CONFIG_SYSRESET_PSCI=y
|
||||
CONFIG_TPM2_MMIO=y
|
||||
CONFIG_USB_EHCI_HCD=y
|
||||
CONFIG_USB_EHCI_PCI=y
|
||||
CONFIG_SEMIHOSTING=y
|
||||
CONFIG_MBEDTLS_LIB=y
|
||||
CONFIG_TPM=y
|
||||
CONFIG_TPM_PCR_ALLOCATE=y
|
||||
|
||||
Reference in New Issue
Block a user