selinux/libselinux
Nicolas Iooss d23342a9de libselinux: convert matchpathcon to selabel_lookup()
Function matchpathcon() is deprecated in favor of selabel_lookup() but
program "matchpathcon" is much easier to use than "selabel_loopkup" to
find the file context which would be applied to some files and
directories.

More precisely:

    matchpathcon /path/to/my/file

is easier to type and remember than:

    selabel_lookup -b file -k /path/to/my/file

It also allows performing multiple context searches in one command,
where selabel_lookup cannot use multiple -k options.

Migrate matchpathcon to the preferred API.

Signed-off-by: Nicolas Iooss <nicolas.iooss@m4x.org>
Acked-by: Petr Lautrbach <plautrba@redhat.com>
2020-10-14 17:57:26 +02:00
..
include libselinux: Add new log callback levels for enforcing and policy load notices. 2020-08-31 10:27:46 -04:00
man libselinux: Add additional log callback details in man page for auditing. 2020-09-15 17:19:32 -04:00
src libselinux: Change userspace AVC setenforce and policy load messages to audit format. 2020-09-15 17:19:32 -04:00
utils libselinux: convert matchpathcon to selabel_lookup() 2020-10-14 17:57:26 +02:00
LICENSE
Makefile libselinux: fix build order 2020-08-17 11:54:16 -04:00
VERSION Update VERSIONs and Python bindings version to 3.1 for release 2020-07-10 17:17:15 +02:00