commit | 7c1a5e3b031a67a492cf9df94c7e78b6aed1e086 | [log] [tgz] |
---|---|---|
author | Petr Lautrbach <plautrba@redhat.com> | Mon Jun 20 16:10:18 2016 +0200 |
committer | Stephen Smalley <sds@tycho.nsa.gov> | Thu Jun 23 12:56:06 2016 -0400 |
tree | 43ddde8a17a9d96e418ac12dc034fe4fef6fe52a | |
parent | ff65937851d05d943d6e1d183a839f588647f9a6 [diff] |
libselinux: compare absolute pathname in matchpathcon -V filepath needs to be resolved first in order to be correctly found by selabel_lookup_raw() Fixes: $ matchpathcon -V passwd passwd has context system_u:object_r:passwd_file_t:s0, should be system_u:object_r:passwd_file_t:s0 $ echo $? 1 Signed-off-by: Petr Lautrbach <plautrba@redhat.com>