Re: [PATCH v4 2/2] fcntl: introduce F_SET_DESCRIPTION

From: Christoph Hellwig
Date: Fri Aug 14 2020 - 01:28:09 EST


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.