Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp7924546rdb; Thu, 4 Jan 2024 12:02:34 -0800 (PST) X-Google-Smtp-Source: AGHT+IGyBQ/mR/s20xaRQOsui5i6wKy84yyxGgwr42Sy1K1LeOXoSoLGnmgkHFC7bBLVMAOMIHIN X-Received: by 2002:a05:6214:1c83:b0:680:5bd7:526b with SMTP id ib3-20020a0562141c8300b006805bd7526bmr1269560qvb.127.1704398553909; Thu, 04 Jan 2024 12:02:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704398553; cv=none; d=google.com; s=arc-20160816; b=adXhCOsJIVZFng5qsvUXdtoP9YPs1F++L0Hc9SixCeUFEJkkGHsWzQ4f7/nczoFggU rMMLWoaRTtzeOC8zV5ZPuixqIzt36DnuLU7HftB5hTABvz0NthpANEOkESUr/nsiRt9h 6lwrZmJYrWPs0Dnmmc5tUZ9D6a//p5Syx73PMkZPjVX/E+hwO6iQyL3vbynBqdZI6Hsa CLKLaP0j1lOsnZYkLRwi+EVAZj57lg8ZkhVcW64jwFyRlftuqRv+Vby+4tcP9w5xRFnG CADN9wtkatBPzJhAGedEMLWgyGPtp1760xWxDv3ENRjfE5PTHuTA6K+4v5zi1BmIPfeo dZug== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :dkim-signature; bh=9jDsDfmbTpiQpvGnfOhd0ROcnisF14caf1vpRK9xqg4=; fh=HF2lR5CWTP5/hM0HOa1oftVSm7g/W7TpRrdzx61ArpY=; b=Y3lo338dwnoNNSdiIkeCxQBuF19dA+nObeKTa35qbLVcZx0/5jEW/BN4NiIKmCugft RJ1diJTPSfozxoj3xaNT6sxYlDrqfK53HXTuIQjU0l9jyAT44mBRPnvOv67XYVvzgz5V iwso5LUoSdZDOdiaESd4RID2/TP49vGiriTOU8eEphVimn0yv51Q/8CR11cMt7gTnojY ZSyqMTDTiT5MTXBaMtYwWBnxoB8YKm36CaU9g7s2uIIXIQpwHiXVt60yPT5CUnuZGLMK jQf5UZXVt2Wm8YClCfrrnjxXsTYby8G9aZpVZ4DnIKQZiaCHQNNMphArr4o2telm/sR4 C8nA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=TcAgY24T; spf=pass (google.com: domain of linux-kernel+bounces-17188-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-17188-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id e1-20020a0ce3c1000000b0067aa61ca2e2si178232qvl.17.2024.01.04.12.02.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Jan 2024 12:02:33 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-17188-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=TcAgY24T; spf=pass (google.com: domain of linux-kernel+bounces-17188-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-17188-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 7ABE71C22946 for ; Thu, 4 Jan 2024 20:02:33 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id AF29C2C695; Thu, 4 Jan 2024 20:02:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux-foundation.org header.i=@linux-foundation.org header.b="TcAgY24T" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-wm1-f42.google.com (mail-wm1-f42.google.com [209.85.128.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 618482C68C for ; Thu, 4 Jan 2024 20:02:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=linux-foundation.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linuxfoundation.org Received: by mail-wm1-f42.google.com with SMTP id 5b1f17b1804b1-40d5a41143fso7501155e9.3 for ; Thu, 04 Jan 2024 12:02:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=google; t=1704398539; x=1705003339; darn=vger.kernel.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=9jDsDfmbTpiQpvGnfOhd0ROcnisF14caf1vpRK9xqg4=; b=TcAgY24TVMOu9UYln9SgjwiLLt7KXvS7eV38BEAz0LiDd4c8Itbp+aRmvCzgLDsv8z btwA0mPop8VYEmcWhQ9S+Z/LjiG8BmIwlZkLeHhQpB6VdU9jnXdE62t18jTPZqKJsD+z 4ZpyUNzjCDiJrE7ciRzvpBMU8+3XQB7D0qeNw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704398539; x=1705003339; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=9jDsDfmbTpiQpvGnfOhd0ROcnisF14caf1vpRK9xqg4=; b=iohUrl8C5h73jAqPUyG8t1aerCmpxspR8w0KQV3W4gFd+irk/7aoYdctU+OLcSBovK mMOZZD37FFwBzul6Ut4Nrxpcv2c4eD0LehVW0CCamQGwM/7PEv0eb8B46txCHu1B1Oxc toUn2DwfH7nTGn+gDsS4tdmZfjQSdvltlWqrKcHP9m9YFRNO8I0e2+Ev4leXKxNrwbn/ barBsq+sAm8thgysGSjK4Q51c2Z4Z/rJM/8mkohUnCqy1z/bBbbZkqyrKgq8Y3a6I9tR RZSvWCI1Lk/wSxGoQQh6OJW6J2mwRP5l8ghlNFToWZHSbuiOl1GYa/npdLH6eGOyqbYk 0GVg== X-Gm-Message-State: AOJu0YzefbhZtJ2rGuTdX+Kjb6wvsAJMTVqy4mpeZVg9R827MGSqf+Gy 1Djz2CcdnH5tWL0RcmBqLSGNXmwx7oLbDiNvTHoymX9mHQWLZ11e X-Received: by 2002:a05:600c:1912:b0:40d:6841:14cf with SMTP id j18-20020a05600c191200b0040d684114cfmr644099wmq.112.1704398539554; Thu, 04 Jan 2024 12:02:19 -0800 (PST) Received: from mail-ej1-f46.google.com (mail-ej1-f46.google.com. [209.85.218.46]) by smtp.gmail.com with ESMTPSA id e23-20020a170906249700b00a2327e826ccsm16213ejb.201.2024.01.04.12.02.17 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 04 Jan 2024 12:02:18 -0800 (PST) Received: by mail-ej1-f46.google.com with SMTP id a640c23a62f3a-a28d25253d2so99055366b.0 for ; Thu, 04 Jan 2024 12:02:17 -0800 (PST) X-Received: by 2002:a17:907:360b:b0:a1d:932f:9098 with SMTP id bk11-20020a170907360b00b00a1d932f9098mr716728ejc.97.1704398537679; Thu, 04 Jan 2024 12:02:17 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240103203246.115732ec@gandalf.local.home> <20240104014837.GO1674809@ZenIV> <20240103212506.41432d12@gandalf.local.home> <20240104043945.GQ1674809@ZenIV> <20240104100544.593030e0@gandalf.local.home> <20240104182502.GR1674809@ZenIV> <20240104141517.0657b9d1@gandalf.local.home> In-Reply-To: From: Linus Torvalds Date: Thu, 4 Jan 2024 12:02:00 -0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] tracefs/eventfs: Use root and instance inodes as default ownership To: Steven Rostedt Cc: Al Viro , LKML , Linux Trace Kernel , Masami Hiramatsu , Mathieu Desnoyers , Christian Brauner , linux-fsdevel@vger.kernel.org, Greg Kroah-Hartman , Jonathan Corbet , linux-doc@vger.kernel.org Content-Type: text/plain; charset="UTF-8" On Thu, 4 Jan 2024 at 11:35, Linus Torvalds wrote: >> > Which is *NOT* the inode, because the 'struct file' has other things > in it (the file position, the permissions that were used at open time > etc, close-on-exec state etc etc). That close-on-exec thing was a particularly bad example of things that are in the 'struct file', because it's in fact the only thing that *isn't* in 'struct file' and is associated directly with the 'int fd'. But hopefully the intent was clear despite me picking a particularly bad example. Linus