socket-util: add new getpeergroups() call
It's a wrapper around the new SO_PEERGROUPS sockopt, similar in style as getpeersec() and getpeercred().
This commit is contained in:
@@ -138,6 +138,7 @@ bool address_label_valid(const char *p);
|
||||
|
||||
int getpeercred(int fd, struct ucred *ucred);
|
||||
int getpeersec(int fd, char **ret);
|
||||
int getpeergroups(int fd, gid_t **ret);
|
||||
|
||||
int send_one_fd_sa(int transport_fd,
|
||||
int fd,
|
||||
|
||||
Reference in New Issue
Block a user