Skip to content

selinux: policy load fixes

Ondrej Mosnacek selinux 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest3 patches 1 replyIn review
  2. v22 patches 14 repliesSuperseded

Changes in v3 from the cover letter

- move new struct declarations to the top of services.c
- add another patch to clean up error reporting during policy load

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3selinux: don't log MAC_POLICY_LOAD record on failed policy loadsecurity/selinux/selinuxfs.c+1 -20 replies
2/3selinux: fix variable scope issue in live sidtab conversionsecurity/selinux/include/security.h security/selinux/selinuxfs.c security/selinux/ss/services.c+55 -330 replies
3/3selinuxfs: unify policy load error reportingsecurity/selinux/selinuxfs.c+3 -60 replies

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchTyler Hicks
1/3
2/3T-b R-b
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/3] selinux: policy load fixes

Changes in v3:
- move new struct declarations to the top of services.c
- add another patch to clean up error reporting during policy load

Changes in v2:
- switch to a more minimal fix which allocates the conversion params dynamically and passes them between the functions
- split out the MAC_POLICY_LOAD record fix into a separate patch

Ondrej Mosnacek (3):
selinux: don't log MAC_POLICY_LOAD record on failed policy load
selinux: fix variable scope issue in live sidtab conversion
selinuxfs: unify policy load error reporting

 security/selinux/include/security.h | 15 +++++--
 security/selinux/selinuxfs.c        | 22 +++++-----
 security/selinux/ss/services.c      | 63 ++++++++++++++++++-----------
 3 files changed, 59 insertions(+), 41 deletions(-)
Signature · 1 line
2.30.2