Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp129655pxa; Thu, 13 Aug 2020 22:29:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzwALwgMsDPXfS5ov0jiXQ6EJINyhJO0l+mMqV1uG6PZnj2dCaIPKXQvxjW+k0y8jMTUdPz X-Received: by 2002:aa7:cf06:: with SMTP id a6mr715815edy.293.1597382960513; Thu, 13 Aug 2020 22:29:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597382960; cv=none; d=google.com; s=arc-20160816; b=Yia1WLAJ2TfZCUhCuuNp2prDkD8Qb7dLLaBkTwgBWLkj5dSM6grKMIdZYDJ7yKkeLN GmtxfNA4zfXVNqBy/rTiDt7xJDx/50GmHWGTAFLETzWJhq0DUsOWYGl6WA8E6nq26ZME OunJsJdJgIbOHLvQx/Q8b4gRPUbn9fBgWp+FkzVOLr/r/r4GrMo6q26ULEIcOk32Kae+ RMdSxmodchjMnvbXmM9IWw53ifmuhJx+1poZooKe8FjifNEcN+cKQWR3NiCGfXgtWWS7 OGizE3vWfGPnJ46rkGoDDfSu3DUXUJ5Or1xXdYyVLTG+r2ScfzeCNwh8Zv3xXebrp7SA 5zkA== 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 :dkim-signature; bh=Zum0YIlqmhHS3QFdM5uxhyHhjwPh766nrYcKVM2Z7Xc=; b=VIwUvElSD1TZVi1m/rbk7q46zqza4hjLrHxy2QHr5usiD0OMN1kwQuZw0lg9o4wDqd 4YZ+ka2mDdXRky6o7OOpi65Yo/0V1g1j9LBQxioCd+flFXgWBFfvkTCPO9evr9p+0kUt zM47hQFvMCVJufz9073kWVTovTdZprQp+I02hpUzWI6I40mvr5OVK4TWz/lAslX7N17Q 0tSjEq9aI53gxvi5XaiHDw/zY58oR2XZQFavenRpIE0Rrn/OJm/Mcs7G+8NnzFhpHm6d AHp+bttskYCv6Q5xHWGWfvJVX4TqieYvR2eYREBF+ZzlUSLqXBTx/ec0w4cN/K4Lwhy5 ogXQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=casper.20170209 header.b=eDP3xueF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q12si4578522ejs.273.2020.08.13.22.28.58; Thu, 13 Aug 2020 22:29:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=casper.20170209 header.b=eDP3xueF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726362AbgHNF2D (ORCPT + 99 others); Fri, 14 Aug 2020 01:28:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39310 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726064AbgHNF2D (ORCPT ); Fri, 14 Aug 2020 01:28:03 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 762E8C061757; Thu, 13 Aug 2020 22:28:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=Zum0YIlqmhHS3QFdM5uxhyHhjwPh766nrYcKVM2Z7Xc=; b=eDP3xueFlAEEI++oq+SQUo+kvC g+4Rzw6l7n7Yk13S85jeXb4cauZEa3kNZZ+k662zmmqNcyz7lrH6khtiPZYp/nYf/eBTGVd4WHCaV lMu4i6Nuqg8V7iDIiGs1pQt6YTBth1JIiVJa8aY8+maFUIlkarAIjG4mkcjg8JscYmN8rKthRh0tD ecLlTxqfTpAITC3vBUihZ5OZ42RspfmDAt1FwGSiNcK0mVftQq/bBvlp2bw4K4huV35wwLcMBNPmw xiQi0qTvKU6bOcMpGTZYzaGM8ISzmJFYXt58vCcmas/5jG0+wFQwqTtCB4zdLL+QtixwiusvO3S/F gySFhDOQ==; Received: from hch by casper.infradead.org with local (Exim 4.92.3 #3 (Red Hat Linux)) id 1k6SG1-0002t7-4W; Fri, 14 Aug 2020 05:28:01 +0000 Date: Fri, 14 Aug 2020 06:28:01 +0100 From: Christoph Hellwig To: Pascal Bouchareine Cc: linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-api@vger.kernel.org, Andrew Morton , Alexey Dobriyan , Al Viro , Jeff Layton , "J. Bruce Fields" Subject: Re: [PATCH v4 2/2] fcntl: introduce F_SET_DESCRIPTION Message-ID: <20200814052801.GA10141@infradead.org> References: <20200814035453.210716-1-kalou@tfz.net> <20200814035453.210716-3-kalou@tfz.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200814035453.210716-3-kalou@tfz.net> X-SRS-Rewrite: SMTP reverse-path rewritten from by casper.infradead.org. See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Aug 13, 2020 at 08:54:53PM -0700, Pascal Bouchareine wrote: > This command attaches a description to a file descriptor for > troubleshooting purposes. The free string is displayed in the > process fdinfo file for that fd /proc/pid/fdinfo/fd. > > One intended usage is to allow processes to self-document sockets > for netstat and friends to report NAK. There is no way we're going to bloat a criticial structure like struct file for some vanity information like this.