mirror of
https://github.com/Kicksecure/security-misc.git
synced 2025-07-14 01:42:01 +07:00
Provide option to disable 32 bit vDSO mappings
This commit is contained in:
@ -145,6 +145,8 @@ configuration file.
|
|||||||
safety error detector which can identify heap out-of-bounds access, use-after-free,
|
safety error detector which can identify heap out-of-bounds access, use-after-free,
|
||||||
and invalid-free errors.
|
and invalid-free errors.
|
||||||
|
|
||||||
|
- Provide the option to disable 32 bit vDSO mappings.
|
||||||
|
|
||||||
- Provide the option to use kCFI as the default CFI implementation since it may be
|
- Provide the option to use kCFI as the default CFI implementation since it may be
|
||||||
slightly more resilient to attacks that are able to write arbitrary executables
|
slightly more resilient to attacks that are able to write arbitrary executables
|
||||||
in memory (when using Linux kernel version >= 6.2).
|
in memory (when using Linux kernel version >= 6.2).
|
||||||
|
@ -122,6 +122,14 @@ GRUB_CMDLINE_LINUX="$GRUB_CMDLINE_LINUX debugfs=off"
|
|||||||
##
|
##
|
||||||
#GRUB_CMDLINE_LINUX="$GRUB_CMDLINE_LINUX kfence.sample_interval=100"
|
#GRUB_CMDLINE_LINUX="$GRUB_CMDLINE_LINUX kfence.sample_interval=100"
|
||||||
|
|
||||||
|
## Disable x86 Virtual Dynamic Shared Object (vDSO) mappings.
|
||||||
|
##
|
||||||
|
## https://en.wikipedia.org/wiki/VDSO
|
||||||
|
##
|
||||||
|
## The use of 32 bit vDSO mappings is currently enabled.
|
||||||
|
##
|
||||||
|
#GRUB_CMDLINE_LINUX="$GRUB_CMDLINE_LINUX vdso32=0"
|
||||||
|
|
||||||
## Switch (back) to using kCFI as the default Control Flow Integrity (CFI) implementation.
|
## Switch (back) to using kCFI as the default Control Flow Integrity (CFI) implementation.
|
||||||
## The default implementation is FIneIBT as of Linux kernel 6.2.
|
## The default implementation is FIneIBT as of Linux kernel 6.2.
|
||||||
## The Intel-developed IBT (Indirect Branch Tracking) is only used if supported by the CPU.
|
## The Intel-developed IBT (Indirect Branch Tracking) is only used if supported by the CPU.
|
||||||
|
Reference in New Issue
Block a user