Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp179953imm; Thu, 12 Jul 2018 16:51:49 -0700 (PDT) X-Google-Smtp-Source: AAOMgpccgU89gwHTWVqA4MVJXE71oj5iEics4doxRbQqKq2Y07zKVKg+ZZahMAur+B1rHuQjRLa6 X-Received: by 2002:a63:62c4:: with SMTP id w187-v6mr3867799pgb.55.1531439509544; Thu, 12 Jul 2018 16:51:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531439509; cv=none; d=google.com; s=arc-20160816; b=aux2pvQaOGNBEQI11fe1n7ylO5dL4Wbht8UztBA2RNS3cX/3ZFG60+AjO0+v4pPI8r qchnhyr5frug4IOkezKuTkpkGkdR6/yryTbya+xUyQR6mOUpz7VlIYBl9Q2Q1cYBUa7/ SCseRmGcdw85II10lJ0QJWUPZj80Z392hEihUfq1W0LGs/pN5PxxjHD+uXaJgsJLL2oq mTPxRCYngb27HmYUwYdz7t2hYvG7ZwtyDS7KvXrMaKdmwl/Za9qcwma+JYeqc8jK0lXq lYR/XWtV2sypx5H0HSLgEbC9cQvVbXGGSJNB6SBbqytcyrzk2qW4pr9BriMDneu5wNbZ IFng== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:references:message-id :content-transfer-encoding:cc:date:in-reply-to:from:subject :mime-version:dkim-signature:arc-authentication-results; bh=/nUSTiQggfUKI5LhouiCJcMtpyh+XjXP8/cng7yWptU=; b=b4Oj7B8MDZCOOlCXQgxQO5Pkq2HkO/nP5DP+YadfCkJrI+X8Td5tzTQseDol/2IIYS XvwD7pZ+kcbQ9+hceQmvjWZAd640AfuBzmfSI5KiuZvOLachmwWhF978H4QCx/c9JHSM Rcbg8IJ9u4ByK7eHc/EWxAYEV3TIniAdboCqno+7OHqYOIM7RKXzGszrt1I0OpEBxOHS nYh9WZpAAYMrbgu/0caZzvvZgApyr0s454GmEe/PPe3MLuPcM3eBQkRaSwNLjSOhFCXx dqlgJ9zWepoTOaCAY0e/9M6AvTJZx1rkswQEuwSx5viMZnNlzw3Wqg4vQcSIcFoa5IP9 rSHw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amacapital-net.20150623.gappssmtp.com header.s=20150623 header.b=m2JhyE4e; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l9-v6si23525295pfe.11.2018.07.12.16.51.34; Thu, 12 Jul 2018 16:51:49 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@amacapital-net.20150623.gappssmtp.com header.s=20150623 header.b=m2JhyE4e; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387757AbeGMACJ (ORCPT + 99 others); Thu, 12 Jul 2018 20:02:09 -0400 Received: from mail-pl0-f67.google.com ([209.85.160.67]:44951 "EHLO mail-pl0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387740AbeGMACJ (ORCPT ); Thu, 12 Jul 2018 20:02:09 -0400 Received: by mail-pl0-f67.google.com with SMTP id m16-v6so11345824pls.11 for ; Thu, 12 Jul 2018 16:50:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amacapital-net.20150623.gappssmtp.com; s=20150623; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=/nUSTiQggfUKI5LhouiCJcMtpyh+XjXP8/cng7yWptU=; b=m2JhyE4eNmVUUpsKBQDfRKdrV8c5wG//fKckUPRx+qrwlRctPGZ9Xa3D37Jda76UHL MVIHnTedCkieha3KOOMBtj11RirMZuA7KIKQ12fLdFivk1mybR5EzOY3T713OzhJyNVZ Bba3UUSicyKxTHTd7iHFjxDfVgPMpOVtD2RKRVKDxAvhMJGZe5/wmfyFrFlhEohZ1eJx QeJLH1Y8PyAWadeqTiEcvhGhxTF0+ZDoxhDMOBM3XGdKi2HI/SRS+u67/JZxTHy3QXTD 4UR7aTXy8WvhSw3BixCapv40fs81qRLh9k/1BmboBnUcNMbpc9AI8+V0nM9c1aNrbsRs ZvTg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=/nUSTiQggfUKI5LhouiCJcMtpyh+XjXP8/cng7yWptU=; b=UzbM/rELXxq3ujf5b/bnG8l8kwrlQ/pWJ477fCEoM76OlQ97VgW94NOhii5ugHErfV 7xsdeYgLk7+e1fzUAOU09AEVpGEMJMwV4UYeKRs2mlOYPprLsr8Ai3iuvB4EtfMGJ047 rUCa91kfjVA55ADDBXMsFkwDcuCSThyLZbPhjZB+iHcPr12ijfsMshZ4cuZa7Ei54rU4 Yvsymbv8vmext9kY5FOna0TWsL5Xxl6YM2lgPOFeud80qYHTxp9XR/CllqNiDNM94Wcd vmkxf0r07ealWy8u7MORkZ+MagleM/qpGoayEeIbsx1QFGnYMjF60a/Ge/J+UvBMC60j dZRw== X-Gm-Message-State: AOUpUlFHaPGEZVrfiyY6Y8Ul74bH1gS+CwPBzviCDf6PsnuGxi8FRa3z J4PtGNKPxwYPbOz+KMo0QUviFg== X-Received: by 2002:a17:902:3281:: with SMTP id z1-v6mr4127643plb.226.1531439415780; Thu, 12 Jul 2018 16:50:15 -0700 (PDT) Received: from ?IPv6:2600:1011:b01e:e4d1:54df:ba07:cac1:aeab? ([2600:1011:b01e:e4d1:54df:ba07:cac1:aeab]) by smtp.gmail.com with ESMTPSA id n86-v6sm43822452pfj.68.2018.07.12.16.50.14 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 12 Jul 2018 16:50:14 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (1.0) Subject: Re: [PATCH 24/32] vfs: syscall: Add fsopen() to prepare for superblock creation [ver #9] From: Andy Lutomirski X-Mailer: iPhone Mail (15F79) In-Reply-To: <23894.1531438559@warthog.procyon.org.uk> Date: Thu, 12 Jul 2018 16:50:13 -0700 Cc: "Theodore Y. Ts'o" , Linus Torvalds , Andrew Lutomirski , Al Viro , Linux API , linux-fsdevel , Linux Kernel Mailing List , Jann Horn Content-Transfer-Encoding: quoted-printable Message-Id: <3236C75A-5D74-4BB4-A1EC-06F6E22D810C@amacapital.net> References: <611054C7-D6E8-4C89-958E-3128C9305E1E@amacapital.net> <20180712223223.GA28610@thunk.org> <153126248868.14533.9751473662727327569.stgit@warthog.procyon.org.uk> <153126264966.14533.3388004240803696769.stgit@warthog.procyon.org.uk> <686E805C-81F3-43D0-A096-50C644C57EE3@amacapital.net> <22370.1531293761@warthog.procyon.org.uk> <7002.1531407244@warthog.procyon.org.uk> <16699.1531426991@warthog.procyon.org.uk> <18233.1531430797@warthog.procyon.org.uk> <22105.1531436081@warthog.procyon.org.uk> <23894.1531438559@warthog.procyon.org.uk> To: David Howells Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > On Jul 12, 2018, at 4:35 PM, David Howells wrote: >=20 > Andy Lutomirski wrote: >=20 >> I tend to think that this *should* fail using the new API. The semantics= of >> the second mount request are bizarre at best. >=20 > You still have to support existing behaviour lest you break userspace. >=20 I assume the existing behavior is that a bind mount is created? If so, the n= ew mount(8) tool could do it in user code.=