projects
/
kconfig-hardened-check.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
4e4ea6b
)
Specify the architecture in KSPP recommendations
author
Alexander Popov
<alex.popov@linux.com>
Tue, 22 Jan 2019 11:03:11 +0000
(14:03 +0300)
committer
Alexander Popov
<alex.popov@linux.com>
Tue, 22 Jan 2019 11:12:00 +0000
(14:12 +0300)
config_files/kspp-recommendations-arm.config
patch
|
blob
|
history
config_files/kspp-recommendations-arm64.config
patch
|
blob
|
history
config_files/kspp-recommendations-x86-32.config
patch
|
blob
|
history
diff --git
a/config_files/kspp-recommendations-arm.config
b/config_files/kspp-recommendations-arm.config
index 4e468ab283f7f998d49144e379b06c36d7ce244c..e8223fce02f694f40273a95ae5b9b32b42d94757 100644
(file)
--- a/
config_files/kspp-recommendations-arm.config
+++ b/
config_files/kspp-recommendations-arm.config
@@
-133,6
+133,8
@@
CONFIG_GCC_PLUGIN_RANDSTRUCT=y
#arm
#arm
+CONFIG_ARM=y
+
# Disallow allocating the first 32k of memory (cannot be 64k due to ARM loader).
CONFIG_DEFAULT_MMAP_MIN_ADDR=32768
# Disallow allocating the first 32k of memory (cannot be 64k due to ARM loader).
CONFIG_DEFAULT_MMAP_MIN_ADDR=32768
diff --git
a/config_files/kspp-recommendations-arm64.config
b/config_files/kspp-recommendations-arm64.config
index 4a06e770c09be02149230facd14cad1edf98e917..4505f3f0f686b61d024bc875055dfef30f5ad14c 100644
(file)
--- a/
config_files/kspp-recommendations-arm64.config
+++ b/
config_files/kspp-recommendations-arm64.config
@@
-133,6
+133,8
@@
CONFIG_GCC_PLUGIN_RANDSTRUCT=y
#arm64
#arm64
+CONFIG_ARM64=y
+
# Disallow allocating the first 32k of memory (cannot be 64k due to ARM loader).
CONFIG_DEFAULT_MMAP_MIN_ADDR=32768
# Disallow allocating the first 32k of memory (cannot be 64k due to ARM loader).
CONFIG_DEFAULT_MMAP_MIN_ADDR=32768
diff --git
a/config_files/kspp-recommendations-x86-32.config
b/config_files/kspp-recommendations-x86-32.config
index 12c62c2a78c2ab8a0fde4dd480fbbe6e594cfe9f..665c00a1b147893718cf7563bc298f5023ddf47a 100644
(file)
--- a/
config_files/kspp-recommendations-x86-32.config
+++ b/
config_files/kspp-recommendations-x86-32.config
@@
-133,6
+133,8
@@
CONFIG_GCC_PLUGIN_RANDSTRUCT=y
#x86_32
#x86_32
+CONFIG_X86_32=y
+
# On 32-bit kernels, require PAE for NX bit support.
# CONFIG_M486 is not set
# CONFIG_HIGHMEM4G is not set
# On 32-bit kernels, require PAE for NX bit support.
# CONFIG_M486 is not set
# CONFIG_HIGHMEM4G is not set