newlib-cygwin/winsup/cygwin/release
Corinna Vinschen a10d969231 Return unique inode numbers when calling stat/fstat on pipes and IP sockets
* fhandler.h (class fhandler_base): Convert unique_id to int64_t.
        (fhandler_base::set_ino): New protected inline method.
        (fhandler_base::get_unique_id): Convert to int64_t.
        (fhandler_base::set_unique_id): New inline method taking int64_t.
        (fhandler_pipe::fstat): Declare.
        (fhandler_pipe::init): Take extra parameter.
        (fhandler_pipe::create): Ditto.
        * fhandler_socket.cc (fhandler_socket::init_events): Set inode number
        to serial number.
        (fhandler_socket::fstat): Set device to DEV_TCP_MAJOR.  Create st_ino
        from get_ino.
        * include/cygwin/signal.h (struct _sigcommune): Replace
        _si_pipe_fhandler with _si_pipe_unique_id.
        * pinfo.h (_pinfo::pipe_fhandler): Take unique id instead of HANDLE.
        * pinfo.cc (commune_process): Accommodate change to _si_pipe_unique_id.
        (_pinfo::commune_request): Ditto.
        (_pinfo::pipe_fhandler): Ditto.
        * pipe.cc (fhandler_pipe::init): Take unique id as argument and set
        inode number and unique_id from there.
        (fhandler_pipe::open): Rework to find any matching pipe from unique
        id in filename.
        (fhandler_pipe::get_proc_fd_name): Create filename using inode number.
        (fhandler_pipe::create): Generate and return unique id from process pid
        and pipe_unique_id.  In outer method, call init with additional unique
        id as parameter.
        (fhandler_pipe::fstat): New method.
        (pipe_worker): Accommodate using 64 bit inode number in filename.

Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
2016-01-11 12:35:41 +01:00
..
1.7.10
1.7.11
1.7.12
1.7.13
1.7.14
1.7.15
1.7.16
1.7.17
1.7.18
1.7.19
1.7.20
1.7.21 *** empty log message *** 2013-07-15 10:04:03 +00:00
1.7.22 * regex/regcomp.c (wgetnext): Add a kludge to be more glibc compatible. 2013-07-21 19:28:45 +00:00
1.7.23 *** empty log message *** 2013-07-31 10:32:46 +00:00
1.7.24 * include/sys/cygwin.h (struct per_process): Add posix_memalign. Reduce 2013-08-14 11:44:23 +00:00
1.7.25 *** empty log message *** 2013-08-30 21:42:40 +00:00
1.7.26 * syscalls.cc (try_to_bin): Take additional parameter to get file open 2013-11-27 14:27:34 +00:00
1.7.27 *** empty log message *** 2013-12-08 13:38:27 +00:00
1.7.28 *** empty log message *** 2014-01-27 21:25:39 +00:00
1.7.29 release/1.7.29 2014-04-07 11:41:49 +00:00
1.7.30 *** empty log message *** 2014-05-23 07:15:30 +00:00
1.7.31 *** empty log message *** 2014-07-18 12:28:00 +00:00
1.7.32 * include/cygwin/version.h (CYGWIN_VERSION_DLL_MINOR): Bump to 33. 2014-08-13 17:38:47 +00:00
1.7.33 * include/cygwin/version.h (CYGWIN_VERSION_DLL_MINOR): Bump to 34. 2014-11-13 13:10:26 +00:00
1.7.34 * common.din (wcstold): Export. 2015-02-04 11:03:36 +00:00
1.7.35 * msg.cc: Throughout, drop raising SIGSYS if cygserver is not running. 2015-03-03 17:09:30 +00:00
2.0.0 Document previous unlink patch 2015-04-23 22:04:59 +02:00
2.0.1 Bump minor DLL version to 1 2015-04-30 17:53:15 +02:00
2.0.3 Add Cygwin 2.0.3 release file 2015-06-03 13:38:19 +02:00
2.0.4 Evaluate /proc/$PID/{root,cwd,cmdline} for native processes 2015-06-08 21:48:13 +02:00
2.1.0 tzset: Check timezone and country case-insensitive 2015-07-08 10:25:49 +02:00
2.2.0 Cygwin: Fix x86_64 memcpy/memset for n > 2GB 2015-07-29 22:09:34 +02:00
2.2.1 Cygwin: Return port number from getservent in network byte order 2015-08-18 13:12:07 +02:00
2.3.0 Avoid deadlock in flock(2) 2015-11-05 18:31:36 +01:00
2.3.1 flock: Fix hang in object collision case 2015-11-12 13:14:08 +01:00
2.4.0 Return unique inode numbers when calling stat/fstat on pipes and IP sockets 2016-01-11 12:35:41 +01:00