mirror of
https://github.com/Kicksecure/security-misc.git
synced 2025-02-02 10:55:07 -05:00
Restrict the userfaultfd() syscall to root
This commit is contained in:
parent
c7f2537930
commit
6b64b36b01
@ -133,3 +133,9 @@ kernel.sysrq=132
|
||||
##
|
||||
## https://lkml.org/lkml/2019/4/15/890
|
||||
dev.tty.ldisc_autoload=0
|
||||
|
||||
## 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
|
||||
|
Loading…
x
Reference in New Issue
Block a user