commit | 7df397d3d916e7018981b9fcf8062f992b4cec49 | [log] [tgz] |
---|---|---|
author | Eric Paris <eparis@redhat.com> | Wed Aug 17 11:24:25 2011 -0400 |
committer | Eric Paris <eparis@redhat.com> | Fri Aug 26 14:27:37 2011 -0400 |
tree | e8eeaeac657b1047638256db0d745d6d359598ca | |
parent | 57c6012f8662d8f40d42fe145a5ec55bbd1b0f73 [diff] |
libselinux: move realpath helper to matchpathcon library Instead of only doing path simplification and symlink following for the matchpathcon helper instead do it in the library potion. This was an issue when in python some called selinux.matchpatchcon("//lib64", 0) and got the wrong answer (because the // wasn't being dealt with) Signed-off-by: Eric Paris <eparis@redhat.com> Acked-by: Dan Walsh <dwalsh@redhat.com>