From: "Justin P. Mattock" <justinmattock@gmail.com>
To: "Christopher J. PeBenito" <cpebenito@tresys.com>
Cc: SE-Linux <selinux@tycho.nsa.gov>, tresys <refpolicy@oss1.tresys.com>
Subject: Re: [refpolicy] ERROR 'syntax error' at token ':c' on line 42:
Date: Mon, 11 Oct 2010 11:02:36 -0700 [thread overview]
Message-ID: <4CB3513C.5000603@gmail.com> (raw)
In-Reply-To: <4CB30341.3000200@tresys.com>
On 10/11/2010 05:29 AM, Christopher J. PeBenito wrote:
> On 10/10/10 02:17, Justin Mattock wrote:
>> This is also hitting when building a module for the policy(below)
>> basically start the system(opensuse 11.4) then do:
>>
>> dmesg> dmesg
>> audit2allow -i dmesg -M Zonemod
>> compilation failed:
>> Zonemod.te:42:ERROR 'syntax error' at token ':c' on line 42:
>> allow auditd_t device_t:chr_file { read write open };
>> #============= auditd_t ==============
>> /usr/bin/checkmodule: error(s) encountered while parsing configuration
>> /usr/bin/checkmodule: loading policy configuration from Zonemod.te
>
> What are the lines above that one that supposedly has an error?
>
the lines above this are:
class dir { write read search add_name };
}
#============= auditd_t ==============
allow auditd_t device_t:chr_file { read write open };
which seems to be o.k. from over here.
here is dmesg, and some other info:
http://fpaste.org/2ptC/
Justin P. Mattock
--
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.
WARNING: multiple messages have this Message-ID (diff)
From: justinmattock@gmail.com (Justin P. Mattock)
To: refpolicy@oss.tresys.com
Subject: [refpolicy] ERROR 'syntax error' at token ':c' on line 42:
Date: Mon, 11 Oct 2010 11:02:36 -0700 [thread overview]
Message-ID: <4CB3513C.5000603@gmail.com> (raw)
In-Reply-To: <4CB30341.3000200@tresys.com>
On 10/11/2010 05:29 AM, Christopher J. PeBenito wrote:
> On 10/10/10 02:17, Justin Mattock wrote:
>> This is also hitting when building a module for the policy(below)
>> basically start the system(opensuse 11.4) then do:
>>
>> dmesg> dmesg
>> audit2allow -i dmesg -M Zonemod
>> compilation failed:
>> Zonemod.te:42:ERROR 'syntax error' at token ':c' on line 42:
>> allow auditd_t device_t:chr_file { read write open };
>> #============= auditd_t ==============
>> /usr/bin/checkmodule: error(s) encountered while parsing configuration
>> /usr/bin/checkmodule: loading policy configuration from Zonemod.te
>
> What are the lines above that one that supposedly has an error?
>
the lines above this are:
class dir { write read search add_name };
}
#============= auditd_t ==============
allow auditd_t device_t:chr_file { read write open };
which seems to be o.k. from over here.
here is dmesg, and some other info:
http://fpaste.org/2ptC/
Justin P. Mattock
next prev parent reply other threads:[~2010-10-11 18:02 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-10 6:17 ERROR 'syntax error' at token ':c' on line 42: Justin Mattock
2010-10-10 6:17 ` [refpolicy] " Justin Mattock
2010-10-11 12:29 ` Christopher J. PeBenito
2010-10-11 12:29 ` Christopher J. PeBenito
2010-10-11 18:02 ` Justin P. Mattock [this message]
2010-10-11 18:02 ` Justin P. Mattock
2010-10-12 11:39 ` Stephen Smalley
2010-10-12 14:32 ` Justin P. Mattock
2010-10-12 14:32 ` [refpolicy] " Justin P. Mattock
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=4CB3513C.5000603@gmail.com \
--to=justinmattock@gmail.com \
--cc=cpebenito@tresys.com \
--cc=refpolicy@oss1.tresys.com \
--cc=selinux@tycho.nsa.gov \
/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.