commit | c2a1f57f5f8492bc8951521d7a8422b951de0b30 | [log] [tgz] |
---|---|---|
author | Luis Hector Chavez <lhchavez@google.com> | Wed Jun 27 10:40:10 2018 -0700 |
committer | Luis Hector Chavez <lhchavez@google.com> | Wed Jun 27 11:09:28 2018 -0700 |
tree | c7d8c67e7c4c9fa8d6fd21f9b462aa415b32be18 | |
parent | bcf0c110d64775b51bf3fd160929bbe76247af41 [diff] |
Add a way to disable run-as at runtime This change adds the ro.boot.disable_runas system property, that when set, disables the run-as command. This is done to reduce the surface area of programs that have file based capabilities in Chrome OS, and what they can do when running in non-developer mode. Bug: 31630024 Test: run-as still works in aosp_sailfish Test: run-as still works in Android in Chrome OS (in developer mode) Change-Id: Iaf1d6f9ceb65081b7a9e17b9b91d8855e4080133