mbox series

[userspace,0/2] Introduce an initial SID for early boot processes

Message ID 20230612093107.1066410-1-omosnace@redhat.com (mailing list archive)
Headers show
Series Introduce an initial SID for early boot processes | expand

Message

Ondrej Mosnacek June 12, 2023, 9:31 a.m. UTC
These are userspace support patches corresponding to the following
kernel patch submission:
https://lore.kernel.org/selinux/20230612090145.1059245-1-omosnace@redhat.com/

The first patch merely removes the names of the discontinued initial
SIDs. The second patch adds the new policy capability and re-adds
the "init" initial SID's name as it's being reused for the new
functionality added by the kernel patch.

Ondrej Mosnacek (2):
  libsepol: stop translating deprecated intial SIDs to strings
  libsepol: add support for the new "init" initial SID

 libsepol/include/sepol/policydb/polcaps.h |  1 +
 libsepol/src/kernel_to_cil.c              |  4 +--
 libsepol/src/kernel_to_common.h           | 34 +++++++++++------------
 libsepol/src/kernel_to_conf.c             |  4 +--
 libsepol/src/module_to_cil.c              |  2 +-
 libsepol/src/polcaps.c                    |  1 +
 6 files changed, 24 insertions(+), 22 deletions(-)