From: Stephen Smalley <sds@tycho.nsa.gov>
To: Laurent Bigonville <bigon@debian.org>,
SELinux-NSA <SELinux@tycho.nsa.gov>,
"Christopher J. PeBenito" <cpebenito@tresys.com>,
Daniel J Walsh <dwalsh@redhat.com>
Subject: Re: sepolicy-ifgen: Syntax error on line 179876 gen_context [type=GEN_CONTEXT]"
Date: Wed, 18 Dec 2013 15:12:42 -0500 [thread overview]
Message-ID: <52B201BA.9070505@tycho.nsa.gov> (raw)
In-Reply-To: <20131217224418.04849ca7@fornost.bigon.be>
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?
prev parent reply other threads:[~2013-12-18 20:12 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-12-17 21:44 sepolicy-ifgen: Syntax error on line 179876 gen_context [type=GEN_CONTEXT]" Laurent Bigonville
2013-12-18 20:12 ` Stephen Smalley [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=52B201BA.9070505@tycho.nsa.gov \
--to=sds@tycho.nsa.gov \
--cc=SELinux@tycho.nsa.gov \
--cc=bigon@debian.org \
--cc=cpebenito@tresys.com \
--cc=dwalsh@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.