commit | 249094fcb1b4d3a37be10e394023bcba75fff2b1 | [log] [tgz] |
---|---|---|
author | Dan Cashman <dcashman@google.com> | Thu Sep 10 09:42:15 2015 -0700 |
committer | Dan Cashman <dcashman@google.com> | Thu Sep 17 09:23:16 2015 -0700 |
tree | 4c8c5578f36198ed829176ccf7b55295b94d5e7c | |
parent | 91b7d911c51f972f127972bc5c529310387fba8b [diff] |
Enable restorecon to properly label symlinks. commit: 06d45512e2df93f65a51877a51549e522b4f2cf5 changed restorecon to only operate on paths which had undergone a realpath transformation. Unfortunately, this made it impossible to directly restorecon a symlink, since the symlink would be followed. Change restorecon to only perform realpath on the directory prefix, so that symlinks can be labeled. Bug: 21732016 Change-Id: I95e18f9a8e9ffda8cf9ab8676052486c68216b00