From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-yw0-f193.google.com ([209.85.161.193]:34894 "EHLO mail-yw0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752104AbcEUQ3z (ORCPT ); Sat, 21 May 2016 12:29:55 -0400 Subject: Re: [PATCH v2 2/2] mount.2: MS_BIND still ignores mountflags To: Omar Sandoval References: Cc: mtk.manpages@gmail.com, linux-man@vger.kernel.org, linux-fsdevel@vger.kernel.org, Omar Sandoval From: "Michael Kerrisk (man-pages)" Message-ID: <7e6468ec-fd5d-bfdd-c86f-925b3d9fc251@gmail.com> Date: Sat, 21 May 2016 11:29:50 -0500 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On 05/18/2016 01:57 PM, Omar Sandoval wrote: > From: Omar Sandoval > > This is clear from the do_mount() function in the kernel as of v4.6. > Hello Omar I've applied this patch, and await your input on the other patch. Cheers, Michael > Signed-off-by: Omar Sandoval > --- > man2/mount.2 | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/man2/mount.2 b/man2/mount.2 > index 419e22da800f..bd4c35bd15ff 100644 > --- a/man2/mount.2 > +++ b/man2/mount.2 > @@ -98,10 +98,10 @@ The > and > .IR data > arguments are ignored. > -Up until Linux 2.6.26, > +The > .I mountflags > -was also ignored > -.\" with the exception of the "hidden" MS_REC mountflags bit > +argument is also ignored, with the exception of > +.B MS_REC > (the bind mount has the same mount options as > the underlying mount point). > .TP > -- Michael Kerrisk Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/ Linux/UNIX System Programming Training: http://man7.org/training/