summaryrefslogtreecommitdiff
path: root/trusty/coverage/coverage_test.cpp
diff options
context:
space:
mode:
authorNick Kralevich <nnk@google.com>2015-02-25 15:48:06 -0800
committerNick Kralevich <nnk@google.com>2015-02-25 16:27:31 -0800
commit268eb4f3846d551c73eb4fc5a505f9a70d47b638 (patch)
treeb50ad9f45154bfd9568fe599fcfcdbd5f9ccea20 /trusty/coverage/coverage_test.cpp
parent7bb72b73b0291636721d83a45adad175163361ec (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 'trusty/coverage/coverage_test.cpp')
0 files changed, 0 insertions, 0 deletions