[comp.sys.mac] Kinetics KTALK/ atld bug

jnp@daimi.UUCP (J|rgen N|rgaard) (05/29/87)

We have just (after a long struggle looking the wrong places) discovered
something that might be regarded as a bug in the Kinetics KTALK atld (
login deamon) on a SUN 3/xx :

when the deamon picks a pseudo tty (pty) it changes the processor-group 
BUT IT DOES NOT MAKE SURE THAT THE PICKED PTY HAS THE CORRECT PROCESSOR-GROUP.
The processor-group for tty's is set by the (for example) c-shell to control
signals (who is permitted to read from the terminal).

The error show if you leave a backgrounded process running when you logout.

The next time you login (and get the same ttyp? !!) the processes fork'ed to
run io and login dies with signal 21 (don't remember the name) which means that
a backgrounded process tried to read from the terminal (actually it means that
the process and the tty have different process-groups).

The cure is to do an ioctl on the tty-descriptor and set the correct processor-
group for the tty.

But anyway we bought this software so GRRRR !


-- 
			Regards J|rgen N|rgaard
				e-mail: jnp@daimi.UUCP
                                or      ....{seismo!}mcvax!diku!daimi!jnp