The first patch adds the cil_gen_policy() function to libsepol and the second patch adds the cil2conf program to policycoreutils. I am open to a different name and/or location for cil2conf. James Carter (2): libsepol/cil: Add ability to write policy.conf file from CIL AST policycoreutils: Add cil2conf which creates a policy.conf from CIL policy libsepol/cil/include/cil/cil.h | 1 + libsepol/cil/src/cil.c | 6 + libsepol/cil/src/cil_policy.c | 2696 +++++++++++++++++++++-------------- libsepol/cil/src/cil_policy.h | 12 +- libsepol/src/libsepol.map.in | 1 + policycoreutils/Makefile | 2 +- policycoreutils/cil2conf/Makefile | 33 + policycoreutils/cil2conf/cil2conf.c | 192 +++ 8 files changed, 1837 insertions(+), 1106 deletions(-) create mode 100644 policycoreutils/cil2conf/Makefile create mode 100644 policycoreutils/cil2conf/cil2conf.c -- 2.7.4 _______________________________________________ Selinux mailing list Selinux@xxxxxxxxxxxxx To unsubscribe, send email to Selinux-leave@xxxxxxxxxxxxx. To get help, send an email containing "help" to Selinux-request@xxxxxxxxxxxxx.