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

From: Albert D. Cahalan (acahalan@cs.uml.edu)
Date: Wed Nov 07 2001 - 19:47:58 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/



This archive was generated by hypermail 2b29 : Wed Nov 07 2001 - 21:00:37 EST