Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp5760703ybf; Thu, 5 Mar 2020 06:34:56 -0800 (PST) X-Google-Smtp-Source: ADFU+vuUjVIu6394oR+MM/RZVqToN/0ukG8/3IeUu/8j+L+hlantQxD/190RdPLWvi6374Kd/Y+/ X-Received: by 2002:aca:1317:: with SMTP id e23mr5887924oii.109.1583418896638; Thu, 05 Mar 2020 06:34:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1583418896; cv=none; d=google.com; s=arc-20160816; b=zV+Yx87+GTf6tEB0Q2ZzaKD5pjorOnSqDpHtTHpENimvJxYJ9KVXZ4sbCQxGeUwSii 77VrbhEbFkWoyIHw1gIHLHqvL6Y4PrL7cBYv0ckWhE5PZciXUUZmf1jj2JmbefRF7Wrv YkPRX+ZwP6u994416RK5ibAqBCbUiTajviuLdAQtY9SlCYc5X/qXYdVtdvCpEYpPyX3R O02uSyP76XqVPQNshWYB33AZTnVBerSPDUe4jTEwQesYxAJiIVXVhSDyPAhSKHpfBMat Ryg3fdnlowGWUXfl4GFsGgcYql2sH1DTm0W/5DqHhKMF1PGPhnWZrEggyYfrLuTCwrTb gPYg== 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=JeWSvoZf2tZsXfDObLxDYWWnv9Q0RISNvmtrEsPHEiU=; b=XeGTpwjkvfrsZ/AbpZU02AMrsM2REQj+Zj83zmmt3WOoGGqthW3rmrYslkbLV3OO+e 0nVUewusA9eTTlyOz/hPYnsI7WR6h1BGEoHjw8cB1ugAtbmKsOQnIBMYjDO9ICOCfWlx ZhpMjQcqCyH0Qc27sXsoYByecdjlUPDSqwhQLPmuUYlrRXRaMOvxtxQ91brMs8rnGyp4 koctw1uYkDu+rLSWbemfbGeJ2lEf30vA8v8xkNL0wN4jerZeNjelA9n1HbThsNn+P5Ap AWEUXhGZ99Wlsqw6VcTGx1V/RWtY68z+Vb0N7PlhEsWtNVr2HwPFXdXe42k2l0sP9A59 VKJA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=chSCFzUp; 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 q9si3391576oif.92.2020.03.05.06.34.44; Thu, 05 Mar 2020 06:34:56 -0800 (PST) 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=chSCFzUp; 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 S1726234AbgCEOeE (ORCPT + 99 others); Thu, 5 Mar 2020 09:34:04 -0500 Received: from us-smtp-2.mimecast.com ([207.211.31.81]:49740 "EHLO us-smtp-1.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726092AbgCEOeD (ORCPT ); Thu, 5 Mar 2020 09:34:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1583418842; 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=JeWSvoZf2tZsXfDObLxDYWWnv9Q0RISNvmtrEsPHEiU=; b=chSCFzUpOJfPpQfipdZy96O4PzV2FUxtK2h+SGCtjHtEP35U3DLYYf2qcNhguQGOLl2atl 936mHLv+n4FJ1GypDgpLaDiv3QXdQXxVTRJHsO5PTeNLDVo3SklI4zqazM6Aa6TexZM+6Q aC3BCbvTh0kiEyAWxW9j68bXhGUIfis= 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-21-CaEK44FcNs-FLCvsKtIb1Q-1; Thu, 05 Mar 2020 09:33:59 -0500 X-MC-Unique: CaEK44FcNs-FLCvsKtIb1Q-1 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id ED613100550E; Thu, 5 Mar 2020 14:33:56 +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 AD35484D90; Thu, 5 Mar 2020 14:33:54 +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: <87y2sjlygl.fsf@oldenburg2.str.redhat.com> References: <87y2sjlygl.fsf@oldenburg2.str.redhat.com> <96563.1582901612@warthog.procyon.org.uk> <20200228152427.rv3crd7akwdhta2r@wittgenstein> <87h7z7ngd4.fsf@oldenburg2.str.redhat.com> <20200302115239.pcxvej3szmricxzu@wittgenstein> <8736arnel9.fsf@oldenburg2.str.redhat.com> <20200302121959.it3iophjavbhtoyp@wittgenstein> <20200302123510.bm3a2zssohwvkaa4@wittgenstein> To: Florian Weimer Cc: dhowells@redhat.com, Christian Brauner , linux-api@vger.kernel.org, viro@zeniv.linux.org.uk, metze@samba.org, torvalds@linux-foundation.org, cyphar@cyphar.com, sfrench@samba.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: Have RESOLVE_* flags superseded AT_* flags for new syscalls? MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <3606974.1583418833.1@warthog.procyon.org.uk> Date: Thu, 05 Mar 2020 14:33:53 +0000 Message-ID: <3606975.1583418833@warthog.procyon.org.uk> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Florian Weimer wrote: > Will there be any new flags for openat in the future? If not, we can > just use a constant mask in an openat2-based implementation of openat. One thing we might want to look at is implementing support for lock-on-open/create and sharing modes in openat2(). Various network filesystems support this. Wine, CIFS and Samba particularly might be interested in this. David