From patchwork Wed May 18 18:57:30 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Omar Sandoval X-Patchwork-Id: 9121861 Return-Path: X-Original-To: patchwork-linux-fsdevel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 8B1F5BF440 for ; Wed, 18 May 2016 18:57:49 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id B2BBC2035D for ; Wed, 18 May 2016 18:57:48 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id C823020357 for ; Wed, 18 May 2016 18:57:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752673AbcERS5q (ORCPT ); Wed, 18 May 2016 14:57:46 -0400 Received: from mail-pa0-f49.google.com ([209.85.220.49]:33751 "EHLO mail-pa0-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753108AbcERS5n (ORCPT ); Wed, 18 May 2016 14:57:43 -0400 Received: by mail-pa0-f49.google.com with SMTP id xk12so20525524pac.0 for ; Wed, 18 May 2016 11:57:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=osandov-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :in-reply-to:references; bh=pFrJX2ImpOyudmy5iqDzto22fcPsFXNqshn+hbYzKyE=; b=b5UYcubrtTC1+gLtQvwrWLuc5gQkrYFO8yb/Fw1SADC/s6H6Lk/rt9kxshodUwmcPn wVk08qMKPTrwlv6ngqoiid4zhcO1Tb6Bd6QY2+4DCkdl6uGb3/KSy43M7JFfTr+9fpkp mmccKhvBawe4xdQM/DBoLttEcfDjOs8QbybN4+JP1vBfpsdE3S1rF3ddq1waoYeOGYAd BMiPHxTeLvdvMPgAuT3LmkBDwNCcBM+QOImVjxPprvxlIg15z6ijBP070WMgDGEiB2FU qAl87s3pZCC5qN7n4Kli00/+Bq3Waeq47Ml82/Rx9y47pbSsYv7kQE4hrSDVGxDpjnQD 2T4Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:in-reply-to:references; bh=pFrJX2ImpOyudmy5iqDzto22fcPsFXNqshn+hbYzKyE=; b=LQzhFvkD07HGqyJrsTKX08OcAO9fYUCnEtgHaJw0xA6JfkwMW9WmqVnhbioyBE1rU6 wncKq+4qXkEdrM3XHeAOLurkqaZclapRAzAwsX0d6qpictIjcDAc7Fk89V27OhoiGDIX S4zMsw2pA/frf2UkPAQGluRLEz/JiEMdffGl2iLN+xqgj0UGMUlrFBjjSESrybAEAhZr cBSgPpj1tYGlJi2P7xKh9Vh6L/Ato1t021siKNM8F+9Bl2uYdQtIy5hJaD8c/n+IdMeR mCoXFxrGxSq+jB+oS4PYzY8TJM6nNuR/3cQpAZbIfwpVs4fYZNDpqGVHO/WXAYMHj/uL koXQ== X-Gm-Message-State: AOPr4FVUy/IOv6J0frl1LRJDUpMShmpK3M/S6nT9lIfD8pNIHRWPKFBXyz9eqOjtgrj7rK9D X-Received: by 10.66.25.141 with SMTP id c13mr13199012pag.66.1463597863189; Wed, 18 May 2016 11:57:43 -0700 (PDT) Received: from vader.thefacebook.com ([2620:10d:c090:200::9:535e]) by smtp.gmail.com with ESMTPSA id p1sm14051166paz.8.2016.05.18.11.57.42 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 18 May 2016 11:57:42 -0700 (PDT) From: Omar Sandoval X-Google-Original-From: Omar Sandoval To: Michael Kerrisk Cc: linux-man@vger.kernel.org, linux-fsdevel@vger.kernel.org, Omar Sandoval Subject: [PATCH v2 2/2] mount.2: MS_BIND still ignores mountflags Date: Wed, 18 May 2016 11:57:30 -0700 Message-Id: X-Mailer: git-send-email 2.8.2 In-Reply-To: References: In-Reply-To: References: Sender: linux-fsdevel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fsdevel@vger.kernel.org X-Spam-Status: No, score=-8.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,RP_MATCHES_RCVD,T_DKIM_INVALID,UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Omar Sandoval This is clear from the do_mount() function in the kernel as of v4.6. 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