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

From: Pascal Bouchareine
Date: Fri Aug 14 2020 - 01:49:21 EST


On Thu, Aug 13, 2020 at 10:28 PM Christoph Hellwig <hch@xxxxxxxxxxxxx> wrote:
> > 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.

The useful case is for sockets - Is there a more suited place to do that?
Do you think adding a setsockopt and sk_description to struct sock
would work, or would be considered the same?