commit | 268eb4f3846d551c73eb4fc5a505f9a70d47b638 | [log] [tgz] |
---|---|---|
author | Nick Kralevich <nnk@google.com> | Wed Feb 25 15:48:06 2015 -0800 |
committer | Nick Kralevich <nnk@google.com> | Wed Feb 25 16:27:31 2015 -0800 |
tree | b50ad9f45154bfd9568fe599fcfcdbd5f9ccea20 | |
parent | 7bb72b73b0291636721d83a45adad175163361ec [diff] |
check if uid=0 before attempting remount If "adb remount" is done without having done "adb root" first, scary looking SELinux denials are emitted before the operation eventually fails. Avoid the scary looking messages by refusing remount attempts if we're not running with privileges. Change-Id: I298621251a10e38345ef77875003a97c8b5a0270