Is the CIL project still active
Does anyone know the status of the CIL project as it looked useful and would seem ideal for SEAndroid.
Richard
--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.
Quoted 1 line · Richard Haines
Does anyone know the status of the CIL project as it looked useful and would seem ideal for SEAndroid.
There are still a few more bugs that need to be fixed so that it can correctly compile a CIL-transformed Refpolicy. Progress has been slow recently, but it is not going to be abandoned.
Signature · 8 lines
James Carter <[email protected]> National Security Agency -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.
Can someone provide a reference for those of us who don't already know and find the google search results unsatisfying?
________________________________________
From: [email protected] [[email protected]] on behalf of James Carter [[email protected]]
Sent: Friday, July 20, 2012 12:13 PM
To: Richard Haines
Cc: [email protected]
Subject: Re: Is the CIL project still active
Quoted 1 line · Richard Haines
Does anyone know the status of the CIL project as it looked useful and would seem ideal for SEAndroid.
There are still a few more bugs that need to be fixed so that it can correctly compile a CIL-transformed Refpolicy. Progress has been slow recently, but it is not going to be abandoned.
--
James Carter <[email protected]>
National Security Agency
--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.
--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.
See http://userspace.selinuxproject.org/trac/wiki/CilDesign
Aleksey
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Radzykewycz, T (Radzy)
Sent: Friday, July 20, 2012 12:54 PM
To: [email protected]; Richard Haines
Cc: [email protected]
Subject: RE: Is the CIL project still active
Can someone provide a reference for those of us who don't already know and find the google search results unsatisfying?
________________________________________
From: [email protected] [[email protected]] on behalf of James Carter [[email protected]]
Sent: Friday, July 20, 2012 12:13 PM
To: Richard Haines
Cc: [email protected]
Subject: Re: Is the CIL project still active
Quoted 1 line · Richard Haines
Does anyone know the status of the CIL project as it looked useful and would seem ideal for SEAndroid.
There are still a few more bugs that need to be fixed so that it can correctly compile a CIL-transformed Refpolicy. Progress has been slow recently, but it is not going to be abandoned.
--
James Carter <[email protected]>
National Security Agency
--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.
--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.
--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.
Quoted 2 lines · T (Radzy)
Can someone provide a reference for those of us who don't already know and find the google search results unsatisfying?
CIL (Common Intermediate Language) is an effort to recreate the policy toolchain to provide better support for higher-level languages and better support for policy customization.
Wiki:
http://userspace.selinuxproject.org/trac/wiki/CilDesign
Previous release:
http://marc.info/?l=selinux&m=132199954507072&w=2
After we made the previous release, a major bug was found in how CIL handled macro definitions that contain multiple calls of a macro containing a declaration. That bug has been fixed. But as I mentioned in the previous email there are still a couple of issues that need to be dealt with before another release is made.
Signature · 8 lines
James Carter <[email protected]> National Security Agency -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.
Quoted 8 lines · James Carter
Quoted 2 lines · Richard Haines
Does anyone know the status of the CIL project as it looked useful and would seem ideal for SEAndroid.
There are still a few more bugs that need to be fixed so that it can correctly compile a CIL-transformed Refpolicy. Progress has been slow recently, but it is not going to be abandoned.
I'm working on getting the last policy you sent me to compile. I've fixed one bug, and I will have some feedback for you in the near future. We should be able to compile a CIL-transformed Refpolicy soon.
Signature · 12 lines
------------------------------- Jeremy Solt Tresys Technology, LLC (410) 290-1411 x122 -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.
Glad to hear its still going as I started converting the Android policy to CIL using the current compiler that works ok so far. However I'm having problems defining 'sets of classes' for example with M4:
define(`dir_file_class_set (dir file lnk_file sock_file fifo_file chr_file blk_file))
I've tried various methods using classmap/classmapping etc. but failed to work out how to define in CIL:
mlsconstrain dir_file_class_set { create relabelfrom relabelto }
(l2 eq h2 and (l1 eq l2 or t1 == mlstrustedsubject));
I can produce CIL mlsconstrain statements when I define them with each class separately but not as a set. Is it possible with the current release of CIL ? (if not I'll just produce an entry for each class so I can continue).
Thanks
Richard
Quoted 7 lines · James Carter
From: James Carter <[email protected]>
Subject: Re: Is the CIL project still active
To: "Richard Haines" <[email protected]>
Cc: [email protected]
Date: Friday, 20 July, 2012, 20:13
On Fri, 2012-07-20 at 19:39 +0100,
Richard Haines wrote:
Quoted 14 lines
Quoted 1 line
Does anyone know the status of the CIL project as it
looked useful and would seem ideal for SEAndroid.
There are still a few more bugs that need to be fixed so that it can
correctly compile a CIL-transformed Refpolicy. Progress has been slow
recently, but it is not going to be abandoned.Signature · 2 lines
James Carter <[email protected]> National Security Agency
--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.
Quoted 3 lines · Richard Haines
Glad to hear its still going as I started converting the Android policy to CIL using the current compiler that works ok so far. However I'm having problems defining 'sets of classes' for example with M4:
Since it is a small policy it should be possible to do a real, semantic conversion (using blocks and ignoring legacy file types). Is that what you are doing?
However, I'm not sure if CIL will be able to be in Android anytime soon. It could still be used on the host side like checkpolicy/libsepol are now but since CIL is currently statically linked against libsepol (GPL) it would be prohibited in the AOSP userspace IIUC.
Quoted 44 lines
define(`dir_file_class_set (dir file
lnk_filesock_filefifo_filechr_fileblk_file))I've tried various methods using classmap/classmapping etc. but failed to work out how to define in CIL:
mlsconstrain
dir_file_class_set{ create relabelfrom relabelto } (l2 eq h2 and (l1 eq l2 or t1 == mlstrustedsubject));I can produce CIL mlsconstrain statements when I define them with each class separately but not as a set. Is it possible with the current release of CIL ? (if not I'll just produce an entry for each class so I can continue).
Thanks
RichardQuoted 16 lines · James Carter
From: James Carter<[email protected]>
Subject: Re: Is the CIL project still active
To: "Richard Haines"<[email protected]>
Cc: [email protected]
Date: Friday, 20 July, 2012, 20:13Quoted 1 line · Richard Haines
Does anyone know the status of the CIL project as it
looked useful and would seem ideal for SEAndroid.
There are still a few more bugs that need to be fixed so that it can
correctly compile a CIL-transformed Refpolicy. Progress has been slow
recently, but it is not going to be abandoned.Quoted 5 lines
--
James Carter<[email protected]>
National Security Agency
Quoted 6 lines
--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with
the words "unsubscribe selinux" without quotes as the message.
--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.