mirror of
https://github.com/Kicksecure/security-misc.git
synced 2025-12-15 22:13:55 -05:00
disable vm.unprivileged_userfaultfd=0 for now
because broken https://forums.whonix.org/t/kernel-hardening/7296/406 reverts "Restrict the userfaultfd() syscall to root as it can make heap sprays easier." https://duasynt.com/blog/linux-kernel-heap-spray
This commit is contained in:
parent
44351ec9b7
commit
284a491100
1 changed files with 3 additions and 1 deletions
|
|
@ -134,8 +134,10 @@ kernel.sysrq=132
|
|||
## https://lkml.org/lkml/2019/4/15/890
|
||||
dev.tty.ldisc_autoload=0
|
||||
|
||||
## Disable for now.
|
||||
## https://forums.whonix.org/t/kernel-hardening/7296/406
|
||||
## Restrict the userfaultfd() syscall to root as it can make heap sprays
|
||||
## easier.
|
||||
##
|
||||
## https://duasynt.com/blog/linux-kernel-heap-spray
|
||||
vm.unprivileged_userfaultfd=0
|
||||
#vm.unprivileged_userfaultfd=0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue