am 9e27cab6: Merge "init.rc: Disable sysrq from the keyboard"

* commit '9e27cab695b0e2a4910cf576d306a3379991f1f7':
  init.rc: Disable sysrq from the keyboard
This commit is contained in:
Nick Kralevich 2015-10-10 00:38:18 +00:00 committed by Android Git Automerger
commit 281071435a

View file

@ -14,6 +14,9 @@ on early-init
# Set init and its forked children's oom_adj.
write /proc/1/oom_score_adj -1000
# Disable sysrq from keyboard
write /proc/sys/kernel/sysrq 0
# Set the security context of /adb_keys if present.
restorecon /adb_keys