[Apparmor-dev] apparmor.vim

John Johansen jjohansen at suse.de
Tue Sep 4 11:52:18 MDT 2007


On Tue, Sep 04, 2007 at 10:38:02AM -0700, jesse michael wrote:
> On Tue, Sep 04, 2007 at 10:24:27AM -0700, John Johansen wrote:
> > On Tue, Sep 04, 2007 at 11:34:59AM +0300, Markku Savela wrote:
> > > 
> > > > From: John Johansen <jjohansen at suse.de>
> > > > ipv6_expr   =3D "[" <ipv6_addr> "]" [ ":" <port_expr> ]
> > > 
> > > ..just minor question here... won't the '":" <port_expr>' part be
> > > eaten by "hungry" <hexseq>?
> > > 
> > hehe, why yes it does
> > 
> > > A solution is to use some other delimiter for the port number instead
> > > of ":". I believe, that at least in some places, the proposal was to
> > > use "#"-mark for the port number. Of course, the other option is to go
> > > with the URL solution and require IPv6 addresses to be enclosed in
> > > brackets ("[" <ipv6_part> "]").
> > > 
> > hmm, yes either of those will work,
> > does anyone have a preference?
> 
> Unless I'm reading that wrong, the ipv6_expr rule already specifies that [
> and ] characters bracket the actual ipv6 address.  I think Matt mentioned
> something about that a little while ago.

Ah so it does.  Yet another case of I shouldn't post before I am fully
awake.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://forge.novell.com/pipermail/apparmor-dev/attachments/20070904/b7f69dd2/attachment.pgp


More information about the Apparmor-dev mailing list