Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
kernel-hardening-checker
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
fact-depend
kernel-hardening-checker
Commits
29de5cc2
Commit
29de5cc2
authored
Jun 19, 2021
by
Alexander Popov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update KSPP recommendations
parent
fb4d95bd
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
18 additions
and
0 deletions
+18
-0
kspp-recommendations-arm.config
...iles/kspp-recommendations/kspp-recommendations-arm.config
+3
-0
kspp-recommendations-arm64.config
...es/kspp-recommendations/kspp-recommendations-arm64.config
+3
-0
kspp-recommendations-x86-32.config
...s/kspp-recommendations/kspp-recommendations-x86-32.config
+6
-0
kspp-recommendations-x86-64.config
...s/kspp-recommendations/kspp-recommendations-x86-64.config
+6
-0
No files found.
kconfig_hardened_check/config_files/kspp-recommendations/kspp-recommendations-arm.config
View file @
29de5cc2
...
@@ -80,6 +80,9 @@ CONFIG_REFCOUNT_FULL=y
...
@@ -80,6 +80,9 @@ CONFIG_REFCOUNT_FULL=y
# Check for memory copies that might overflow a structure in str*() and mem*() functions both at build-time and run-time.
# Check for memory copies that might overflow a structure in str*() and mem*() functions both at build-time and run-time.
CONFIG_FORTIFY_SOURCE
=
y
CONFIG_FORTIFY_SOURCE
=
y
# Avoid kernel memory address exposures via dmesg (sets sysctl kernel.dmesg_restrict initial value to 1)
CONFIG_SECURITY_DMESG_RESTRICT
=
y
# Dangerous; enabling this allows direct physical memory writing.
# Dangerous; enabling this allows direct physical memory writing.
# CONFIG_ACPI_CUSTOM_METHOD is not set
# CONFIG_ACPI_CUSTOM_METHOD is not set
...
...
kconfig_hardened_check/config_files/kspp-recommendations/kspp-recommendations-arm64.config
View file @
29de5cc2
...
@@ -80,6 +80,9 @@ CONFIG_REFCOUNT_FULL=y
...
@@ -80,6 +80,9 @@ CONFIG_REFCOUNT_FULL=y
# Check for memory copies that might overflow a structure in str*() and mem*() functions both at build-time and run-time.
# Check for memory copies that might overflow a structure in str*() and mem*() functions both at build-time and run-time.
CONFIG_FORTIFY_SOURCE
=
y
CONFIG_FORTIFY_SOURCE
=
y
# Avoid kernel memory address exposures via dmesg (sets sysctl kernel.dmesg_restrict initial value to 1)
CONFIG_SECURITY_DMESG_RESTRICT
=
y
# Dangerous; enabling this allows direct physical memory writing.
# Dangerous; enabling this allows direct physical memory writing.
# CONFIG_ACPI_CUSTOM_METHOD is not set
# CONFIG_ACPI_CUSTOM_METHOD is not set
...
...
kconfig_hardened_check/config_files/kspp-recommendations/kspp-recommendations-x86-32.config
View file @
29de5cc2
...
@@ -80,6 +80,9 @@ CONFIG_REFCOUNT_FULL=y
...
@@ -80,6 +80,9 @@ CONFIG_REFCOUNT_FULL=y
# Check for memory copies that might overflow a structure in str*() and mem*() functions both at build-time and run-time.
# Check for memory copies that might overflow a structure in str*() and mem*() functions both at build-time and run-time.
CONFIG_FORTIFY_SOURCE
=
y
CONFIG_FORTIFY_SOURCE
=
y
# Avoid kernel memory address exposures via dmesg (sets sysctl kernel.dmesg_restrict initial value to 1)
CONFIG_SECURITY_DMESG_RESTRICT
=
y
# Dangerous; enabling this allows direct physical memory writing.
# Dangerous; enabling this allows direct physical memory writing.
# CONFIG_ACPI_CUSTOM_METHOD is not set
# CONFIG_ACPI_CUSTOM_METHOD is not set
...
@@ -162,6 +165,9 @@ CONFIG_X86_PAE=y
...
@@ -162,6 +165,9 @@ CONFIG_X86_PAE=y
# Disallow allocating the first 64k of memory.
# Disallow allocating the first 64k of memory.
CONFIG_DEFAULT_MMAP_MIN_ADDR
=
65536
CONFIG_DEFAULT_MMAP_MIN_ADDR
=
65536
# Disable Model-Specific Register writes.
# CONFIG_X86_MSR is not set
# Randomize position of kernel.
# Randomize position of kernel.
CONFIG_RANDOMIZE_BASE
=
y
CONFIG_RANDOMIZE_BASE
=
y
...
...
kconfig_hardened_check/config_files/kspp-recommendations/kspp-recommendations-x86-64.config
View file @
29de5cc2
...
@@ -80,6 +80,9 @@ CONFIG_REFCOUNT_FULL=y
...
@@ -80,6 +80,9 @@ CONFIG_REFCOUNT_FULL=y
# Check for memory copies that might overflow a structure in str*() and mem*() functions both at build-time and run-time.
# Check for memory copies that might overflow a structure in str*() and mem*() functions both at build-time and run-time.
CONFIG_FORTIFY_SOURCE
=
y
CONFIG_FORTIFY_SOURCE
=
y
# Avoid kernel memory address exposures via dmesg (sets sysctl kernel.dmesg_restrict initial value to 1)
CONFIG_SECURITY_DMESG_RESTRICT
=
y
# Dangerous; enabling this allows direct physical memory writing.
# Dangerous; enabling this allows direct physical memory writing.
# CONFIG_ACPI_CUSTOM_METHOD is not set
# CONFIG_ACPI_CUSTOM_METHOD is not set
...
@@ -157,6 +160,9 @@ CONFIG_X86_64=y
...
@@ -157,6 +160,9 @@ CONFIG_X86_64=y
# Disallow allocating the first 64k of memory.
# Disallow allocating the first 64k of memory.
CONFIG_DEFAULT_MMAP_MIN_ADDR
=
65536
CONFIG_DEFAULT_MMAP_MIN_ADDR
=
65536
# Disable Model-Specific Register writes.
# CONFIG_X86_MSR is not set
# Randomize position of kernel and memory.
# Randomize position of kernel and memory.
CONFIG_RANDOMIZE_BASE
=
y
CONFIG_RANDOMIZE_BASE
=
y
CONFIG_RANDOMIZE_MEMORY
=
y
CONFIG_RANDOMIZE_MEMORY
=
y
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment