[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <98307231-8FBF-47B6-89DB-81BE86904A8B@shealevy.com>
Date: Thu, 21 Mar 2013 21:24:51 -0400
From: Shea Levy <shea@...alevy.com>
To: Alexander Viro <viro@...iv.linux.org.uk>,
"linux-fsdevel@...r.kernel.org" <linux-fsdevel@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Cc: Shea Levy <shea@...alevy.com>
Subject: Re: [PATCH 0/2] vfs: Report a mount r/o if the superblock is
Any feedback on this?
On Mar 14, 2013, at 12:09 PM, Shea Levy <shea@...alevy.com> 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@...alevy.com>
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists