Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 28107143 authored by Nick Kralevich's avatar Nick Kralevich Committed by Android Git Automerger
Browse files

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

* commit '9e27cab6':
  init.rc: Disable sysrq from the keyboard
parents fa993b2b 9e27cab6
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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