OSDN Git Service

e2fsdroid: use libselinux function to read file context on device
authorJin Qian <jinqian@google.com>
Tue, 20 Jun 2017 20:49:53 +0000 (13:49 -0700)
committerJin Qian <jinqian@google.com>
Tue, 27 Jun 2017 00:14:22 +0000 (17:14 -0700)
commit2fff6fb036cbbb6dedd7da3d208b312a9038a5ce
tree39bd1712eca2a32c84f373f843456f97b0c9c0c7
parent778eaa84a0e539e755ef0a8c1928685eddb87aaf
e2fsdroid: use libselinux function to read file context on device

When e2fsdroid runs on device, location of selinux file contexts
should be determined by libselinux instead of using arbitrary paths.

Bug: 35219933
Change-Id: I413b198422eddb212599498b532ba2c4d8bb36c6
Merged-In: I413b198422eddb212599498b532ba2c4d8bb36c6
contrib/android/perms.c
contrib/android/perms.h