Re: OOM & [OT] util-linux-2.12e

From: Herbert Poetzl
Date: Mon Sep 20 2004 - 09:18:52 EST


On Mon, Sep 20, 2004 at 02:32:32PM +0200, Xavier Bestel wrote:
> Le lun 20/09/2004 à 13:59, DervishD a écrit :
> > Hi Xavier :)
> >
> > * Xavier Bestel <xavier.bestel@xxxxxxx> dixit:
> > > > does the kernel *read* /proc/mounts contents?
> > > /proc/mounts is kernel-generated on the fly (it's alive only during the
> > > read() call).
> >
> > Then you can cripple it with any extra contents you want, am I
> > wrong? The kernel won't mind...
>
> Sure.


well, yes and no, actually all those funny 'mount' options
provided by the kernel 'on the fly' are just bits which
get set (or cleared) after 'parsing' the mount options
at mount time ...

this means:

- bad mount option, no mount
- ignored mount option, no flag
- known mount option, flag is set (or cleared)

of course it would be possible to 'extend' the kernel
by some 'important' flags which are _not_ used by the
kernel itself ...

HTH,
Herbert

> Xav
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/