Re: [PATCH 0/2] vfs: Report a mount r/o if the superblock is

From: Shea Levy
Date: Thu Mar 21 2013 - 21:24:57 EST

Any feedback on this?

On Mar 14, 2013, at 12:09 PM, Shea Levy <shea@xxxxxxxxxxxx> wrote:

> By calling mount(2) with MS_REMOUNT | MS_BIND on a non-bind readonly
> mountpoint, it is possible to have a readonly mount without MNT_READONLY
> in its mnt_flags. Currently, /proc/<pid>/mountinfo and statfs will
> report such a mount as r/w, even though for all intents and purposes it
> is still readonly.
> This patchset fixes show_mountinfo and statfs to report such mounts as
> readonly.
> Signed-off-by: Shea Levy <shea@xxxxxxxxxxxx>
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at