[1058] in Source-Commits
athena/etc/xdm/xlogin verify.c xlogin.c
daemon@ATHENA.MIT.EDU (Greg Hudson)
Tue Feb 4 19:05:32 1997
To: source-commits@MIT.EDU
Date: Tue, 04 Feb 1997 19:05:29 EST
From: Greg Hudson <ghudson@MIT.EDU>
Update of /afs/dev.mit.edu/source/repository/athena/etc/xdm/xlogin
In directory pickled-herring:/afs/dev.mit.edu/user/ghudson/athena/etc/xdm/xlogin
Modified Files:
verify.c xlogin.c
Log Message:
Block signals between forking and assigning the result of fork() to a
global variable, to prevent a race condition with SIGCHLD being delivered
before the global variable is assigned.
XXX the signal handler still assumes one SIGCHLD delivery per process
forked; it should do the waitpid() multiple times.