Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp2031410pxa; Mon, 24 Aug 2020 03:09:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxKsWimRqy0PA8BpyyIm9TfN2sIxfB1Yq+lL9Z3Ie91COTVto3+lVOf2zYVriBYhujYl8dP X-Received: by 2002:a17:906:4bc5:: with SMTP id x5mr5021843ejv.177.1598263767123; Mon, 24 Aug 2020 03:09:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598263767; cv=none; d=google.com; s=arc-20160816; b=AnQsc/Mfp0g0LBy8znx3pcR0b2+XynJrgaQUdDOYd8qDO7Lam2SdmBKQUzbbnp0j3j 3Ap0hx63FSkrRY3KZcMbZjEbCNGCy+9/DBMAAMb8iEEEQ0tsBwN9sNGOrsH8Ez0VA4iV Bf7G8Mw0T8u246shhu4rx8+T+VX50jySMsPwOonHEag0hnLhbRJF3lz1gFbDZi6Lbb/T JpcOD7VxUG/roXAY9472eYeESskR9sgV1e4LT9h14/GoZNuQiZ7xo5JcfP4poJwp4ZoI UAGajBYs5Q6OKDLmhcRwm87bojWfBZlQ4J61Mwjxp6iDugp7bqMgafXdArG4mAJK8qkt +APw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:content-transfer-encoding :content-id:mime-version:subject:cc:to:references:in-reply-to:from :organization:dkim-signature; bh=niBQvcJM3tboigqGIQvzntcj0FQMHRCY5rtN6djQmRo=; b=yjZDjYlK1Mh/MpbnJqX3SHSvbfgCwQGGPgCujqHqpvwGEhjxw2J50uH9nuiF47wkN3 cZBlEly8na0QWQhLqbJHbsFDZ66WilDf+bkrfkZVLA4+U+MutpaTot83rEAUQmSxcGXV 7/TbAJpSMluHil9PKzzu3ctRQybYVULNQZEsJunaFBrm8D4Jjq267CfIBoBJbxd0oq5G 3J/0+cu/+Z+56fLco34vtnhM3MmUN9uWHzcS/jiKKuxYcc9VTKuI4hK4VILzh9khKcSt nQSomQA5eMr8iU9IIYKcLYg0zMczqBU3BoqDV9LohYZP2uGgzWGdkzLS+1wjhFgNQCRm 3U6A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=cOUlwtvE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f1si6343363edq.182.2020.08.24.03.09.04; Mon, 24 Aug 2020 03:09:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=cOUlwtvE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726627AbgHXKIc (ORCPT + 99 others); Mon, 24 Aug 2020 06:08:32 -0400 Received: from us-smtp-delivery-1.mimecast.com ([207.211.31.120]:40749 "EHLO us-smtp-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726008AbgHXKIb (ORCPT ); Mon, 24 Aug 2020 06:08:31 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1598263709; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=niBQvcJM3tboigqGIQvzntcj0FQMHRCY5rtN6djQmRo=; b=cOUlwtvE4JtEnod8gFJN6FSWGHQDcEcXFlFATBXcwIPlPS5KqiQYJHM+xJ6nuttJ9g84km 26Yz1ZbGfHeRHvzZPm0eLYZGfZr24jdrXeGkHPynh975y7YVbaTEmGhdXaEI20m4YBJreH iLw3HVvtWpSaQf65i2Lv/OLYaL3rsj4= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-7-OFTgyMFtMyaGYi25_niVHg-1; Mon, 24 Aug 2020 06:08:26 -0400 X-MC-Unique: OFTgyMFtMyaGYi25_niVHg-1 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id EDE5DAEF60; Mon, 24 Aug 2020 10:08:24 +0000 (UTC) Received: from warthog.procyon.org.uk (ovpn-120-127.rdu2.redhat.com [10.10.120.127]) by smtp.corp.redhat.com (Postfix) with ESMTP id 420BA7C84C; Mon, 24 Aug 2020 10:08:23 +0000 (UTC) Organization: Red Hat UK Ltd. Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SI4 1TE, United Kingdom. Registered in England and Wales under Company Registration No. 3798903 From: David Howells In-Reply-To: References: <159680892602.29015.6551860260436544999.stgit@warthog.procyon.org.uk> <159680894741.29015.5588747939240667925.stgit@warthog.procyon.org.uk> To: mtk.manpages@gmail.com Cc: dhowells@redhat.com, Alexander Viro , "linux-fsdevel@vger.kernel.org" , Christian Brauner , linux-man , Linux API , lkml , Karel Zak Subject: Re: [PATCH 2/5] Add manpages for move_mount(2) and open_tree(2) MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <287643.1598263702.1@warthog.procyon.org.uk> Content-Transfer-Encoding: quoted-printable Date: Mon, 24 Aug 2020 11:08:22 +0100 Message-ID: <287644.1598263702@warthog.procyon.org.uk> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Michael Kerrisk (man-pages) wrote: > > +To access the source mount object or the destination mountpoint, no > > +permissions are required on the object itself, but if either pathname= is > > +supplied, execute (search) permission is required on all of the direc= tories > > +specified in > > +.IR from_pathname " or " to_pathname . > > +.PP > > +The caller does, however, require the appropriate capabilities or per= mission > > +to effect a mount. > = > Maybe better: s/effect/create/ The mount has already been created. We're moving/attaching it. Maybe: The caller does, however, require the appropriate privilege (Linux: the CAP_SYS_ADMIN capability) to move or attach mounts. David