All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2 RFC] libsepol: Adding support for not-self rules
@ 2022-01-11 22:08 James Carter
  2022-01-11 22:08 ` [PATCH 1/2 RFC] libsepol: Add not self support for neverallow rules James Carter
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: James Carter @ 2022-01-11 22:08 UTC (permalink / raw)
  To: selinux; +Cc: cgzones, James Carter

These patches depend on the 16 patch set that refactors and fixes assertion checking.

The first patch is based on patches by Christian Göttsche <cgzones@googlemail.com>
sent to the list on November 23rd. His patch adding support to checkpolicy is meant
to be used with these patches.

The second patch adds support for not-self rules to CIL. Currently, it works for all
access vector rules, but I am not sure if that is needed or wise.

James Carter (2):
  libsepol: Add not self support for neverallow rules
  libsepol/cil: Add notself and minusself support to CIL

 libsepol/cil/src/cil.c                     |  12 ++
 libsepol/cil/src/cil_binary.c              |  91 ++++++++-
 libsepol/cil/src/cil_build_ast.c           |  10 +-
 libsepol/cil/src/cil_find.c                | 206 ++++++++++++++++++---
 libsepol/cil/src/cil_internal.h            |   4 +
 libsepol/cil/src/cil_resolve_ast.c         |   4 +
 libsepol/cil/src/cil_verify.c              |   3 +-
 libsepol/include/sepol/policydb/policydb.h |   3 +-
 libsepol/src/assertion.c                   | 144 +++++++++++---
 9 files changed, 467 insertions(+), 64 deletions(-)

-- 
2.31.1


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

end of thread, other threads:[~2022-03-11 18:44 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-11 22:08 [PATCH 0/2 RFC] libsepol: Adding support for not-self rules James Carter
2022-01-11 22:08 ` [PATCH 1/2 RFC] libsepol: Add not self support for neverallow rules James Carter
2022-01-11 22:08 ` [PATCH 2/2 RFC] libsepol/cil: Add notself and minusself support to CIL James Carter
2022-03-11 18:44 ` [PATCH 0/2 RFC] libsepol: Adding support for not-self rules Christian Göttsche

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.