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
..
2011-04-17 00:48:31 -07:00
2011-10-20 17:00:21 -04:00
2011-03-17 11:59:32 +11:00
2011-09-15 15:36:35 -04:00
2011-03-21 18:16:39 -07:00
2011-10-13 16:05:07 -04:00
2011-06-16 23:19:27 -04:00
2011-09-16 19:20:20 -04:00
2011-07-01 16:11:16 -07:00
2011-09-27 14:34:10 -04:00
2011-10-13 16:05:07 -04:00
2011-03-31 11:26:23 -03:00
2011-07-01 16:11:16 -07:00
2011-10-19 03:10:46 -04:00
2011-05-05 11:10:14 -07:00
2011-07-05 15:26:57 -04:00
2011-07-05 15:26:57 -04:00