Re: [PATCH] 2.5 PROPOSAL: Replacement for current /proc of shit.

Alexander Viro (viro@math.psu.edu)
Fri, 2 Nov 2001 04:11:42 -0500 (EST)


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/