4
0
mirror of git://sourceware.org/git/newlib-cygwin.git synced 2025-01-15 11:00:04 +08:00
Egor Duda 619f7fa032 * fhandler.h (class fhandler_socket): Add members and methods to
support secure connections on AF_UNIX sockets.
* fhandler_socket.cc (fhandler_socket::set_connect_secret): New method.
(fhandler_socket::get_connect_secret): Ditto.
(fhandler_socket::create_secret_event): Ditto.
(fhandler_socket::close_secret_event): Ditto.
(fhandler_socket::check_peer_secret_event): Ditto.
(fhandler_socket::fixup_after_fork): Duplicate secret event to child.
(fhandler_socket::dup): Copy address family.
(fhandler_socket::close): Close secret event.
* net.cc (get_inet_addr): Read secret cookie.
(cygwin_connect): Check if peer knows secret cookie value.
(cygwin_accept): Ditto. Copy address family to newly created socket.
(cygwin_bind): Generate and write secret cookie.
(wsock_init): Initialize random number generator.
2001-04-09 07:21:32 +00:00
..
2000-10-28 05:41:44 +00:00
2000-02-17 19:38:33 +00:00
2000-02-21 03:18:37 +00:00
2001-03-18 03:34:05 +00:00
2001-04-09 01:23:27 +00:00
2001-03-03 03:56:34 +00:00
2001-03-26 01:16:11 +00:00
2000-10-28 05:41:44 +00:00
2000-02-17 19:38:33 +00:00
2001-03-18 03:25:30 +00:00
2000-11-19 04:58:18 +00:00
2001-03-18 03:34:05 +00:00
2001-03-18 03:34:05 +00:00
2001-03-18 03:34:05 +00:00
2001-03-11 16:46:28 +00:00
2000-02-17 19:38:33 +00:00
2001-03-18 03:34:05 +00:00
2000-10-28 05:41:44 +00:00
2000-10-19 03:12:44 +00:00
2000-02-17 19:38:33 +00:00
2000-02-17 19:38:33 +00:00
2000-08-18 19:51:02 +00:00
2000-09-03 04:16:35 +00:00
2001-03-21 14:00:29 +00:00
2000-02-17 19:38:33 +00:00
2001-03-18 21:11:25 +00:00
2000-02-17 19:38:33 +00:00
2001-03-18 20:58:18 +00:00
2001-03-07 17:45:03 +00:00
2000-02-17 19:38:33 +00:00
2000-02-17 19:38:31 +00:00
2001-03-18 21:11:25 +00:00
2001-03-18 21:11:25 +00:00
2000-07-19 17:42:16 +00:00