summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/fhandler_console.cc
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2006-01-05 00:49:17 +0000
committerChristopher Faylor <me@cgf.cx>2006-01-05 00:49:17 +0000
commitfaec62caaf6492481f346125dc978bed6dfa382d (patch)
tree86fe6fcf63778d89e85e8d45bdd2a2dbdc58325b /winsup/cygwin/fhandler_console.cc
parentab7eaf697169cf0aa1f883d7d7232970bfe6c19f (diff)
downloadcygnal-faec62caaf6492481f346125dc978bed6dfa382d.tar.gz
cygnal-faec62caaf6492481f346125dc978bed6dfa382d.tar.bz2
cygnal-faec62caaf6492481f346125dc978bed6dfa382d.zip
* fhandler_console.cc (fhandler_console::need_invisible): Open up the security
of the newly created windows station.
Diffstat (limited to 'winsup/cygwin/fhandler_console.cc')
-rw-r--r--winsup/cygwin/fhandler_console.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/fhandler_console.cc b/winsup/cygwin/fhandler_console.cc
index c6e67e804..842d58c35 100644
--- a/winsup/cygwin/fhandler_console.cc
+++ b/winsup/cygwin/fhandler_console.cc
@@ -1856,7 +1856,7 @@ fhandler_console::need_invisible ()
h = horig = GetProcessWindowStation ();
if (myself->ctty == -1)
{
- h = CreateWindowStation ("CygwinInvisible", 0, WINSTA_ALL_ACCESS, &sec_none_nih);
+ h = CreateWindowStation ("CygwinInvisible", 0, WINSTA_ALL_ACCESS, &sec_all_nih);
termios_printf ("CreateWindowStation(\"CygwinInvisible\", %p), %E", h);
if (h)
{