]> git.ipfire.org Git - thirdparty/shadow.git/commit
selinux.c: do not use deprecated typedef and skip context translation
authorChristian Göttsche <cgzones@googlemail.com>
Fri, 9 Apr 2021 16:20:51 +0000 (18:20 +0200)
committerChristian Göttsche <cgzones@googlemail.com>
Thu, 6 May 2021 14:58:10 +0000 (16:58 +0200)
commit95fd179683e414db4f6ebd9467476e45d94decda
tree2a6ac00f61e4f908c81e78a344b93f9493a96620
parentc0aa8a876e8d90c00ec870663776b2af38cd2a7f
selinux.c: do not use deprecated typedef and skip context translation

These retrieved contexts are just passed to libselinux functions and not
printed or otherwise made available to the outside, so a context
translation to human readable MCS/MLS labels is not needed.
(see man:setrans.conf(5))

The typedef security_context_t is deprecated, see
https://github.com/SELinuxProject/selinux/commit/9eb9c9327563014ad6a807814e7975424642d5b9

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