delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/06/04/07:32:16

From: ghart AT siemens-psc DOT com (Geoff Hart)
Subject: Ctrl-C (signal) processing in a multi-user environment
4 Jun 1998 07:32:16 -0700 :
Message-ID: <000401bd8f27$ecabf1f0$834786a1.cygnus.gnu-win32@arch3.empros.com>
Mime-Version: 1.0
To: "Cyg-Win32" <gnu-win32 AT cygnus DOT com>

Hi,

I'm running multiple bash sessions with 2 different users.  As far as I can
tell, the users have identical user rights, home directories, ....
everything.

However, if I hit Ctrl-C in user1's window, it works properly.  If I hit
Ctrl-C in user2's window, nothing happens.  I think the terminal (xterm)
is acting properly because if (in the user2 window) I do:

$ login
login: user1
Password:
$ ...

then Ctrl-C works properly again.

It appears that user2 bash simply ignores the signal generated by the tty
input processing.  Does this make sense?

I don't know much about the security model NT uses, but since the
cygwinXXX.dll is shared amongst different users, and each user has
potentially different user rights, I wonder how signals are propagated.

Geoff


-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019