]> sourceware.org Git - newlib-cygwin.git/commit
Cygwin: devices: Make generic console devices invisible from pty.
authorTakashi Yano <takashi.yano@nifty.ne.jp>
Wed, 21 Dec 2022 01:06:10 +0000 (10:06 +0900)
committerTakashi Yano <takashi.yano@nifty.ne.jp>
Thu, 22 Dec 2022 13:28:28 +0000 (22:28 +0900)
commit74f5aa9c473959b63a18a05579581b575a5117ce
treefdf962847b24be1b7ab41fb9e8bb87ea92073989
parent76e1edeb27a573a955ebf3ae5a7a7fd1a75b290f
Cygwin: devices: Make generic console devices invisible from pty.

The devices /dev/conin,conout,console were wrongly visible from ptys,
though they are inaccessible. This is because fhandler_console::exists()
returns true due to existing invisible console. This patch makes these
devices invisible from ptys.

Signed-off-by: Takashi Yano <takashi.yano@nifty.ne.jp>
winsup/cygwin/devices.cc
winsup/cygwin/devices.in
This page took 0.029557 seconds and 5 git commands to generate.