[prev in list] [next in list] [prev in thread] [next in thread]
List: selinux
Subject: Re: [POLICYREP] [RFC/PATCH 2/3] policy package implementation
From: "Christopher J. PeBenito" <cpebenito () tresys ! com>
Date: 2007-07-18 12:32:46
Message-ID: 1184761966.10118.14.camel () gorn ! columbia ! tresys ! com
[Download RAW message or body]
On Tue, 2007-07-17 at 17:11 -0400, Karl MacMillan wrote:
> On Tue, 2007-07-17 at 17:01 -0400, Joshua Brindle wrote:
> > Karl MacMillan wrote:
>
> [...]
>
> >
> > It doesn't seem reasonable to essentially reproduce the m4 preprocessing
> > statements just to keep a single parser. just look at a preprocessed
> > module and see how nasty it looks:
> >
> > #line 156537 "tmp/all_interfaces.conf"
> >
> > #line 1 "policy/modules/services/sendmail.te"
> >
> >
> > #line 2
> >
> > #line 2
> > module sendmail 1.3.1;
> > #line 2
> >
> > #line 2
> > require {
> > #line 2
> > role system_r;
> > #line 2
> >
>
> 1) so what?
> 2) it doesn't have to be that ugly - the repeated line number thing is
> an artifact of M4.
The line number and file name comments are optional in M4 and only
turned on (via M4's -s option) since the current compiler can leverage
them for the file name and line number in error messages.
--
Chris PeBenito
Tresys Technology, LLC
(410) 290-1411 x150
--
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.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic