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

This retrieved context is 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>
src/vipw.c