socket-util: add new getpeergroups() call
authorLennart Poettering <lennart@poettering.net>
Sat, 30 Dec 2017 13:02:36 +0000 (14:02 +0100)
committerLennart Poettering <lennart@poettering.net>
Thu, 4 Jan 2018 12:27:27 +0000 (13:27 +0100)
commit43f2c88df036ba8ef435088f31617a2646062799
treef0861ca2f4e3426e0badb351d9a1994ccbe7330b
parent5e9f01e8a6a9589daf01574418cef1c12b23210c
socket-util: add new getpeergroups() call

It's a wrapper around the new SO_PEERGROUPS sockopt, similar in style as
getpeersec() and getpeercred().
src/basic/missing.h
src/basic/socket-util.c
src/basic/socket-util.h
src/test/test-socket-util.c