Re: [PATCH v4 1/1] exec: seal system mappings
From: Liam R. Howlett
Date: Fri Jan 17 2025 - 17:09:37 EST
* enh <enh@xxxxxxxxxx> [250117 14:35]:
...
>
> as a maintainer of a different linux libc, i've long wanted a "tell me
> everything there is to know about this vma" syscall rather than having
> to parse /proc/maps...
>
You mean an ioctl()-based API to query VMAs from /proc/<pid>/maps?
Andrii had something like that [1], check out ed5d583a88a92 ("fs/procfs:
implement efficient VMA querying API for /proc/<pid>/maps")
Regards,
Liam
[1]. https://lore.kernel.org/linux-mm/20240627170900.1672542-1-andrii@xxxxxxxxxx/