Re: [PATCH] net: introduce SO_PEERGROUPS getsockopt

2017-06-20 Thread David Miller
This doesn't apply cleanly to net-next, please respin.

Re: [PATCH] net: introduce SO_PEERGROUPS getsockopt

2017-06-20 Thread Tom Gundersen
On Fri, Jun 16, 2017 at 10:31 PM, David Herrmann wrote: > This adds the new getsockopt(2) option SO_PEERGROUPS on SOL_SOCKET to > retrieve the auxiliary groups of the remote peer. It is designed to > naturally extend SO_PEERCRED. That is, the underlying data is from the > same credentials. Regardi

[PATCH] net: introduce SO_PEERGROUPS getsockopt

2017-06-16 Thread David Herrmann
This adds the new getsockopt(2) option SO_PEERGROUPS on SOL_SOCKET to retrieve the auxiliary groups of the remote peer. It is designed to naturally extend SO_PEERCRED. That is, the underlying data is from the same credentials. Regarding its syntax, it is based on SO_PEERSEC. That is, if the provide