mirror of
https://github.com/Kicksecure/security-misc.git
synced 2025-02-02 04:15:01 +07:00
Disable unprivileged userfaultfd use again
This commit is contained in:
parent
efb2683cfc
commit
4d0de87f79
@ -134,10 +134,8 @@ kernel.sysrq=132
|
|||||||
## https://lkml.org/lkml/2019/4/15/890
|
## https://lkml.org/lkml/2019/4/15/890
|
||||||
dev.tty.ldisc_autoload=0
|
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
|
## Restrict the userfaultfd() syscall to root as it can make heap sprays
|
||||||
## easier.
|
## easier.
|
||||||
##
|
##
|
||||||
## https://duasynt.com/blog/linux-kernel-heap-spray
|
## https://duasynt.com/blog/linux-kernel-heap-spray
|
||||||
#vm.unprivileged_userfaultfd=0
|
vm.unprivileged_userfaultfd=0
|
||||||
|
Loading…
Reference in New Issue
Block a user