Quoting Andre Nathan (an...@digirati.com.br):
> Hi Mike
> 
> On Wed, 2011-08-03 at 17:52 -0400, Michael H. Warfield wrote:
> > That's v4 syntax.  Does it not work at all?  Did you try this:
> > 
> > echo ::/0 @ > /smack/netlabel
> > 
> > Not having tried this myself at all, I'm just asking.  If it doesn't
> > work, that needs to be fixed but it's a SMACK bug.
> 
> Olivier's IPv4 example works fine, but with IPv6 I get an error:
> 
> # echo ::/0 @ > /smack/netlabel
> -bash: echo: write error: Invalid argument

Looking at linux-2.6/security/smack/smackfs.c, nothing but
'a.b.c.d label' or 'a.b.c.d/mask label' is allowed.  Now,
smack_lsm.c does suggest that it wants to work with IPV6,
but I haven't looked closely enough to tell how it will
try to match the labels.

Casey, is Smack netlabel supposed to work with IPV6?

thanks,
-serge

------------------------------------------------------------------------------
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1
_______________________________________________
Lxc-users mailing list
Lxc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-users

Reply via email to