]> git.ipfire.org Git - thirdparty/util-linux.git/commit
lsfd: add --sysroot, use lib/path.c
authorKarel Zak <kzak@redhat.com>
Wed, 1 Sep 2021 15:36:29 +0000 (17:36 +0200)
committerKarel Zak <kzak@redhat.com>
Wed, 6 Oct 2021 09:01:54 +0000 (11:01 +0200)
commit6fb6f5495fc8667ef845bd0ee83736f11f51b2e4
tree1fb80ab3a741a5d90c3f84702d6020e7f54edc26
parent73ee7d4c219700c0a64b4e812e7a04504ad15729
lsfd: add --sysroot, use lib/path.c

* use struct path_cxt to read from /procfs

* add --sysroot to redirect lsfd to alternative location (necessary
  for regression tests)

* merge collect_procs() into collect()

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