Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp2839741ybh; Mon, 9 Mar 2020 14:14:11 -0700 (PDT) X-Google-Smtp-Source: ADFU+vtDAEuuh4klXsN9icGyceHFf0e6/DiiIS2QUx0oubkp2UoMFQZIu6FVs6jnXXoaewjGIy+F X-Received: by 2002:a05:6808:a9c:: with SMTP id q28mr899328oij.34.1583788451586; Mon, 09 Mar 2020 14:14:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1583788451; cv=none; d=google.com; s=arc-20160816; b=ApW+46KR6A7CIO4ImEaSgiwP29k6xokwLzMJ/qyeW6faF38wuAaU+5PzsAhBuGpQD4 i5BjWlyaayyT2nyEE3eY/NYlzRC9ZwY3cNefxGrq1HGnDLDb9k/iQlgiv1AJLUrggdbE lZ7DYugWNzjggcQeFFUrC4I+7t2V65VzhLAdPNFmcZROIG5Q8SAAzBUraX34hh+PM7YE FDimmbhG1yCUYxrkx3xqUx7XH2gYjuhfIj3ENRnhM3CyBmyFGExGC32wKDr/ORi5Nmsg VILo3cegtxtk+AfbQjS2tXZAnDEU7R33rHAbLO547rheElQ4N53JOxGjZGP1qR578grE FxWA== 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=Il8BHXhlu0rpVwjSDD1TcJtiqIzjydKT/JxTacOBPvo=; b=qPCVIkaPKynJVWie1GZES/BFZeHowlCOpklafyD7sI8oE6J0SUBHZFNrD6LmbiWAKW IaHAhu/rNZEfRT5ekxWkJtWbRW3NJLriz+JR64MjGkZCpCUZVtcFutm5tbsUC6K49G/u Ld5ro525b6jQgi3+PdxoQR5rLwPaFr4NKTlMsX9atGTT4M/1W8UpYYg+6OIsKJeCs9Gq OuGU+euU5ON+cfIfEBLkqnt67h7U5j+L9Dopkcs5owKAukfShepGfVajlfl/Xd6og96s yQmwzBOrFAJbPdkU/hX0wCr/3VN6a/dqi584aosnfmwoJY2UalaX/qEhMFEcxaFwMDT8 vrxg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=Y2fjlUgD; 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 k201si3196190oib.94.2020.03.09.14.13.59; Mon, 09 Mar 2020 14:14:11 -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=Y2fjlUgD; 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 S1726894AbgCIVNQ (ORCPT + 99 others); Mon, 9 Mar 2020 17:13:16 -0400 Received: from us-smtp-delivery-1.mimecast.com ([205.139.110.120]:52152 "EHLO us-smtp-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726847AbgCIVNQ (ORCPT ); Mon, 9 Mar 2020 17:13:16 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1583788395; 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=Il8BHXhlu0rpVwjSDD1TcJtiqIzjydKT/JxTacOBPvo=; b=Y2fjlUgDtFy6Pds85CMnvq0q3siGbhQb6NlsCecRi71wgKjr5GtZDQ6P1Ml736vDcOINKV XzdrfujVF/RFO3MQnWO9z6dQ+uYuNhqHT6KmvfZ0Ue1DtyRmUSGkW3CJZuzqOW034kJLe3 tCsPN7tgcmwUAmQr3amFu8eB8fUgXhk= 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-408-8LJQfvrlOuG6Zr6VQp3twA-1; Mon, 09 Mar 2020 17:13:10 -0400 X-MC-Unique: 8LJQfvrlOuG6Zr6VQp3twA-1 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 4C9F3107ACC9; Mon, 9 Mar 2020 21:13:08 +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 499805D9CA; Mon, 9 Mar 2020 21:13:05 +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> To: Stefan Metzmacher Cc: dhowells@redhat.com, torvalds@linux-foundation.org, viro@zeniv.linux.org.uk, Aleksa Sarai , raven@themaw.net, mszeredi@redhat.com, christian@brauner.io, jannh@google.com, darrick.wong@oracle.com, kzak@redhat.com, jlayton@redhat.com, linux-api@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-security-module@vger.kernel.org, linux-kernel@vger.kernel.org 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: <530114.1583788384.1@warthog.procyon.org.uk> Date: Mon, 09 Mar 2020 21:13:04 +0000 Message-ID: <530115.1583788384@warthog.procyon.org.uk> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Stefan Metzmacher wrote: > > Automounting is currently forced by doing an open(), so adding support to > > openat2() for RESOLVE_NO_TRAILING_AUTOMOUNTS is not trivial. > > lookup_flags &= ~LOOKUP_AUTOMOUNT won't work? No. LOOKUP_OPEN overrides that. David