]> 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 11:57:29 +0000 (20:57 +0900)
commit043b6089e2006dcde31811e35a5de6619a0e0098
treedfc50e20359cd657447ffeb66acb70ff5a512dcd
parent25c4ad6ea52fc5451193dc98fc5ab04b1f509302
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.031667 seconds and 5 git commands to generate.