[9376] in Athena Bugs

home help back first fref pref prev next nref lref last post

xdm masks SIGPIPE

daemon@ATHENA.MIT.EDU (Theodore Ts'o)
Fri May 29 00:12:08 1992

Date: Fri, 29 May 92 00:11:34 -0400
From: tytso@Athena.MIT.EDU (Theodore Ts'o)
To: testers@Athena.MIT.EDU
Cc: bugs@Athena.MIT.EDU
Reply-To: tytso@Athena.MIT.EDU

In the course of debugging a problem with edsc for Mark Eichin, we
discovered that if you are logged in from the console, SIGPIPE is
masked; however, if you are logged in remotely SIGPIPE is not masked.

I traced this back to xdm, where I believe the problem is that xdm
performs a signal(SIGPIPE, SIG_IGN) which is never undone.

Interestingly enough, this masks a problem in edsc, which should be
ignoring SIGPIPEs but which isn't.  Thus, the problem only manifested
itself if you were logged in remotely, but not if you were working in
front of the console, which made it a pain to find the bug in edsc.

						- Ted

home help back first fref pref prev next nref lref last post