summaryrefslogtreecommitdiffstats
path: root/target/linux/uml
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2019-04-07 19:08:18 +0200
committerHauke Mehrtens <hauke@hauke-m.de>2019-05-11 17:15:41 +0200
commit75eb8a146de8db0240e2eb3434074c700da2ba3c (patch)
tree959283b17d8955a7be1853b2c7c134ff05e6fb9f /target/linux/uml
parentd4ad7e654826c7e1e3aa987609771144af9aa77b (diff)
downloadopenwrt-75eb8a146de8db0240e2eb3434074c700da2ba3c.tar.gz
openwrt-75eb8a146de8db0240e2eb3434074c700da2ba3c.tar.bz2
openwrt-75eb8a146de8db0240e2eb3434074c700da2ba3c.zip
kernel: Deactivate CONFIG_BINFMT_MISC
CONFIG_BINFMT_MISC allows it to add support for new executable formats to the kernel from user space, the kernel will then detect for example a java binary and call the java execution program automatically. I am not aware that this feature is used in OpenWrt and this could be used to exploit something. Deactivate it for all targets for now. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Diffstat (limited to 'target/linux/uml')
-rw-r--r--target/linux/uml/config/x86_641
1 files changed, 0 insertions, 1 deletions
diff --git a/target/linux/uml/config/x86_64 b/target/linux/uml/config/x86_64
index 22fc8fb7e0..7223edd8a2 100644
--- a/target/linux/uml/config/x86_64
+++ b/target/linux/uml/config/x86_64
@@ -10,7 +10,6 @@ CONFIG_ARCH_HAS_KCOV=y
# CONFIG_ARCH_OPTIONAL_KERNEL_RWX is not set
# CONFIG_ARCH_OPTIONAL_KERNEL_RWX_DEFAULT is not set
# CONFIG_ARCH_REUSE_HOST_VSYSCALL_AREA is not set
-CONFIG_BINFMT_MISC=m
CONFIG_BLK_DEV_COW_COMMON=y
CONFIG_BLK_DEV_LOOP=y
CONFIG_BLK_DEV_UBD=y