All of lore.kernel.org
 help / color / mirror / Atom feed
* Common Intermediate Language (CIL) Update
@ 2013-07-29 17:36 James Carter
  2013-07-29 17:52 ` James Carter
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: James Carter @ 2013-07-29 17:36 UTC (permalink / raw)
  To: SELinux List; +Cc: Steve Lawrence

The CIL compiler, secilc, is now able to create MLS, MCS, and non-MLS binary 
policies from a slightly modified version of Refpolicy that has been converted 
to CIL.

Anyone interested in trying CIL out can do the following:

1) Clone the CIL compiler and cilpolicy
git clone https://jwcarter@bitbucket.org/jwcarter/secilc.git
git clone https://jwcarter@bitbucket.org/jwcarter/cilpolicy.git

2) Build secilc
cd secilc
make
cd ..

3) Build cilpolicy
./secilc/secilc `cat cilpolicy/LISTING`


To build an MLS policy:

Edit "cilpolicy/mls_declarations" and change "(tunable enable_mls false)" to 
"(tunable enable_mls true)"

Build the MLS policy: ./secilc/secilc -M `cat cilpolicy/LISTING`

MCS is similar.


Anyone interested in trying to create their own CIL policy from Refpolicy can 
clone the Flask Policy Parser (fpp) from bitbucket and follow the instructions 
in the README. To clone fpp:
git clone https://jwcarter@bitbucket.org/jwcarter/fpp.git

-- 
James Carter <jwcart2@tycho.nsa.gov>
National Security Agency

--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.

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

end of thread, other threads:[~2013-10-16 20:50 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-29 17:36 Common Intermediate Language (CIL) Update James Carter
2013-07-29 17:52 ` James Carter
2013-08-22 16:30 ` Richard Haines
2013-08-22 19:38   ` James Carter
2013-08-23 15:05     ` Richard Haines
2013-08-23 15:18       ` James Carter
2013-08-25 16:15         ` CIL constraint problem Richard Haines
     [not found]           ` <521CD1D7.1070505@tresys.com>
2013-08-27 16:29             ` James Carter
2013-10-16 19:47 ` Common Intermediate Language (CIL) Update Dominick Grift
2013-10-16 20:50   ` James Carter

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.