2.8 exec bug fix wanted - (nf)

edler at cmcl2.UUCP edler at cmcl2.UUCP
Thu Dec 22 04:22:36 AEST 1983


#R:isrnix:14600002:cmcl2:5000003:000:694
cmcl2!edler    Dec 21 13:22:00 1983

Also watch out for programs doing "brk(0);".  On at least some versions
of unix for pdp11s without floating point hardware, this crashes
the system.  The problem is that there are some references to the
(non-existant) floating point registers in the kernel routine backup(),
and they cause a panic.  For some reason that was never clear to me,
they don't seem to get executed in normal practice, but brk(0) will do it.
A fix is to remove the offending instructions (at the location
of the pc printed by the panic).  Is there anyone that has taken the
time to understand backup() more completely, and can they say if this
is an ok fix?

	Jan Edler	cmcl2!edler	(New York University)
			edler at nyu



More information about the Comp.unix.wizards mailing list