Re: [PATCH v2] net: introduce SO_PEERGROUPS getsockopt

2017-06-21 Thread David Miller
From: David Herrmann Date: Wed, 21 Jun 2017 10:47:15 +0200 > This adds the new getsockopt(2) option SO_PEERGROUPS on SOL_SOCKET to > retrieve the auxiliary groups of the remote peer. ... Looks good, applied, thanks.

[PATCH v2] net: introduce SO_PEERGROUPS getsockopt

2017-06-21 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