mirror of
https://github.com/Kicksecure/security-misc.git
synced 2025-05-20 02:50:25 -04:00
Merge pull request #10 from madaidan/patch-6
Enable more kernel hardening parameters
This commit is contained in:
commit
aec6da28e9
1 changed files with 9 additions and 0 deletions
|
@ -9,3 +9,12 @@ GRUB_CMDLINE_LINUX="$GRUB_CMDLINE_LINUX page_poison=1"
|
||||||
|
|
||||||
# Makes the kernel panic on uncorrectable errors in ECC memory that an attacker could exploit.
|
# Makes the kernel panic on uncorrectable errors in ECC memory that an attacker could exploit.
|
||||||
GRUB_CMDLINE_LINUX="$GRUB_CMDLINE_LINUX mce=0"
|
GRUB_CMDLINE_LINUX="$GRUB_CMDLINE_LINUX mce=0"
|
||||||
|
|
||||||
|
# Enables Kernel Page Table Isolation which mitigates Meltdown and improves KASLR.
|
||||||
|
GRUB_CMDLINE_LINUX="$GRUB_CMDLINE_LINUX pti=on"
|
||||||
|
|
||||||
|
# Disables smt which can be used to exploit the MDS vulnerability.
|
||||||
|
GRUB_CMDLINE_LINUX="$GRUB_CMDLINE_LINUX nosmt"
|
||||||
|
|
||||||
|
# Enables all mitigations for the MDS vulnerability.
|
||||||
|
GRUB_CMDLINE_LINUX="$GRUB_CMDLINE_LINUX mds=full"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue