[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20111020.182214.629562655202957174.davem@davemloft.net>
Date: Thu, 20 Oct 2011 18:22:14 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: zenczykowski@...il.com
Cc: maze@...gle.com, netdev@...r.kernel.org
Subject: Re: [PATCH] net: allow CAP_NET_RAW to set socket options
IP{,V6}_TRANSPARENT
From: Maciej Żenczykowski <zenczykowski@...il.com>
Date: Thu, 20 Oct 2011 15:10:14 -0700
> From: Maciej Żenczykowski <maze@...gle.com>
>
> 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@...gle.com>
Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists