[1147] in NetBSD-Development

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

Signal-blocking added to libAL

daemon@ATHENA.MIT.EDU (Greg Hudson)
Sun Dec 10 16:17:37 1995

Date: Sun, 10 Dec 1995 16:17:01 -0500
From: Greg Hudson <ghudson@MIT.EDU>
To: pc-dialup@MIT.EDU, netbsd-dev@MIT.EDU

I decided that /etc/ptmp and /etc/gtmp were probably being left around
because login is getting a SIGHUP or SIGINT or some such.  So I added
code to libAL to block tty-generated signals (and SIGALRM, although
that isn't necessary) until the update is done.  This change is also
in the sipb-athena source tree.

If this is the problem, it could also be happening on normal dialups.
However, cleanup on the normal dialups will delete /etc/ptmp or
/etc/gtmp if it can't lock them.

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