Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp7904155rdb; Thu, 4 Jan 2024 11:14:22 -0800 (PST) X-Google-Smtp-Source: AGHT+IFsiD1De/1p2M5SlCNv7rJlhhot1oBzrrvGG7iZopv1nceH8dYe4h+BORtH4xsZIQbEWBXE X-Received: by 2002:a17:902:ef82:b0:1d4:4c8c:b124 with SMTP id iz2-20020a170902ef8200b001d44c8cb124mr782829plb.60.1704395661557; Thu, 04 Jan 2024 11:14:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704395661; cv=none; d=google.com; s=arc-20160816; b=KVBgLpHKGz/JzynZ1IkPX/XreCPnaDM6qNsOyMhxEVPyLnKd8rK8tU6Wa62NDcxZoJ y52L1InyBMUsbVG0fI/3sweqx0yESsmw+OPZnihvN46u39CsIkhdAcMJXaf202Wxz0fj XVp8y2lh4ljwJDUHvNTI914G6xLmBBfSdGDtnNiSa2BelEjEzL/2KMCAfbhkqPZvr4Lh sLEpF2po1SKV9AqzO4zrmKbaE1Bgs/veacnGe6Mx/hSmX3lt7Ss6L5uok6OU/w+l3XDJ nG57FEA73sfz0bz3UfDg1vF8DSShKjXNp/lGgGihjFsmw3TUesaYyyjBwaz8OKdVNaU3 /8lw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :subject:cc:to:from:date; bh=XyULvvfEb9wSIFC4eq+zxCarYjZQqrRm0sjx+7emYPU=; fh=YMqzf+c53toiwmeI832stvk2JUw8t7Fe80Bz0d0kxPE=; b=D6TY79r5J0hDD+zpgnjifDkad+0aTUvdMiek0JRfM03CnWWAv9i0Vqs6zIjl2hO05y H/uhRKxbslpfIZu1h6AqR2CX2vK27Yhju0M/H8ZqfwVTf7c4JeagLDpt3zRweHW7wF4h bI8KEhL6P5jOrVMsQIgnHaR650zoFu0cTBB3K3eehYJYB1tvOry4HkKCTQpLUcHxCWRs NZlHrPcWnBhJACZSP2OatxqfpMe1PGy7uSdKA+7UB7sjIbYGbgTc/zKbuQpRdKnilE56 qj5t3+4hYSRKdVirqJsDVoRwZ4+DIEpfV5lRrw6gUWNSEFplgu406XqYpnj+J7DSkZ8s tojA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-17138-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-17138-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id i1-20020a17090332c100b001d3485656cbsi18637834plr.160.2024.01.04.11.14.21 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Jan 2024 11:14:21 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-17138-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-17138-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-17138-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 1F5922837A5 for ; Thu, 4 Jan 2024 19:14:21 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2DCA22C1A0; Thu, 4 Jan 2024 19:14:14 +0000 (UTC) X-Original-To: linux-kernel@vger.kernel.org Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A33092C18C; Thu, 4 Jan 2024 19:14:13 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C438FC433C7; Thu, 4 Jan 2024 19:14:11 +0000 (UTC) Date: Thu, 4 Jan 2024 14:15:17 -0500 From: Steven Rostedt To: Al Viro Cc: LKML , Linux Trace Kernel , Masami Hiramatsu , Mathieu Desnoyers , Linus Torvalds , Christian Brauner , linux-fsdevel@vger.kernel.org, Greg Kroah-Hartman , Jonathan Corbet , linux-doc@vger.kernel.org Subject: Re: [PATCH] tracefs/eventfs: Use root and instance inodes as default ownership Message-ID: <20240104141517.0657b9d1@gandalf.local.home> In-Reply-To: <20240104182502.GR1674809@ZenIV> 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> X-Mailer: Claws Mail 3.19.1 (GTK+ 2.24.33; x86_64-pc-linux-gnu) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Thu, 4 Jan 2024 18:25:02 +0000 Al Viro wrote: > Unfortunately, the terms are clumsy as hell - POSIX ends up with > "file descriptor" (for numbers) vs. "file description" (for IO > channels), which is hard to distinguish when reading and just > as hard to distinguish when listening. "Opened file" (as IO > channel) vs. "file on disc" (as collection of data that might > be accessed via said channels) distinction on top of that also > doesn't help, to put it mildly. It's many decades too late to > do anything about, unfortunately. Pity the UNIX 101 students... ;-/ Just so I understand this correctly. "file descriptor" - is just what maps to a specific inode. "file description" - is how the file is accessed (position in the file and flags associated to how it was opened) Did I get that correct? -- Steve