]> git.ipfire.org Git - thirdparty/util-linux.git/commit
lsfd: add reference to proc from file
authorKarel Zak <kzak@redhat.com>
Thu, 2 Sep 2021 12:30:58 +0000 (14:30 +0200)
committerKarel Zak <kzak@redhat.com>
Wed, 6 Oct 2021 09:01:54 +0000 (11:01 +0200)
commit34f3fd1ad8ac9118fb1de5cf01789545f1cdc2a9
treefb15fac50722342e96e4bf3e5a85944f3eac405e
parent7444424d088ba623874559cb29e77ffd6733ffcd
lsfd: add reference to proc from file

* add to file struct reference to process
* add file to the list of the process' files in new_file()

This makes things more straightforward.

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