commit | 82fe36007f045e4349df54a53d2d0da357c40e97 | [log] [tgz] |
---|---|---|
author | Nick Kralevich <nnk@google.com> | Sat Oct 10 00:33:50 2015 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Sat Oct 10 00:33:50 2015 +0000 |
tree | 1428fcaeddab37b0cf12be5e96429a95873fcc59 | |
parent | 75dd04e985fe1abc8bd2e28ffc3b1779d593c36e [diff] | |
parent | b09c7edff4b9e755d25b11440c8cf359356c44cc [diff] |
Merge "init.rc: Disable sysrq from the keyboard"
diff --git a/rootdir/init.rc b/rootdir/init.rc index bd4d156..38c686d 100644 --- a/rootdir/init.rc +++ b/rootdir/init.rc
@@ -13,6 +13,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