mirror of
https://github.com/Kicksecure/security-misc.git
synced 2025-05-17 02:52:11 -04:00
Restrict the userfaultfd() syscall to root
This commit is contained in:
parent
c7f2537930
commit
6b64b36b01
1 changed files with 6 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue