Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp724489ybh; Thu, 12 Mar 2020 09:58:45 -0700 (PDT) X-Google-Smtp-Source: ADFU+vtnr7rFgz4sGeKXe5PmysfVJcR9J2MtfPZ4tPYLc27bdqL0lmMQvdEt3POK+0/Ye9fC/mit X-Received: by 2002:a05:6830:3090:: with SMTP id f16mr6817482ots.211.1584032324950; Thu, 12 Mar 2020 09:58:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584032324; cv=none; d=google.com; s=arc-20160816; b=l9XfqiOH29NXXONgRkkkPzO+XeaSB7kIUz6kx58058xfulcq4xvHI5R05CsXyJDjvP rf4XIFYJ/WOeBtfeWUZAZIP1J7gfAzw9sRE+8ia7URh1HGPym06IWI+1iAiB7Hs2sBZq O9b8bKIa1LkijclxgJam+i9mN6qbhXO6aNPTSKp1W+0kawxF5acMeNCP4oY/bioKmOWh tbKhYJbluAXWnrwRUfdxIsRBVWWXHUcmfHip3Ms6kymCZvd6+W3juz/OKcdMm7iX2tW0 E6XXYurwTwZnuRYaC2rBf8igqAdpq73IpCRGwbiUXKJlktpc1Ni2qzV62VBXUOPd5Q1e 7s5w== 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-id:mime-version :subject:cc:to:references:in-reply-to:from:organization :dkim-signature; bh=tC/dXDRVsRvobj4efL+zW9X6MF6Isbjq0hH6zkUllc0=; b=MkEgW79hL3spYPkW45D9/R3RNjkMzLql8SjD6YGuVDn3/wy3nWbd61I9ZKc+k08C0u 3bf2egeo4X9p8ou/XK8oHY0TkyKc7vmGwzcwhQoMMOuTXx50rwYNyiRHCXgEDYZh3Jvj 0vf64qMxH7pzkJYUTI5PXxEmiRY7PSrspaLrb1lMKT4Jg7Zsj9CcikNGyvVDNTAJGVpI 7PPh6HX4S/4WbcW+5vQqsmMyd4FEZAeC5tUhUseaWUx1hRO5DIGnEmjlxdLF1FuuBQjA TpUl1W+6ht29oTqsc4oSwDyqc+GVpEeOpkif+L9rf4L2zA6LoeBLOTp9hRdyj7duYCHL g7zg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=WJGc90ok; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j65si2729531otc.308.2020.03.12.09.58.32; Thu, 12 Mar 2020 09:58:44 -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=@redhat.com header.s=mimecast20190719 header.b=WJGc90ok; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726477AbgCLQ4w (ORCPT + 99 others); Thu, 12 Mar 2020 12:56:52 -0400 Received: from us-smtp-delivery-1.mimecast.com ([207.211.31.120]:31689 "EHLO us-smtp-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726371AbgCLQ4w (ORCPT ); Thu, 12 Mar 2020 12:56:52 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1584032211; 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: in-reply-to:in-reply-to:references:references; bh=tC/dXDRVsRvobj4efL+zW9X6MF6Isbjq0hH6zkUllc0=; b=WJGc90okZVWOc9vzRLP4dvIxfomJu09gqCiT8xKH4CDqExSBep0hzUMgk37AJc4Cj9iOeu jG0OQhiqaV9LDNF7crCTwXZ+S7v3Ma8mjVwPQ+SfHyoyW12lIZGNldxNHcRqCYGJ9ptBiF HTM9e9bZ+CVJb38DBFeJCgqRfAnYGOc= 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-205-XTtHN6DkO069iLfk00j1xg-1; Thu, 12 Mar 2020 12:56:50 -0400 X-MC-Unique: XTtHN6DkO069iLfk00j1xg-1 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 20DAF1060DF7; Thu, 12 Mar 2020 16:56:48 +0000 (UTC) Received: from warthog.procyon.org.uk (ovpn-120-182.rdu2.redhat.com [10.10.120.182]) by smtp.corp.redhat.com (Postfix) with ESMTP id 90D01194BB; Thu, 12 Mar 2020 16:56:42 +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: <158376244589.344135.12925590041630631412.stgit@warthog.procyon.org.uk> <158376245699.344135.7522994074747336376.stgit@warthog.procyon.org.uk> <20200310005549.adrn3yf4mbljc5f6@yavin> <580352.1583825105@warthog.procyon.org.uk> <3d209e29-e73d-23a6-5c6f-0267b1e669b6@samba.org> To: Linus Torvalds Cc: dhowells@redhat.com, Stefan Metzmacher , Aleksa Sarai , Al Viro , Ian Kent , Miklos Szeredi , Christian Brauner , Jann Horn , "Darrick J. Wong" , Karel Zak , jlayton@redhat.com, Linux API , linux-fsdevel , LSM List , Linux Kernel Mailing List Subject: Re: [PATCH 01/14] VFS: Add additional RESOLVE_* flags [ver #18] MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1147627.1584032201.1@warthog.procyon.org.uk> Date: Thu, 12 Mar 2020 16:56:41 +0000 Message-ID: <1147628.1584032201@warthog.procyon.org.uk> X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Linus Torvalds wrote: > > The whole discussion was triggered by the introduction of a completely > > new fsinfo() call: > > > > Would you propose to have 'at_flags' and 'resolve_flags' passed in here? > > Yes, I think that would be the way to go. Okay, I can do that. Any thoughts on which set of flags should override the other? If we're making RESOLVE_* flags the new definitive interface, then I feel they should probably override the AT_* flags where there's a conflict, ie. RESOLVE_NO_SYMLINKS should override AT_SYMLINK_FOLLOW for example. David