Cygwin: fhandler_socket_unix: store peer credentials in ucred member
* Split out cygwin/_ucred.h file * drop local credentials Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
@ -47,12 +47,7 @@ struct sockaddr_storage {
|
||||
#include <asm/socket.h> /* arch-dependent defines */
|
||||
#include <cygwin/sockios.h> /* the SIOCxxx I/O controls */
|
||||
#include <sys/uio.h> /* iovec support */
|
||||
|
||||
struct ucred {
|
||||
pid_t pid;
|
||||
uid_t uid;
|
||||
gid_t gid;
|
||||
};
|
||||
#include <cygwin/_ucred.h> /* struct ucred */
|
||||
|
||||
struct linger {
|
||||
unsigned short l_onoff; /* Linger active */
|
||||
|
Reference in New Issue
Block a user