Re: sepolicy-ifgen: Syntax error on line 179876 gen_context [type=GEN_CONTEXT]"

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

 



On 12/17/2013 04:44 PM, Laurent Bigonville wrote:
> Hi,
> 
> With the current refpolicy, sepolicy-ifgen is complaining with the
> following error:
> 
> error parsing
> file /usr/share/selinux/default/include/kernel/selinux.if: could not
> parse text: "/usr/share/selinux/default/include/kernel/selinux.if:
> Syntax error on line 179876 gen_context [type=GEN_CONTEXT]"
> 
> 
> The line that seems to cause this issue is:
> genfscon selinuxfs /booleans/$2 gen_context(system_u:object_r:$1,s0) in
> selinux.if.
> 
> The full debug output of sepolicy-ifgen -vd is attached in this mail.

Looks like that line is commented-out in Fedora's selinux.if, and it is
preceded by a comment that notes it can only be used in the base module.

Is this a regression in sepolgen-ifgen or just never supported by it?



_______________________________________________
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