am 28107143: am 9e27cab6: Merge "init.rc: Disable sysrq from the keyboard"
* commit '281071435a00e8f8d9cd91f3a12f31e7c64ac878':
init.rc: Disable sysrq from the keyboard
diff --git a/rootdir/init.rc b/rootdir/init.rc
index 0507c57..b80c454 100644
--- a/rootdir/init.rc
+++ b/rootdir/init.rc
@@ -14,6 +14,9 @@
# 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