Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp628509ybl; Sat, 18 Jan 2020 07:30:54 -0800 (PST) X-Google-Smtp-Source: APXvYqwBNNndk8Pc7wa1lKG1dvCNmK72ntA1KgLTrHeIRebDB8nTk9iKFoawJC4dqj7mp9eOiKOy X-Received: by 2002:a05:6830:1481:: with SMTP id s1mr6633373otq.66.1579361454844; Sat, 18 Jan 2020 07:30:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579361454; cv=none; d=google.com; s=arc-20160816; b=w2Ve7Sdw3Rm3B3t5gtMgxy+QuLBEk1T1DDu159I/lwdC66b8oSRNvlhwIlvgJCsleP g1pZfM01sSYmsFwX7venUxni7R/7OHqStYpfFY2gyIRWKQvaDBfLmX2LqKmXIbRyFiaQ qSTrQ4I7FGfDB7Ezbc7Th6JPOwfpRwCpleoNtE1xOvsPh2UthjIRexSusLoCyqp2Hj26 xytSj4oyM+Zay8veb+x/jCIQxrkQu7z3U9ok5jVt3K8/IZZZoyORcRqTHyM4vFKolqLI VriNo0+kkn3UaTCOz4+PBa4qPTcIqa3FGCSDyyIL8KJxCtTmBwNWW6bjRO6NWJgJbgf+ +2hg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=/n+zNjezZ1F+IhG5kWDLhLYde0+tFJ6UrpSyo9D/g+U=; b=YeERm4Kk5nStvXKzPstnO8On1T/qQzejA4x9pwbyBqKd6M6uHj9LU7ffiw2OEmobz+ 6iIAwZNX3BN+Pj1hJRNQnY7Wd+PMdQcsCVSRwUZUel/1CMApWAjR11SaOtskOsWvb3fz Edyrfjs1wDmn1vk/ApgHdchnayqxhd2SLCg6u03K/7AiQLKfzlfDTNMucWiKtzWKdkWn D6d55k51pMi7bc2+YB0RiKfokgJUWbIRMK/RxWin6p9hOZECy7g7xM4OgOuewLcD4kKl udHSNo07rv1GDTCp2GWsE6H/foBTVIDP2HbcPtrWJvIkQKxVNHou6v45AFWp6zUpDjmx RhUw== ARC-Authentication-Results: i=1; mx.google.com; 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 c5si15952363oig.75.2020.01.18.07.30.42; Sat, 18 Jan 2020 07:30:54 -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; 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 S1726614AbgARP2q (ORCPT + 99 others); Sat, 18 Jan 2020 10:28:46 -0500 Received: from zeniv.linux.org.uk ([195.92.253.2]:49760 "EHLO ZenIV.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726334AbgARP2q (ORCPT ); Sat, 18 Jan 2020 10:28:46 -0500 Received: from viro by ZenIV.linux.org.uk with local (Exim 4.92.3 #3 (Red Hat Linux)) id 1isq1Z-00AxdN-Np; Sat, 18 Jan 2020 15:28:33 +0000 Date: Sat, 18 Jan 2020 15:28:33 +0000 From: Al Viro To: Aleksa Sarai Cc: Jeff Layton , "J. Bruce Fields" , Shuah Khan , Florian Weimer , David Laight , Christian Brauner , quae@daurnimator.com, dev@opencontainers.org, containers@lists.linux-foundation.org, libc-alpha@sourceware.org, linux-api@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org Subject: Re: [PATCH v3 0/2] openat2: minor uapi cleanups Message-ID: <20200118152833.GS8904@ZenIV.linux.org.uk> References: <20200115144831.GJ8904@ZenIV.linux.org.uk> <20200118120800.16358-1-cyphar@cyphar.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200118120800.16358-1-cyphar@cyphar.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Jan 18, 2020 at 11:07:58PM +1100, Aleksa Sarai wrote: > Patch changelog: > v3: > * Merge changes into the original patches to make Al's life easier. > [Al Viro] > v2: > * Add include to openat2.h. [Florian Weimer] > * Move OPEN_HOW_SIZE_* constants out of UAPI. [Florian Weimer] > * Switch from __aligned_u64 to __u64 since it isn't necessary. > [David Laight] > v1: > > While openat2(2) is still not yet in Linus's tree, we can take this > opportunity to iron out some small warts that weren't noticed earlier: > > * A fix was suggested by Florian Weimer, to separate the openat2 > definitions so glibc can use the header directly. I've put the > maintainership under VFS but let me know if you'd prefer it belong > ot the fcntl folks. > > * Having heterogenous field sizes in an extensible struct results in > "padding hole" problems when adding new fields (in addition the > correct error to use for non-zero padding isn't entirely clear ). > The simplest solution is to just copy clone(3)'s model -- always use > u64s. It will waste a little more space in the struct, but it > removes a possible future headache. > > This patch is intended to replace the corresponding patches in Al's > #work.openat2 tree (and *will not* apply on Linus' tree). > > @Al: I will send some additional patches later, but they will require > proper design review since they're ABI-related features (namely, > adding a way to check what features a syscall supports as I > outlined in my talk here[1]). #work.openat2 updated, #for-next rebuilt and force-pushed. There's a massive update of #work.namei as well, also pushed out; not in #for-next yet, will post the patch series for review later today.