4
0
mirror of git://sourceware.org/git/newlib-cygwin.git synced 2025-01-19 04:49:25 +08:00
Corinna Vinschen 732613f30a Cygwin: implement /proc/PID/fd/DESCRIPTOR reopening by handle
Allows expressions along the lines of `cat /proc/self/fd/0 <<EOF'.
The problem here is that the temporary file used for the here script
has already been deleted by the shell.  Opening by filename, as
implemented so far, doesn't work because the file has been moved
to the bin.

Allow reopening files by handle the same way from another process
as long as we have sufficient permissions on the foreign process.

Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
2019-01-06 20:30:14 +01:00
..
2018-10-10 17:49:53 +02:00
2016-11-24 16:09:31 +01:00
2018-08-07 14:51:10 +02:00
2016-08-23 15:07:42 +01:00
2016-06-25 00:43:01 +02:00
2018-02-20 17:59:53 +01:00
2015-11-18 19:09:47 +01:00
2017-03-27 22:03:58 +01:00
2018-08-07 14:51:10 +02:00
2018-08-07 14:51:10 +02:00
2015-08-17 11:05:43 +02:00
2018-02-07 13:07:44 +01:00
2018-04-16 22:46:11 -05:00
2018-02-07 13:07:44 +01:00
2017-03-27 22:03:58 +01:00
2016-06-23 16:56:41 +02:00