Subject: Re: bin/2737: execle called with missing argument in shutdown
To: der Mouse <mouse@Holo.Rodents.Montreal.QC.CA>
From: Chris G Demetriou <Chris_G_Demetriou@ux2.sp.cs.cmu.edu>
List: netbsd-bugs
Date: 09/09/1996 09:26:58
> Of course, this is all language-lawyering.  If you're willing to assume
> the current implementation, where integer zero is the same size and
> representation as nil pointer on all ports (at least AFAIK - doesn't
> NetBSD/alpha use 64 bit ints?), then sure, you can be sloppy.

yeah, but regardless of argument size, each argument gets stuffed into
either at 8-byte register or (for overflows) into an 8-byte chunk of
memory.  (actually, i dunno what happens with e.g. structure
arguments, but i don't care, either.  8-)

That has the useful effect of making some broken code magically work,
that otherwise would not...  However, among other things, it required
the annoying changes to syscalls.master so that that file recorded
both the number of arguments (for the Alpha) and the size of the
arguments (for other ports)...


chris