[Apparmor-dev] apparmor.vim

jesse michael jmichael at suse.de
Tue Sep 4 11:38:02 MDT 2007


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.



More information about the Apparmor-dev mailing list