diff options
| author | Nick Kralevich <nnk@google.com> | 2015-02-25 15:48:06 -0800 |
|---|---|---|
| committer | Nick Kralevich <nnk@google.com> | 2015-02-25 16:27:31 -0800 |
| commit | 268eb4f3846d551c73eb4fc5a505f9a70d47b638 (patch) | |
| tree | b50ad9f45154bfd9568fe599fcfcdbd5f9ccea20 /base/errors_unix.cpp | |
| 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
Diffstat (limited to 'base/errors_unix.cpp')
0 files changed, 0 insertions, 0 deletions
