]> git.ipfire.org Git - thirdparty/shadow.git/commit
selinux.c: use modern selabel interface instead of deprecated matchpathcon
authorChristian Göttsche <cgzones@googlemail.com>
Fri, 9 Apr 2021 16:20:55 +0000 (18:20 +0200)
committerChristian Göttsche <cgzones@googlemail.com>
Thu, 6 May 2021 14:58:10 +0000 (16:58 +0200)
commit5f7649fb37bfe66544bc3141c047f5d09c8eaef5
tree2dbe8dfa71c4bc6c7c6542fe89dcb1df07285127
parente367d111e513a61495213028e8d4ab2e36775790
selinux.c: use modern selabel interface instead of deprecated matchpathcon

matchpathcon(3) is deprecated in favor of selabel_lookup(3).

Signed-off-by: Christian Göttsche <cgzones@googlemail.com>
Acked-by: James Carter <jwcart2@gmail.com>
lib/selinux.c