From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-lf1-f47.google.com (mail-lf1-f47.google.com [209.85.167.47]) (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 430062C687 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux-foundation.org header.i=@linux-foundation.org header.b="TcAgY24T" Received: by mail-lf1-f47.google.com with SMTP id 2adb3069b0e04-50ea9daac4cso1000758e87.3 for ; Thu, 04 Jan 2024 12:02:20 -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=NKKMmOJAZ/06YtvzBxoT+Dx2hGQu0BQZzwwxVw3KQhzEuukmlYMbdaPUr+ma9otBL9 ZBlH99gay/Vc6Q+DrXb5fRDd8CnnUx6huwY41DQ2JMTi4S+aZGst3YHngC85evY9ojtX vVjc4ZXZhm9M2m0cY2pVXD0jZwTEBK63lJy4X/HVL4eQNu5NCdwwBHq5vXBZYmS5py87 xuXa8LCSKA1IQYG5ifBzzHSHtrBhT3z7YuSy9zR8pxUWJtajV/yhcGMHmsqkFFTE9IEO eUPpHflybam1NGAVpXiYrP95w9wIId6kzu9R+ii1IKvdvhTIb2BT2QLO9LfaqQMOdvLn H2pQ== X-Gm-Message-State: AOJu0Yy5kGgI7U3/n9c7GMCCul8nq9QrjZ/uRxDExKjf5MjpV9h4L3BG 3IHLmInYorrJCdKn4k1z33S9EHv+jLg75rCLx6PqeoWm8WHB8mgW X-Google-Smtp-Source: AGHT+IF9bHaykoW4zVo5ypxx6XEMo6nBmCp8tn6zlz/UyAZGkYDKI0gXPK1ybNibUaDNfTg7JQ6EDg== X-Received: by 2002:ac2:5973:0:b0:50e:3907:46b7 with SMTP id h19-20020ac25973000000b0050e390746b7mr520125lfp.107.1704398539103; Thu, 04 Jan 2024 12:02:19 -0800 (PST) Received: from mail-ed1-f53.google.com (mail-ed1-f53.google.com. [209.85.208.53]) by smtp.gmail.com with ESMTPSA id q25-20020a170906a09900b00a2744368bdesm22407ejy.82.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-ed1-f53.google.com with SMTP id 4fb4d7f45d1cf-55719cdc0e1so432321a12.1 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-fsdevel@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