[IPSEC]: Restrict socket policy loading to CAP_NET_ADMIN.
authorHerbert Xu <herbert@gondor.apana.org.au>
Sat, 6 Aug 2005 13:33:15 +0000 (06:33 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 6 Aug 2005 13:33:15 +0000 (06:33 -0700)
commit6fc0b4a7a73a81e74d0004732df358f4f9975be2
treeac2c68e206efbfe378728a50be30ef0bccd0cdff
parent534afb90a9cd0b9643f62d660c164e1d924f39cf
[IPSEC]: Restrict socket policy loading to CAP_NET_ADMIN.

The interface needs much redesigning if we wish to allow
normal users to do this in some way.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/ip_sockglue.c
net/ipv6/ipv6_sockglue.c