Re: PROPOSAL: /proc standards (was dot-proc interface [was: /proc

Albert D. Cahalan (acahalan@cs.uml.edu)
Wed, 7 Nov 2001 19:47:58 -0500 (EST)


Alex Bligh - linux writes:

> sure it's easier to strip out a spurious 'kb' that
> gets added after a number, than to deal with (say)
> an extra inserted DWORD with no version traching.

Design the kernel to make doing this difficult.
Define some offsets as follows:

#define FOO_PID 0
#define FOO_PPID 1

Now, how is anyone going to create "an extra inserted DWORD"
between those? They'd need to renumber FOO_PPID and any other
values that come after it.

The "DWORD" idea is messed up too BTW. Use __u64 everywhere.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/