Corinna Vinschen
c8b404bf5c
* cygwin.din (getpeereid): Export.
* fhandler.h (class fhandler_socket): Add pipe and id members to
exchange eid credentials for AF_LOCAL sockets.
(eid_pipe_name): Declare new method.
(getpeereid): Ditto.
* fhandler_socket.cc (fhandler_socket::eid_pipe_name): New method.
(fhandler_socket::fhandler_socket): Initialize sec_pipe.
(fhandler_socket::connect): Exchange eid credentials with accepting
socket process.
(fhandler_socket::listen): Prepare eid credential transaction.
(fhandler_socket::accept): Exchange eid credentials with connecting
socket process.
(fhandler_socket::close): Close eid credentials pipe if open.
(fhandler_socket::getpeereid): New method.
* net.cc (cygwin_getsockopt): Add SO_PEERCRED handling.
(getpeereid): New function.
* include/asm/socket.h (SO_PEERCRED): Define.
* include/cygwin/socket.h (struct ucred): Define new type.
* include/cygwin/version.h: Bump API minor version.
2005-02-23 17:39:46 +00:00
..
2004-12-30 15:58:27 +00:00
2005-02-23 17:39:46 +00:00
2005-01-31 20:03:20 +00:00
2005-02-11 07:23:44 +00:00
2001-10-12 20:02:41 +00:00
2005-02-10 18:12:56 +00:00
2005-01-16 17:13:51 +00:00
2005-02-10 01:19:43 +00:00
2003-11-23 09:02:26 +00:00
2003-11-20 19:31:52 +00:00
2003-11-20 19:31:52 +00:00
2003-01-13 21:11:19 +00:00
2003-08-06 03:22:18 +00:00
2003-11-23 09:02:26 +00:00