Re: Yet another design for /proc. Or actually /kernel.

Stephen Satchell (satch@concentric.net)
Wed, 07 Nov 2001 16:35:51 -0800


At 12:58 PM 11/7/01 -0800, H. Peter Anvin wrote:
>Actually, /proc/mounts is currently broken, and is an excellent
>example of why the above statement simply isn't true unless you apply
>another level of indirection: try mounting something on a directory
>the name of which contains whitespace in any form (remember, depending
>on your setup this may be doable by an unprivileged user...)

Good man.

Now you know why I insisted that ALL STRINGS have a standard escape system
in my less-than-strawman proposal.

You'll find other places in /proc where white space is not necessarily a
delimiter. (Too lazy to go find them right now, however.)

Satch

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