Received: from goalie.tycho.ncsc.mil (goalie [144.51.31.250]) by tarius.tycho.ncsc.mil (8.13.1/8.13.1) with ESMTP id r7MGUBM6023370 for ; Thu, 22 Aug 2013 12:30:12 -0400 References: <51F6A808.5080204@tycho.nsa.gov> Message-ID: <1377189006.38963.YahooMailNeo@web87904.mail.ir2.yahoo.com> Date: Thu, 22 Aug 2013 17:30:06 +0100 (BST) From: Richard Haines Reply-To: Richard Haines Subject: Re: Common Intermediate Language (CIL) Update To: James Carter Cc: SELinux List In-Reply-To: <51F6A808.5080204@tycho.nsa.gov> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="2125412622-1831948351-1377189006=:38963" Sender: owner-selinux@tycho.nsa.gov List-Id: selinux@tycho.nsa.gov --2125412622-1831948351-1377189006=:38963 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Thanks for the updated CIL that has many useful fixes, however I notice tha= t you removed the "permissionset" statement. Is this to be dropped altogeth= er or just in your version (I've got lots in my test policy so thought I wo= uld ask before I change them all).=0A=0ARichard=0A=0A=0A=0A________________= ________________=0A From: James Carter =0ATo: SELinu= x List =0ACc: Steve Lawrence = =0ASent: Monday, 29 July 2013, 18:36=0ASubject: Common Intermediate Langua= ge (CIL) Update=0A =0A=0AThe CIL compiler, secilc, is now able to create ML= S, MCS, and non-MLS binary policies from a slightly modified version of Ref= policy that has been converted to CIL.=0A=0AAnyone interested in trying CIL= out can do the following:=0A=0A1) Clone the CIL compiler and cilpolicy=0Ag= it clone https://jwcarter@bitbucket.org/jwcarter/secilc.git=0Agit clone htt= ps://jwcarter@bitbucket.org/jwcarter/cilpolicy.git=0A=0A2) Build secilc=0Ac= d secilc=0Amake=0Acd ..=0A=0A3) Build cilpolicy=0A./secilc/secilc `cat cilp= olicy/LISTING`=0A=0A=0ATo build an MLS policy:=0A=0AEdit "cilpolicy/mls_dec= larations" and change "(tunable enable_mls false)" to "(tunable enable_mls = true)"=0A=0ABuild the MLS policy: ./secilc/secilc -M `cat cilpolicy/LISTING= `=0A=0AMCS is similar.=0A=0A=0AAnyone 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:=0Agit cl= one https://jwcarter@bitbucket.org/jwcarter/fpp.git=0A=0A-- James Carter =0ANational Security Agency=0A=0A--=0AThis message was= distributed to subscribers of the selinux mailing list.=0AIf you no longer= wish to subscribe, send mail to majordomo@tycho.nsa.gov with=0Athe words "= unsubscribe selinux" without quotes as the message. --2125412622-1831948351-1377189006=:38963 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
Thanks for= the updated CIL that has many useful fixes, however I notice that you remo= ved the "permissionset" statement. Is this to be dropped altogether or just= in your version (I've got lots in my test policy so thought I would ask be= fore I change them all).

Richard


From: James Carter <jwcart2@tycho.n= sa.gov>
To: SELinux= List <selinux@tycho.nsa.gov>
Cc: Steve Lawrence <slawrence@tresys.com>
Sent: Monday, 29 July 2013, 18:36<= br> Subject: Common Interm= ediate Language (CIL) Update

The CIL compiler, secilc, is now able to create MLS, MCS, and non-M= LS binary policies from a slightly modified version of Refpolicy that has b= een 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.gitgit clone https://jwcarter@bitbucket.org/jwcarter/cilpolicy.git<= /a>

2) Build secilc
cd secilc
make
cd ..

3) Build ci= lpolicy
./secilc/secilc `cat cilpolicy/LISTING`


To build an M= LS policy:

Edit "cilpolicy/mls_declarations" and change "(tunable en= able_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 Refpoli= cy can clone the Flask Policy Parser (fpp) from bitbucket and follow the in= structions in the README. To clone fpp:
git clone
https://jwcarter@bi= tbucket.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@tyc= ho.nsa.gov with
the words "unsubscribe selinux" without quotes as th= e message.


--2125412622-1831948351-1377189006=:38963-- -- 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.