On Mon, Jun 24, 2024 at 11:49:43AM GMT, Josef Bacik wrote: > Currently the only way to iterate over mount entries in mount namespaces that > aren't your own is to trawl through /proc in order to find /proc/$PID/mountinfo > for the mount namespace that you want. This is hugely inefficient, so extend > both statmount() and listmount() to allow specifying a mount namespace id in > order to get to mounts in other mount namespaces. Thank you for this. It will improve the efficiency of tools such as lsns(8). Karel -- Karel Zak <kzak@xxxxxxxxxx> http://karelzak.blogspot.com