Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a couple simple hardening options #569

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion config-qubes
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,10 @@ CONFIG_GCC_PLUGINS=y
CONFIG_GCC_PLUGIN_LATENT_ENTROPY=y
CONFIG_GCC_PLUGIN_STRUCTLEAK=y
CONFIG_GCC_PLUGIN_STRUCTLEAK_BYREF_ALL=y
## XXX: What's about RANDSTRUCT?
## CONFIG_ZERO_CALL_USED_REGS=y requires too new a toolchain
# CONFIG_SLUB_DEBUG_ON is not set
## XXX: What's about RANDSTRUCT? Answer: not useful against attacks targeting
## Qubes, useful against generic attacks

## Those depend on CONFIG_EXPERT
CONFIG_ARCH_MMAP_RND_BITS=32
Expand All @@ -40,6 +43,7 @@ CONFIG_ARCH_MMAP_RND_COMPAT_BITS=16
# CONFIG_KEXEC is not set

CONFIG_LEGACY_VSYSCALL_NONE=y
# CONFIG_MODIFY_LDT_SYSCALL is not set

# CONFIG_ACPI_CUSTOM_METHOD is not set

Expand Down