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

Christoph Hellwig
2020-08-14T05:28:07Z

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.