[PATCH] Fix execl sentinels

Bernd Petrovitsch bernd at petrovitsch.priv.at
Tue Jul 2 08:32:38 UTC 2013


On Mon, 2013-07-01 at 19:42 +0200, walter harms wrote:
> i like this one:
> "It is usual for alll null pointers to have a representation in which all bits are zero,
> but this is not required."

The bit pattern of a so-called "null pointer" is usually defined by the
CPU/architecture and has nothing to do with the literal "0" in the C
source code.

Isn't that actually an ABI definition, on how pointers and "int"s (and
"long int"s) are passed on the stack on a given architecture?

Bernd Petrovitsch                  Email : bernd at petrovitsch.priv.at
                     LUGA : http://www.luga.at

More information about the busybox mailing list