4
0
mirror of git://sourceware.org/git/newlib-cygwin.git synced 2025-02-13 12:39:22 +08:00
Ken Brown 965030511c Cygwin: fix fchmod on sockets that are not socket files
If fchmod(2) is called on an AF_LOCAL or AF_UNIX socket that is not a
socket file, the current code calls fhandler_disk_file::fchmod in most
cases.  The latter expects to be operating on a disk file and uses the
socket's io_handle, which is not a file handle.

Fix this by calling fhandler_disk_file::fchmod only if the
fhandler_socket object is a file (determined by testing dev().isfs()).
2021-03-03 17:57:34 -05:00
..
2020-10-14 10:54:21 -04:00
2020-10-14 10:54:29 -04:00
2016-06-25 00:43:01 +02:00
2020-10-14 10:54:03 -04:00
2020-10-14 10:54:03 -04:00
2021-02-01 12:16:54 -05:00
2018-02-20 17:59:53 +01:00
2021-02-01 12:16:54 -05:00
2021-03-03 17:57:33 -05:00
2020-10-14 10:54:29 -04:00
2020-10-19 17:54:55 -04:00
2017-03-27 22:03:58 +01:00
2015-08-17 11:05:43 +02:00
2020-12-07 14:08:38 -05:00
2020-10-14 10:54:29 -04:00
2018-04-16 22:46:11 -05:00
2020-10-14 10:54:29 -04:00
2020-10-14 10:53:55 -04:00
2020-10-14 10:53:55 -04:00