commit | 87ceb1e29e97a79091b51936c12f1f82d5a328d0 | [log] [tgz] |
---|---|---|
author | Dan Cashman <dcashman@google.com> | Thu Sep 10 09:42:15 2015 -0700 |
committer | dcashman <dcashman@google.com> | Mon Sep 21 14:43:23 2015 -0700 |
tree | a047491a9b28d5c24cbb21cf8ec5623fd467dcde | |
parent | d4b197ab1b4a2d694114b2c127fe009326fb0958 [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: Iebb5d5e9c637c2ef3da5d5674f73babf094af131