Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Mar 1997 17:44:07 +1100
From:      Bruce Evans <bde@zeta.org.au>
To:        bde@zeta.org.au, terry@lambert.org
Cc:        freebsd-current@freebsd.org, joerg_wunsch@uriah.heep.sax.de, rb@gid.co.uk
Subject:   Re: 2.2R (src 2.2 211): <ctrl><alt><del> == dialing
Message-ID:  <199703260644.RAA31869@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>> >>The slattach daemon has a controlling tty...
>> >
>> >Only until it calls daemon() immediately after cracking its args.
>> 
>> No.  It acquires a controlling tty a few lines after it becomes a
>> daemon, at least in the redial case (I think the !redial case is
>> still broken - it does a null redial instead of aborting like the
>> documentation for the -l option says it does).
>
>This means it should get a SIGHUP on on-to-off DCD transistion if
>-CLOCAL is set.

It does.

>Does it mean it should get SIGHUP when the tty is revoked? ...I don't
>think so, actually.

It doesn't.

>You *could* argue, on this basis, that slattach is doing the wrong thing,
>and that's what's leaving it open to getting a SIGHUP when it should
>not be getting on.

It wants to get a SIGHUP on hangup, and it does all the right things to
get one on POSIX systems.  There are an onerous number of things to do...

Bruce



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199703260644.RAA31869>