]> git.ipfire.org Git - thirdparty/util-linux.git/commit
lsfd: use one function to all symlinks
authorKarel Zak <kzak@redhat.com>
Wed, 8 Sep 2021 12:32:31 +0000 (14:32 +0200)
committerKarel Zak <kzak@redhat.com>
Wed, 6 Oct 2021 09:01:54 +0000 (11:01 +0200)
commit174baf3b9b41301e970b002955eb869ed9f0e25a
treedfe805b6b3f262edaade22268b98f5e2b03abb71
parentae838009d24b411203ee5e43c0a81d658dda2722
lsfd: use one function to all symlinks

This commit introduces collect_file_symlink() to gather info from
arbitrary symlink (e.g. /proc/#/exe, /proc/#/fd/1).

Signed-off-by: Karel Zak <kzak@redhat.com>
misc-utils/lsfd.c