]> git.ipfire.org Git - thirdparty/util-linux.git/commit
lsfd: add new association "pidfs"
authorMasatake YAMATO <yamato@redhat.com>
Fri, 30 Jan 2026 20:27:02 +0000 (05:27 +0900)
committerMasatake YAMATO <yamato@redhat.com>
Sun, 1 Feb 2026 19:19:43 +0000 (04:19 +0900)
commite467c18c7acaece7a871506ca699cab262c0026e
tree8d48c55fd7292ce28d66044976b259c068217f5a
parent02ff631527f2e1a7b166c786e1900928a393d983
lsfd: add new association "pidfs"

This new association is inspired by the getino command.

Output example:

  $ ./lsfd --pid=1 -Q '(ASSOC == "pidfs")'
  COMMAND PID USER ASSOC  XMODE  TYPE       SOURCE MNTID INODE NAME
  systemd   1 root pidfs ------ pidfd anon_inodefs     5     2 pid=1 comm=systemd nspid=1

Signed-off-by: Masatake YAMATO <yamato@redhat.com>
lsfd-cmd/file.c
lsfd-cmd/lsfd.c
lsfd-cmd/lsfd.h
tests/expected/lsfd/assoc-pidfs [new file with mode: 0644]
tests/ts/lsfd/assoc-pidfs [new file with mode: 0755]