]> git.ipfire.org Git - thirdparty/util-linux.git/commit
lsns: ignore ESRCH errors reported when accessing files under /proc
authorMasatake YAMATO <yamato@redhat.com>
Fri, 7 Jun 2024 19:54:03 +0000 (04:54 +0900)
committerMasatake YAMATO <yamato@redhat.com>
Fri, 7 Jun 2024 20:00:09 +0000 (05:00 +0900)
commited61f54dcd61130658335a2de97e06453af3fdde
treeba9ffd30b81754b76d184da5376b3ecd853ab1c3
parent41e7686c9ad1ea7892b9d8941c266869bf6a28dd
lsns: ignore ESRCH errors reported when accessing files under /proc

Fix #2799.

If a process is gone, system calls accessing files under /proc can
return ESRCH.

Suggested by Johannes Edmeier (@joshiste).
Signed-off-by: Masatake YAMATO <yamato@redhat.com>
sys-utils/lsns.c