diff options
| author | Hauke Mehrtens <hauke@hauke-m.de> | 2019-04-07 17:14:24 +0200 |
|---|---|---|
| committer | Hauke Mehrtens <hauke@hauke-m.de> | 2019-05-11 17:15:41 +0200 |
| commit | 46af22de16b2ced67116f1ad96bb00cf98146c3e (patch) | |
| tree | 28e73b980cedb0708d310d370ae19fd1e0f99c72 /target/linux/generic | |
| parent | 7099bf09265643f739fa6ffdf758397fd914b769 (diff) | |
| download | upstream-46af22de16b2ced67116f1ad96bb00cf98146c3e.tar.gz upstream-46af22de16b2ced67116f1ad96bb00cf98146c3e.tar.bz2 upstream-46af22de16b2ced67116f1ad96bb00cf98146c3e.zip | |
kernel: Remove CONFIG_COMPAT
This removes support for executing old 32 bit applications on 64 bit ARM
and MIPS kernels.
On OpenWrt we normally compile all the user space applications on our
own and do not support third party binary only modules especial not 32
bit applications on 64 bit CPUs.
This reduces the attack surface on such systems and should also save
some memory.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Diffstat (limited to 'target/linux/generic')
| -rw-r--r-- | target/linux/generic/config-4.14 | 1 | ||||
| -rw-r--r-- | target/linux/generic/config-4.19 | 1 | ||||
| -rw-r--r-- | target/linux/generic/config-4.9 | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/target/linux/generic/config-4.14 b/target/linux/generic/config-4.14 index cfd13753ff1..de8341ddab0 100644 --- a/target/linux/generic/config-4.14 +++ b/target/linux/generic/config-4.14 @@ -819,6 +819,7 @@ CONFIG_CMDLINE="" # CONFIG_COMMON_CLK_XLNX_CLKWZRD is not set CONFIG_COMPACTION=y # CONFIG_COMPAL_LAPTOP is not set +# CONFIG_COMPAT is not set # CONFIG_COMPAT_BRK is not set # CONFIG_COMPILE_TEST is not set # CONFIG_CONFIGFS_FS is not set diff --git a/target/linux/generic/config-4.19 b/target/linux/generic/config-4.19 index e229cb674cd..aec00143d3c 100644 --- a/target/linux/generic/config-4.19 +++ b/target/linux/generic/config-4.19 @@ -850,6 +850,7 @@ CONFIG_CMDLINE="" # CONFIG_COMMON_CLK_XLNX_CLKWZRD is not set CONFIG_COMPACTION=y # CONFIG_COMPAL_LAPTOP is not set +# CONFIG_COMPAT is not set # CONFIG_COMPAT_BRK is not set # CONFIG_COMPILE_TEST is not set # CONFIG_CONFIGFS_FS is not set diff --git a/target/linux/generic/config-4.9 b/target/linux/generic/config-4.9 index cf50b4919cc..1194f5a5a8f 100644 --- a/target/linux/generic/config-4.9 +++ b/target/linux/generic/config-4.9 @@ -766,6 +766,7 @@ CONFIG_CMDLINE="" # CONFIG_COMMON_CLK_XLNX_CLKWZRD is not set CONFIG_COMPACTION=y # CONFIG_COMPAL_LAPTOP is not set +# CONFIG_COMPAT is not set # CONFIG_COMPAT_BRK is not set # CONFIG_COMPILE_TEST is not set # CONFIG_CONFIGFS_FS is not set |
