I've just booted a test kernel with \0 in /proc/mounts
to see what utilities it confuses.
I keep /etc/mtab as a link to /proc/mounts.
Unfortunately, the change break most utilities dealing with /etc/mtab.
The quick observation shows that getmntent() is a culprit.
I see no solution to make /proc/mounts reliable and to not break
many system utilities at the same time.
> Furthermore, \0 is not displayed on terminals, so it shouldn't affect
> just catting it to the terminal. It may break simpleminded /proc
> utilities, but those utilities are already broken, and may constitute
> security holes.
Regards
Andrey V.
Savochkin
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu