Thread (5 messages) flat view 5 messages, 2 authors, 2020-08-14

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

From: Christoph Hellwig <hch@infradead.org>
Date: 2020-08-14 05:28:07
Also in: linux-fsdevel, lkml

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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help