]> git.ipfire.org Git - thirdparty/util-linux.git/commit
lsfd: consider 64bit addresses when scanning /proc/pid/map_files dir
authorMasatake YAMATO <yamato@redhat.com>
Wed, 30 Nov 2022 05:55:32 +0000 (14:55 +0900)
committerMasatake YAMATO <yamato@redhat.com>
Wed, 30 Nov 2022 05:55:32 +0000 (14:55 +0900)
commit115c02fe88941ad296e1fced13a70de5ee5f0f87
treee2fcfc28c4ea78de456ec10fc9fc7d8fb74411b2
parent22147e08c98731a9c5fe284ab3063b46347ec579
lsfd: consider 64bit addresses when scanning /proc/pid/map_files dir

Close #1930.

The original code assumed 48bit addresses. This assumption came
from linux running on x86_64. As reported in #1930, Linux on
sparc64 uses 64bit addresses.

Tested-by: Anatoly Pugachev <matorola@gmail.com>
Signed-off-by: Masatake YAMATO <yamato@redhat.com>
misc-utils/lsfd.c