Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp5452892ybe; Tue, 10 Sep 2019 04:03:11 -0700 (PDT) X-Google-Smtp-Source: APXvYqydLz0TkcXvg05SXyRkNxHax0vnuL3HcSQVBb/xuM181kPBVYLzS/NUYFHMJ4WgA3qKX5bg X-Received: by 2002:a50:d084:: with SMTP id v4mr30438437edd.48.1568113391581; Tue, 10 Sep 2019 04:03:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568113391; cv=none; d=google.com; s=arc-20160816; b=iJYprHMmU2ztg2IO1jFdXdAt03tRxfkdH8JAbYzJN45kMshML3kVCeEPkiA8+KPtQj WzsgrR+3JtZjie75nT5ay/3gplLjSlBUdaHdzMXeRBHz+TzY3s1GqsN7PFq/Y/5eyOTy OpOtl/FcSoCSRy+uob7CHDTvXtJVElJyYaWjAovj6XsWcSFoqEy8CxSzK0QXmWKLxNAw eR9LN4ODYi843JB738OIRNZQNbBd71DmpaJqvLRI950+sF4vX0gP2qak0JemlCwApH6T wYau32lDyUnqHJ/kOjeVN7eUcjVt2NsnsBPZ8jyvdN2mBkgSyNlKKXzSPkAL2Yqziz7c aKJQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=9uC8BSyBqqvpBHr+UBJrMjpTjeLS9eaSkiimfXBOGmI=; b=o6Vk0RSI/NHM2w5u/tUNUbLfitCMEdlLj+nebPz47zhKTxrRG5nKZZ5QdZ9ltxJfPD 8/TZiZ8mL8sf52MbBm9uFRtZE8MNTiYyEUM7N207aMoKMG0XSoEzaCe/lvBQLyt0kVhr 0o+cWLr7wZ9C0UNZoAs3dzGAhh6ZXpH9H4M9edHtVSya9S5iqpsxnoRkfErFhZFLOlBR vEFZBVKsUijtE6QdW/kglLcqHs7Vv5PZ77GjnOKFK3Qq61j67dHYGrVz2zbsF3acmCWy OFBBSDu0V38Fd9Xg0xNalHbccnawrgiRganV7H2SBZeRXs5znnrISMbreuI8/uNdEgFh 0Ejg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=RT2CZzYf; 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=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b56si10875922edb.418.2019.09.10.04.02.45; Tue, 10 Sep 2019 04:03: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=fail header.i=@gmail.com header.s=20161025 header.b=RT2CZzYf; 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=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2393513AbfIJGfm (ORCPT + 99 others); Tue, 10 Sep 2019 02:35:42 -0400 Received: from mail-wr1-f66.google.com ([209.85.221.66]:34009 "EHLO mail-wr1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729627AbfIJGfl (ORCPT ); Tue, 10 Sep 2019 02:35:41 -0400 Received: by mail-wr1-f66.google.com with SMTP id a11so7851369wrx.1; Mon, 09 Sep 2019 23:35:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=9uC8BSyBqqvpBHr+UBJrMjpTjeLS9eaSkiimfXBOGmI=; b=RT2CZzYflWq0hJIviZ1qNiz7T8GR4+WUrisMZXe3m9cauTkqIyyVGGFPULrde7A02W tj7FplDkEllE02owPbUYDzEtapP1C48use/4kFc7fZZmFt/DdDZTI55D8qvOaO2r24Ne q4FNPrvlkjfx+lYW3lSYcZ69k2e463dcG9Y4rn+PPa/Glpr++eDfgJ8gFO5kdGQ+ZZAk nXhnUxrt/DhKZTkCCWYef7FPywkEzNn0z8LUShNXRMIkZZwOG/G3kJoXGIwG7zGeC0aS TI+DZ2QVgsA7VVK9EZCvbN7bPdpk9PkNXAPdUVWeWNcFfO4yiY8K5tj2pJUrGvJYeUSW 9/rw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition:in-reply-to:user-agent; bh=9uC8BSyBqqvpBHr+UBJrMjpTjeLS9eaSkiimfXBOGmI=; b=OGIIu7kQiC9NfKryZfiQuYrZPpsBPFxbvEH8fwEKiZuuqtgtF7jXfIN29NnGbc7fId rvFMXp1KemiGvI8uDGKpmB7TKTpH09ZSH+pP6wff/kjUKi7y/gzYWD37MGi08QJKXSU5 qIzIK/9psV/Dmfg+9g4+w5obNvUboDNYacCXAulcDEnDDCAlCvNGVCW+/KRRgW+yYKgs bJbBptmLeUkrnIBvsbU7dGCeqeZV5c2GnIcnxDregkX0MA47Sf4/LsthdFQLCntmSSpS lDqB3Sg9s1mVKXpH8rGLDUn39r1sa8uWlauqHahO9JXETkbxQ2gJO9wOvf2hvpR7bsNy 0bJQ== X-Gm-Message-State: APjAAAVO1jrEEqNqZtkwzYjI7tJkcM927HxyjlUx7zJFLbv3jtpt93vv vOFlChZAgfWDE3vxlNeRRCw= X-Received: by 2002:a5d:6b0f:: with SMTP id v15mr22340960wrw.19.1568097336267; Mon, 09 Sep 2019 23:35:36 -0700 (PDT) Received: from gmail.com (2E8B0CD5.catv.pool.telekom.hu. [46.139.12.213]) by smtp.gmail.com with ESMTPSA id u22sm32329249wru.72.2019.09.09.23.35.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Sep 2019 23:35:35 -0700 (PDT) Date: Tue, 10 Sep 2019 08:35:32 +0200 From: Ingo Molnar To: Linus Torvalds Cc: Andy Lutomirski , Jeff Layton , Aleksa Sarai , Al Viro , "J. Bruce Fields" , Arnd Bergmann , David Howells , Shuah Khan , Shuah Khan , Ingo Molnar , Peter Zijlstra , Christian Brauner , Eric Biederman , Andy Lutomirski , Andrew Morton , Alexei Starovoitov , Kees Cook , Jann Horn , Tycho Andersen , David Drysdale , Chanho Min , Oleg Nesterov , Rasmus Villemoes , Alexander Shishkin , Jiri Olsa , Namhyung Kim , Aleksa Sarai , Linux Containers , alpha , Linux API , linux-arch , Linux ARM , linux-fsdevel , linux-ia64@vger.kernel.org, Linux List Kernel Mailing , "open list:KERNEL SELFTEST FRAMEWORK" , linux-m68k , linux-mips@vger.kernel.org, linux-parisc@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-s390 , Linux-sh list , linux-xtensa@linux-xtensa.org, sparclinux@vger.kernel.org Subject: Re: [PATCH v12 11/12] open: openat2(2) syscall Message-ID: <20190910063532.GB1579@gmail.com> References: <20190904201933.10736-1-cyphar@cyphar.com> <20190904201933.10736-12-cyphar@cyphar.com> <7236f382d72130f2afbbe8940e72cc67e5c6dce0.camel@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Linus Torvalds wrote: > On Sat, Sep 7, 2019 at 10:42 AM Andy Lutomirski wrote: > > > > Linus, you rejected resolveat() because you wanted a *nice* API > > No. I rejected resoveat() because it was a completely broken garbage > API that couldn't do even basic stuff right (like O_CREAT). > > We have a ton of flag space in the new openat2() model, we might as > well leave the old flags alone that people are (a) used to and (b) we > have code to support _anyway_. > > Making up a new flag namespace is only going to cause us - and users - > more work, and more confusion. For no actual advantage. It's not going > to be "cleaner". It's just going to be worse. I suspect there is a "add a clean new flags namespace" analogy to the classic "add a clean new standard" XKCD: https://xkcd.com/927/ Thanks, Ingo