From patchwork Thu May 12 07:17:09 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Omar Sandoval X-Patchwork-Id: 9076991 Return-Path: X-Original-To: patchwork-linux-fsdevel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 08BC99FF6A for ; Thu, 12 May 2016 07:17:37 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 3D53C201E4 for ; Thu, 12 May 2016 07:17:36 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 5E749201F2 for ; Thu, 12 May 2016 07:17:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752456AbcELHRd (ORCPT ); Thu, 12 May 2016 03:17:33 -0400 Received: from mail-pa0-f45.google.com ([209.85.220.45]:35495 "EHLO mail-pa0-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752407AbcELHRc (ORCPT ); Thu, 12 May 2016 03:17:32 -0400 Received: by mail-pa0-f45.google.com with SMTP id iv1so26540979pac.2 for ; Thu, 12 May 2016 00:17:32 -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=MhGNfJ9OrS1N0zJvicGd5n8gGyTjMB8NAy7TUV7ULKk=; b=Mgx0BVPZW3pMZOuyF1Uesd+ZyS7YPT3ZnIegDiWSeN7irOH/dlbtaCFGNByuTyXqPK tZ2PfbKeL7CCVETflFxHJz9HkkfycKuAsJgEPRJCb+LTLNkH4OwaEYsZ8gz2Qn+J7ha5 Srrf44lS+flzpa7Go+e82aIbKA3DqaEKNHXUIfJyE1ij0WOSY6hH2isaDi5f2pl4uJY8 fCNXWk9XmYq1bbFfRvBj+E23djRx/bvMjGwBGQfJ3pcRUX4CUM8xDbjdvgnUeVzdcdUp HRTG7AyZn8ALuSs9sNApYbqJC497L0w0+Gkroo5k1epXYxwxaa/7O/Wa9sXp9ACgmtB2 CxPQ== 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=MhGNfJ9OrS1N0zJvicGd5n8gGyTjMB8NAy7TUV7ULKk=; b=Z9qLthSCJrHCPRXCa4aqd+jn2jBUH3mQnNIdnHxNKSqx48iLQYVwu9jQkh+zE3Impe 5OypweYyoa5vxziMbPxxc6uq/2SHL2XUd66BJxQMRb2O3suWeJ/slhjRsY2tVdJavtdc v0Fg1WqHyiAkgzi2/PhjC3jfKrOGOazvmUNiRb6VgQhGZcCmbq6kE4LE08z0ZbZqhe5y sUVWKkeYtYvctTCgmHh3kPrFfXDBW/gmjsMDn9cMxVJWmdTj2GsrogJwnOAsFnK9lpyH Yw4AiG6fddjw/fl+wswSniWg1cZEsp+TTyk3JdoesrVkIAabyg8U4jmX0JztZPNQ9C8a JqXQ== X-Gm-Message-State: AOPr4FVGM/fxoIlM+Q3px6saFwfgIrfA9iorBYyGU4XsDtAUWMCj1bPYbYARTo3iD28GBlNs X-Received: by 10.66.218.161 with SMTP id ph1mr11285134pac.83.1463037452005; Thu, 12 May 2016 00:17:32 -0700 (PDT) Received: from vader.localdomain (50-197-149-115-static.hfc.comcastbusiness.net. [50.197.149.115]) by smtp.gmail.com with ESMTPSA id r73sm17178763pfi.4.2016.05.12.00.17.29 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 12 May 2016 00:17:31 -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 2/2] mount.2: MS_BIND still ignores mountflags Date: Thu, 12 May 2016 00:17:09 -0700 Message-Id: X-Mailer: git-send-email 2.8.2 In-Reply-To: <8896f51c3802ade59b398058c1d22c9830f9ae09.1463037379.git.osandov@fb.com> References: <8896f51c3802ade59b398058c1d22c9830f9ae09.1463037379.git.osandov@fb.com> In-Reply-To: <8896f51c3802ade59b398058c1d22c9830f9ae09.1463037379.git.osandov@fb.com> References: <8896f51c3802ade59b398058c1d22c9830f9ae09.1463037379.git.osandov@fb.com> 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-rc7. 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 cc624d3fe1c6..162bbddeba21 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