Re: [PATCH][RFC] Re: 2.4.15-pre5: /proc/cpuinfo broken

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Sat Nov 17 2001 - 13:04:41 EST


> c) hunt down and fix the userland that relies on arithmetics
> on file position in case of regular files (POSIX prohibits it, SuS allows).

You forgot d.

(d) - when someone seeks in the file do the seek, and document that they
lose their guarantees. So they fall back to existing 1.0->2.4 behaviour.
You just run the iterator either on or back from scratch to the seek point.

Alan
-
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 : Fri Nov 23 2001 - 21:00:16 EST