Re: [RFC SHADOW PATCH 0/7] SELinux modernizations

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Apr 13, 2021 at 10:58 AM Christian Göttsche
<cgzones@xxxxxxxxxxxxxx> wrote:
>
> 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
>

These patches look good to me.

Acked-by: James Carter <jwcart2@xxxxxxxxx>




[Index of Archives]     [Selinux Refpolicy]     [Linux SGX]     [Fedora Users]     [Fedora Desktop]     [Yosemite Photos]     [Yosemite Camping]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux