[PATCH 0/2 v2] Add the ability to write policy.conf file from CIL AST

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The first patch adds the cil_write_policy_conf() function to libsepol and
the second patch adds the secil2conf program to secilc's directory.

Changes in v2:
- Renamed cil2conf to secil2conf and moved it in with secilc.
- Will now compile with default CFLAGS
- Fixed bugs found by Stephen Smalley in attempting to compile an Android
policy with it.

James Carter (2):
  libsepol/cil: Add ability to write policy.conf file from CIL AST
  secilc: Add secil2conf 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  | 2714 ++++++++++++++++++++++++----------------
 libsepol/cil/src/cil_policy.h  |   12 +-
 libsepol/src/libsepol.map.in   |    1 +
 secilc/.gitignore              |    2 +
 secilc/Makefile                |   32 +-
 secilc/secil2conf.8.xml        |   82 ++
 secilc/secil2conf.c            |  192 +++
 9 files changed, 1929 insertions(+), 1113 deletions(-)
 create mode 100644 secilc/secil2conf.8.xml
 create mode 100644 secilc/secil2conf.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.



[Index of Archives]     [Selinux Refpolicy]     [Linux SGX]     [Fedora Users]     [Fedora Desktop]     [Yosemite Photos]     [Yosemite Camping]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux