All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/5] Fix some cil_gen_policy() bugs.
@ 2016-09-08 20:30 Daniel Cashman
  2016-09-08 20:30 ` [PATCH 1/5] libsepol: cil: Add userrole mapping to cil_gen_policy() Daniel Cashman
  2016-09-08 20:37 ` [PATCH 0/5] Fix some cil_gen_policy() bugs Daniel Cashman
  0 siblings, 2 replies; 10+ messages in thread
From: Daniel Cashman @ 2016-09-08 20:30 UTC (permalink / raw)
  To: selinux; +Cc: sds, jwcart2, jeffv, dcashman

From: dcashman <dcashman@android.com>

cil_gen_policy() appears to exist to generate a policy.conf corresponding to the
original SELinux HLL from a cil_db struct.  All of libsepol/cil/src/cil_policy.c
appears to exist to support this functionality.  This patchset provides some
fixes for issues encountered when trying to go from android's policy.conf to a
CIL representation (via checkpolicy) and then back to the HLL representation via
cil_gen_policy().

dcashman (5):
  libsepol: cil: Add userrole mapping to cil_gen_policy().
  libsepol: cil: Remove duplicate sid policy declaration.
  libsepol: cil: Replace sensitivityorder statement.
  libsepol: cil: Fix CIL_OP data assignment.
  libsepol: cil: Add cil_constraint_expr_to_policy()

 libsepol/cil/src/cil_policy.c | 235 ++++++++++++++++++++++++++++++++++++++++--
 1 file changed, 224 insertions(+), 11 deletions(-)

-- 
2.8.0.rc3.226.g39d4020

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

end of thread, other threads:[~2016-09-09 17:15 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-08 20:30 [PATCH 0/5] Fix some cil_gen_policy() bugs Daniel Cashman
2016-09-08 20:30 ` [PATCH 1/5] libsepol: cil: Add userrole mapping to cil_gen_policy() Daniel Cashman
2016-09-08 20:30   ` [PATCH 2/5] libsepol: cil: Remove duplicate sid policy declaration Daniel Cashman
2016-09-08 20:30     ` [PATCH 3/5] libsepol: cil: Replace sensitivityorder statement Daniel Cashman
2016-09-08 20:30       ` [PATCH 4/5] libsepol: cil: Fix CIL_OP data assignment Daniel Cashman
2016-09-08 20:30         ` [PATCH 5/5] libsepol: cil: Add cil_constraint_expr_to_policy() Daniel Cashman
2016-09-08 20:37 ` [PATCH 0/5] Fix some cil_gen_policy() bugs Daniel Cashman
2016-09-09 12:29   ` James Carter
2016-09-09 14:35     ` James Carter
2016-09-09 17:10       ` Daniel Cashman

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.