Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp3209888ybh; Sat, 25 Jul 2020 15:13:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxGMRE2c7Ol9TUtKWlJVu/Jbmcw9u/1SVNoOvv2C6YhLjs7x54Ovqj+JyP1b+2NwoZykgPc X-Received: by 2002:aa7:dd8e:: with SMTP id g14mr15484782edv.208.1595715186128; Sat, 25 Jul 2020 15:13:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595715186; cv=none; d=google.com; s=arc-20160816; b=TMjxSd/uKlRy2iAdgWgTk8EoOwjETksrXatQvAyHBb5U7SvtyAUig4GV50gtR7w/Ev beZe58B/8KCih5A6hLJq4ZiBzfwBmliytYrj6Pla6ng8n2DlBmDtUT9WHNt5u7rwvbdZ qyZ7gbA9SURJgoxtKVitPWfIl3+hmW7TgdpbrXwkK/4bnpQD6jj4v0wbP1ZSnF1k+a7c R7mahdG7l8E6VrNfevva5FzdShsvCIb08u0/F2bPsYwCFE59UByvVh+GymbtTOFP6wm8 mbRke1AQUvyllB1XR6thU0YmANZcZJCnnt2cVZUlgt6XYBlR35dj0RtfOeoxGvX/C2qx ZOMw== 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; bh=ETtrCP6ojUWvDrvk3g3x9SvovhXyoFpahhI3MP7jzE0=; b=bS0jxj5Jo137Kz3rHRKfrsUyAw/GOyGo2G/RR0WYEvWwdYxcCP4jqkn1wV6EdfSgTE aLLWAxJhJJFBTdtkCIT/VXuJPwtGRclFGqD7vymD8F8uQAr5RA69z0Sz1qdW8o6+6pQo VhFsIkqkOWCTHMsh1OpzmfnownDRwoJ5Co22SMmqsbE1paMCyypC5E7x9wIVgGjqSokg u+Lnz2iPtRzjYixhQl8ydodcANJpPs4AdMhxo/NpHppe4wNCPGOncs6d/l9Skkc2zGYk 35jKgOVydG8TjBLfwcPwIQyuFviV/47fsjY1sDVEEVQgcxVql8d6Dtl2tvP7EVkZK/Wx Ei+Q== ARC-Authentication-Results: i=1; mx.google.com; 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 rh7si1524115ejb.101.2020.07.25.15.12.42; Sat, 25 Jul 2020 15:13:06 -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; 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 S1727986AbgGYWKe (ORCPT + 99 others); Sat, 25 Jul 2020 18:10:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59014 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726926AbgGYWKd (ORCPT ); Sat, 25 Jul 2020 18:10:33 -0400 Received: from ZenIV.linux.org.uk (zeniv.linux.org.uk [IPv6:2002:c35c:fd02::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7A13EC08C5C0; Sat, 25 Jul 2020 15:10:33 -0700 (PDT) Received: from viro by ZenIV.linux.org.uk with local (Exim 4.92.3 #3 (Red Hat Linux)) id 1jzSN4-002ZNA-Lr; Sat, 25 Jul 2020 22:10:22 +0000 Date: Sat, 25 Jul 2020 23:10:22 +0100 From: Al Viro To: Pascal Bouchareine Cc: linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-api@vger.kernel.org, Alexey Dobriyan , Jeff Layton , "J. Bruce Fields" Subject: Re: [PATCH] proc,fcntl: introduce F_SET_DESCRIPTION Message-ID: <20200725221022.GQ2786714@ZenIV.linux.org.uk> References: <20200725004043.32326-1-kalou@tfz.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200725004043.32326-1-kalou@tfz.net> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jul 24, 2020 at 05:40:43PM -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 Have you even tried to test it? When will it ever free those things?