Re: /sbin/mount and /proc/mounts difference

From: Alexander Viro (viro@math.psu.edu)
Date: Sun Nov 18 2001 - 13:08:37 EST


On Sun, 18 Nov 2001, Urban Widmark wrote:

> On Sun, 18 Nov 2001, Sven Vermeulen wrote:

> I don't know if there are any plans to change that. Wouldn't be difficult
> to add something to super_operations.
>
> fs/namespace.c:
> show_vfsmnt
> show_nfs_mount

Well, now that's easy to do. With the old code (FVO "old" equal to
2.4.15-pre2) you would end up with mind-boggling amount of buffer
overruns _and_ ugly code in filesystems.

I would rather start messing with that area with cleaning up mount
options' parsers - I've got a patch that does it, it just needs to
be ported to recent trees.

-
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:17 EST