[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <CALx6S36x2+HBLSYVBi0+rQAgejbVvvFF7fr0P13cTspxpJQCLg@mail.gmail.com>
Date: Fri, 20 May 2016 15:37:32 -0700
From: Tom Herbert <tom@...bertland.com>
To: Linux Kernel Network Developers <netdev@...r.kernel.org>,
Hideaki YOSHIFUJI <yoshfuji@...ux-ipv6.org>
Subject: IPv6 extension header privileges
Hi,
In ipv6_sockglue.c I noticed:
/* hop-by-hop / destination options are privileged option */
retv = -EPERM;
if (optname != IPV6_RTHDR && !ns_capable(net->user_ns, CAP_NET_RAW))
break;
Can anyone provide that rationale as to why these are privileged ops?
Thanks,
Tom
Powered by blists - more mailing lists