4
0
mirror of git://sourceware.org/git/newlib-cygwin.git synced 2025-01-24 07:57:22 +08:00
Corinna Vinschen b62450cf17 Cygwin: POSIX msg queues: implement open/mq_open entirely in fhandler
The mq_open call is just a framework now.  This patch moves the
entire functionality into fhandler_mqueue.  To support standard
OS calls (as on Linux), make fhandler_mqueue a derived class from
fhandler_disk_file and keep the base handle the handle to the
default stream, to allow implementing O_PATH functionlaity as well
as reading from the file and NOT reading binary message queue data.

Implement a standard fhandler_mqueue::open method, allowing, for
instance, to touch a file under /dev/mqueue and if it doesn't exist,
to create a message queue file.

FIXME: This introduces a BAD HACK into path_conv::check, which needs
reviewing.

Keep the posix path intact in the fhandler, and change get_proc_fd_name
accordingly to return only the basename plus leading slash for
/proc/<PID>/fd.

Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
2021-05-25 16:49:04 +02:00
..
2020-05-30 19:41:18 +02:00
2020-08-30 14:27:43 +02:00
2021-04-27 16:49:56 +01:00
2016-06-25 00:43:01 +02:00
2021-02-01 09:55:08 -05:00
2018-02-20 17:59:53 +01:00
2021-02-01 09:55:08 -05:00
2020-08-28 11:10:48 +02:00
2020-10-18 14:55:13 +01:00
2017-03-27 22:03:58 +01:00
2015-08-17 11:05:43 +02:00
2020-12-07 10:20:45 +01:00
2020-08-28 11:10:48 +02:00
2018-04-16 22:46:11 -05:00
2020-08-30 09:33:30 -04:00
2019-06-25 15:44:43 -04:00
2019-06-25 15:44:43 -04:00