lkml.org 
[lkml]   [2001]   [Nov]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] 2.5 PROPOSAL: Replacement for current /proc of shit.


On Fri, 2 Nov 2001, Rusty Russell wrote:

> On Thu, 01 Nov 2001 05:42:36 -0500
> Jeff Garzik <jgarzik@mandrakesoft.com> wrote:
>
> > Is this designed to replace sysctl?
>
> Well, I'd suggest replacing *all* the non-process stuff in /proc. Yes.

Aha. Like, say it, /proc/kcore. Or /proc/mounts, yodda, yodda.

Noble idea, but there is a little problem: random massive userland
breakage. E.g. changing /proc/mounts is going to hit getmntent(3), etc.

If you are willing to audit all userland code - you are welcome.
But keep in mind that standard policy is to keep obsolete API for at least
one stable branch with warnings and remove it in the next one. So we are
talking about 2.8 here. BTW, I'm less than sure that your variant is free
of rmmod races, but that's a separate story...

-
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/

\
 
 \ /
  Last update: 2005-03-22 13:12    [from the cache]
©2003-2011 Jasper Spaans