Zero Based Program Query - (nf)

Guy Harris guy at rlgvax.UUCP
Fri Sep 23 15:05:03 AEST 1983


Our Power 5 machines (MC68000-based) start the user's address space at
0x800000, and run all the System III utilities except for a few like
the system activities package and the error logging code, so none of those
utilities cannot be fixed to work in such an address space.  In fact, I would
vote that any system which can start the user's address space at a point
higher than zero and which have enough address space that this isn't wasteful
should do so in order to trap nasty programs which attempt to dereference
null pointers (a lot of UNIX utilities assume that 0 points to a null string,
which is nasty beyond belief, and many of those that don't still don't check
that a pointer which may be null isn't before dereferencing it).  I could
dig up what we did to "fsck" if you want.

	Guy Harris
	{seismo,mcnc,we13,brl-bmd,allegra}!rlgvax!guy



More information about the Comp.unix.wizards mailing list