All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] selinux: fix changing booleans
@ 2021-04-01 15:59 Ondrej Mosnacek
  2021-04-01 15:59 ` [PATCH v2 1/2] selinux: make nslot handling in avtab more robust Ondrej Mosnacek
  2021-04-01 15:59 ` [PATCH v2 2/2] selinux: fix cond_list corruption when changing booleans Ondrej Mosnacek
  0 siblings, 2 replies; 5+ messages in thread
From: Ondrej Mosnacek @ 2021-04-01 15:59 UTC (permalink / raw)
  To: selinux, Paul Moore; +Cc: Stephen Smalley

This series contains a patch that fixes broken conditional AV list
duplication introduced by c7c556f1e81b ("selinux: refactor changing
booleans") and a couple "and while I'm here..." cleanup patches on top.

v2:
- drop the follow-up cleanup patches from this series
- add a patch fixing the current handling of nrules/nslots being zero
- fix this handling also in the original v1 patch
- simplify the loop that computes nslots

Ondrej Mosnacek (2):
  selinux: make nslot handling in avtab more robust
  selinux: fix cond_list corruption when changing booleans

 security/selinux/ss/avtab.c       | 101 ++++++++++--------------------
 security/selinux/ss/avtab.h       |   2 +-
 security/selinux/ss/conditional.c |  12 ++--
 3 files changed, 40 insertions(+), 75 deletions(-)

-- 
2.30.2


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-04-02  8:59 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-01 15:59 [PATCH v2 0/2] selinux: fix changing booleans Ondrej Mosnacek
2021-04-01 15:59 ` [PATCH v2 1/2] selinux: make nslot handling in avtab more robust Ondrej Mosnacek
2021-04-01 15:59 ` [PATCH v2 2/2] selinux: fix cond_list corruption when changing booleans Ondrej Mosnacek
2021-04-01 23:02   ` Paul Moore
2021-04-02  8:58     ` Ondrej Mosnacek

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.