Port-vax archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: 4.3BSD a.out compatibility issues in NetBSD



On Tue, Apr 14, 2009 at 11:15:41AM -0400, der Mouse wrote:
> > If I read the docs correctly it is just fine that getpagesize(2)
> > returns the standard hardware page size (as it currently does), no
> > matter what kind of binary calls it.
> 
> Is it really?  That seems to me like a bug, er, "incompleteness" in our
> 4.3BSD emulation.  I see sys/compat/vax1k/; isn't that relevant?

My reading is that we now use 4k pages, so it is fine to have the
getpagesize() call actually return that. A 4.3 system of course would have
returned 1k - but if that is supposed to be invariant, a constant would
be better than a syscall.

> Or am I just exhibiting my ignorance of one thing or another here?

Heh, if in doubt, I'd probably trust you on this more than me ;-)

Martin


Home | Main Index | Thread Index | Old Index