Skip to content

Commit

Permalink
enable kernel mitigations for file spoofing
Browse files Browse the repository at this point in the history
  • Loading branch information
thestinger authored and kdrag0n committed Jun 7, 2022
1 parent 64935cc commit 112cbfc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions rootdir/init.rc
Original file line number Diff line number Diff line change
Expand Up @@ -328,6 +328,9 @@ on init
write /proc/sys/fs/protected_hardlinks 1
write /proc/sys/fs/protected_symlinks 1

write /proc/sys/fs/protected_fifos 2
write /proc/sys/fs/protected_regular 2

# scheduler tunables
# Disable auto-scaling of scheduler tunables with hotplug. The tunables
# will vary across devices in unpredictable ways if allowed to scale with
Expand Down

0 comments on commit 112cbfc

Please sign in to comment.