Modernize SELinux parts of shadow (https://github.com/shadow-maint/shadow). Upstream pull request: https://github.com/shadow-maint/shadow/pull/323 Christian Göttsche (7): struct commonio_db[selinux]: do not use deprecated type security_context_t vipw[selinux]: do not use deprecated typedef and skip context translation selinux.c: do not use deprecated typedef and skip context translation selinux.c:reset_selinux_file_context(): do not fail in permissive mode selinux.c: use modern selabel interface instead of deprecated matchpathcon set_selinux_file_context(): prepare context for actual file type selinux: only open selabel database once lib/commonio.c | 4 ++-- lib/commonio.h | 6 +---- lib/prototypes.h | 2 +- lib/selinux.c | 60 ++++++++++++++++++++++++++++++++--------------- libmisc/copydir.c | 8 +++---- src/useradd.c | 7 ++++-- src/userdel.c | 3 +++ src/usermod.c | 3 +++ src/vipw.c | 10 ++++---- 9 files changed, 65 insertions(+), 38 deletions(-) -- 2.31.0