commit | ef62f3fcbb2189d230497f12996e25bae205245b | [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 | fc1cf90741e59d5615a7dcea1813f38bfa3a2eec [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