|[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]|
Steve, Thanks for this, it seems to work fine with the policy samples I've been using. I've had a couple of minor problems though: 1) A macro does not work with permissionset as one of the parameters (all the other parameters worked okay). 2) Macro comments are not permitted. I notice they are not present in the test files so has it been dropped. 3) I could not find a way to generate the policy.conf file. I set the DEBUG=1 in the CIL Makefile like I used to but no file. 4) To set deny_unknown in secilc.c required a 'U' in the getopt line: getopt_long(argc, argv, "hvtU:MDc:", ..... 5) I could not load a new policy that had a boolean and supporting statements in it. The actual binary policy was fine (using apol), but load_policy had problems. I started with a Fedora 16 base and added the new Integration code with no problems. Is it a known problem as if not I'll check further. The errors I had when running semodule with a boolean were (Note: I had already built a new base policy (SELINUXTYPE=rch-test1) with no problems): ------ Start -------------- # semodule -i base.cil ext_gateway.cil int_gateway.cil move_file.cil SELinux: Could not load policy file /etc/selinux/rch-test1/policy/policy.26: No such file or directory /sbin/load_policy: Can't load policy: No such file or directory libsemanage.semanage_reload_policy: load_policy returned error code 2. (No such file or directory). SELinux: Could not load policy file /etc/selinux/rch-test1/policy/policy.26: No such file or directory /sbin/load_policy: Can't load policy: No such file or directory libsemanage.semanage_reload_policy: load_policy returned error code 2. (No such file or directory). semodule: Failed! ----- End ----------------- Richard --- On Tue, 22/11/11, Steve Lawrence <slawrence@xxxxxxxxxx> wrote: > From: Steve Lawrence <slawrence@xxxxxxxxxx> > Subject: CIL/SELinux Userspace Integration > To: "SELinux" <selinux@xxxxxxxxxxxxx> > Date: Tuesday, 22 November, 2011, 22:00 > As many of you may know, we have been > working on CIL for a while now. > This has been posted to the list many times before, so > we'll just post > the link to the wiki for now , but we're happy to answer > any questions. > > In addition to adding numerous features to CIL since we've > last posted > to the list, we've also been working hard at integrating > CIL > into SELinux userspace. We now have that in a state that's > ready for > comments and review. -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to majordomo@xxxxxxxxxxxxx with the words "unsubscribe selinux" without quotes as the message.
[Fedora Users] [Fedora Legacy] [Fedora Desktop] [Yosemite Photos] [Yosemite News] [Yosemite Campsites] [KDE Users] [Gnome Users]