Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp892355imm; Fri, 13 Jul 2018 08:03:17 -0700 (PDT) X-Google-Smtp-Source: AAOMgpcGKzscv2Z9WFrO9zVK43q7nYcNdDVc2bJ3EQf06Au46Di7LjpaU32dOt9L6rKjHq6aRJJX X-Received: by 2002:a17:902:724a:: with SMTP id c10-v6mr6925678pll.64.1531494197587; Fri, 13 Jul 2018 08:03:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531494197; cv=none; d=google.com; s=arc-20160816; b=RkDh2E85ytTZuRoYDSu7RQvUdHtp1/mplglLMo8HCctJUbBXIf3JHeD5uPxJRxdH7G qi/J9WnqAVuwugcVpK3DaMzNIj2XmiWJBvbPnvyYBE/pQDeGN660rMrwSrsoKJchA4eQ YDSrKDSZAV6SvDQVUau/nzPj2TxhUug1xMZWowGwpSqlzmTERiAiJV0wjuk0EPlhGNri p4ratMwLjnsHagGqrN8NhkXeOBS9hFq5yd24EUSuZQT3o438B5VCZNltJddfS+g7OA7K IlQpUrQuAUxRdh6/5OzuySwTfOZql30R1FOci4tIiQObWp6ds32X2HNd3f7xQi1VXcmo DRSw== 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=6xJ/Xf3cuHjZTcEzylG7SrD9VrFah5VdnZ+dUl5LKUc=; b=QXRTnTaiiyH26eLi23lPEXajl93VAOXIQm3DbX/apwP9/QEx8BEZ2//v8BP4aH9UEw fIIIPD0jh1zeZk6kTtj3rB/yO23VGWSaHscyp/U/NH6+rrqYiTQOqENqyHDg7t6fgaFm cukmm4Z3Ec6udEKn0vFxlUZ1wR78uYlkDX88drvzEukAY8cMF04z8NNseLnMqqSNR785 DSqSMsM7rhNoP4vqchMRuiQqJLvRlEe41+xRPy3Md5NrO+DEzKzjXnvfDSgP9LFEZxh1 cwfn2wxLrsFd4rNtW2Qx1j243mbEdJeboA6piFibHNoZ7u1anEoJlK4Ae0lzyO5HELnN 386Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amacapital-net.20150623.gappssmtp.com header.s=20150623 header.b=0mVp8KiA; 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 b60-v6si23672211plc.270.2018.07.13.08.02.51; Fri, 13 Jul 2018 08:03:17 -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=0mVp8KiA; 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 S1730644AbeGMPRB (ORCPT + 99 others); Fri, 13 Jul 2018 11:17:01 -0400 Received: from mail-pf0-f194.google.com ([209.85.192.194]:39859 "EHLO mail-pf0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729676AbeGMPRA (ORCPT ); Fri, 13 Jul 2018 11:17:00 -0400 Received: by mail-pf0-f194.google.com with SMTP id s21-v6so22815534pfm.6 for ; Fri, 13 Jul 2018 08:02:00 -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=6xJ/Xf3cuHjZTcEzylG7SrD9VrFah5VdnZ+dUl5LKUc=; b=0mVp8KiAwXo0Wq8kvPrV3Z1tnLcQwvKWmKPg7PkGFe5pRz1JzNwo5/sIcJUJ8mq/XA yuTRu0DUShxQXuJHYRy3KmnNnM6HDjg189QVwtjwKg318fvALufnW2Q+/vplmBn265R5 mihLnBiRrqxLgrWNf4c25QvT20V2Eud1k0fznWPuSg7Pmvmg4vrvwgL7rWQ2pjH5Y5go f/xB3OME+LBRmcFwQI2Dj3kEqnxj2lvCuqICZI8NoZvn+Ob9z1pOn7l+4tX6YhE8fFOG wfmI6zW/+wySeE5rHr8iHMUKEunKXYgz1ky/fYxb3tpei0qSnpT+fYL0jk8GiEoSTHee foZg== 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=6xJ/Xf3cuHjZTcEzylG7SrD9VrFah5VdnZ+dUl5LKUc=; b=ItFd/6EORHcVOyOPRhHBvaKDI15cPPeXvxolwwdeBGsOIOytHo2WNIcdyT4bbpx1Cx 0SuA7yCzE63MAsHVQmRtfCZlh0fJk7yTX44y0Mo52cGYKf/rJLezJl36YeuZAXwjyVpB TqQuxCnqgvbeOzmgWoVpMfZG8VaPWXzZpUnRm84Ivh7KVqOcutUMkc51cFSY7nDcNyxX 7aPxzWBjAHDIVeGzvuM231T+SySFlqcMuD9s1IPArIWNOI8iITrmqxiWpmJd5Mp4DLq1 ri3dDvCrPdnA4VZ68EUcsBANNf7TDaaib1ziE9XKNw48VkLPzCfR1ORULzNEa5QjZf9x yIVw== X-Gm-Message-State: AOUpUlHpTUh1dp/t/nAHFH8EhyszwIAq4km7gm5df2aQgejIr7AODcIA 3UAHsR3P0kugZKLdUpFx2AmlKA== X-Received: by 2002:a65:5683:: with SMTP id v3-v6mr6294757pgs.176.1531494120191; Fri, 13 Jul 2018 08:02:00 -0700 (PDT) Received: from ?IPv6:2600:1011:b010:c408:9b8:4cb7:ed0e:1060? ([2600:1011:b010:c408:9b8:4cb7:ed0e:1060]) by smtp.gmail.com with ESMTPSA id x2-v6sm48992555pfi.166.2018.07.13.08.01.58 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 13 Jul 2018 08:01:58 -0700 (PDT) Content-Type: text/plain; charset=utf-8 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: <21131.1531488422@warthog.procyon.org.uk> Date: Fri, 13 Jul 2018 08:01:56 -0700 Cc: Linus Torvalds , Andrew Lutomirski , Al Viro , Linux API , linux-fsdevel , Linux Kernel Mailing List , Jann Horn , Tycho Andersen Content-Transfer-Encoding: quoted-printable Message-Id: References: <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> <338BC3C4-F3E7-48F0-A82E-2C7295B6640E@amacapital.net> <17749.1531429218@warthog.procyon.org.uk> <21131.1531488422@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 13, 2018, at 6:27 AM, David Howells wrote: >=20 > Whilst I'm at it, do we want the option of doing the equivalent of mountat= ()? > I.e. offering the option to open all the device files used by a superblock= > with dfd and AT_* flags in combination with the filename? >=20 Isn=E2=80=99t that more or less what I was suggesting? I suggested dfd and p= ath and I also suggested just an fd and letting the caller open the file its= elf. > David