From faec62caaf6492481f346125dc978bed6dfa382d Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Thu, 5 Jan 2006 00:49:17 +0000 Subject: [PATCH] * fhandler_console.cc (fhandler_console::need_invisible): Open up the security of the newly created windows station. --- winsup/cygwin/ChangeLog | 5 +++++ winsup/cygwin/fhandler_console.cc | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index bbfcebb65..80e748f12 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,8 @@ +2006-01-04 Christopher Faylor + + * fhandler_console.cc (fhandler_console::need_invisible): Open up the + security of the newly created windows station. + 2006-01-04 Eric Blake * path.cc (dot_special_chars): Add ", <, >, and |. 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) {