Maciej Żenczykowski 6cc7a765c2 net: allow CAP_NET_RAW to set socket options IP{,V6}_TRANSPARENT
Up till now the IP{,V6}_TRANSPARENT socket options (which actually set
the same bit in the socket struct) have required CAP_NET_ADMIN
privileges to set or clear the option.

- we make clearing the bit not require any privileges.
- we allow CAP_NET_ADMIN to set the bit (as before this change)
- we allow CAP_NET_RAW to set this bit, because raw
  sockets already pretty much effectively allow you
  to emulate socket transparency.

Signed-off-by: Maciej Żenczykowski <maze@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2011-10-20 18:21:36 -04:00
..
2010-09-23 14:33:39 -07:00
2011-10-13 16:05:07 -04:00
2011-10-19 19:26:16 -04:00
2011-10-19 03:10:46 -04:00
2010-05-11 14:40:55 +02:00
2011-04-22 11:04:14 -07:00
2011-05-19 16:21:22 -04:00
2011-10-19 03:10:46 -04:00
2011-09-27 15:32:06 -04:00
2010-10-25 13:09:45 -07:00