Re: [PATCH v2 0/9] ioctl()-based API to query VMAs from /proc/<pid>/maps
From: Andrew Morton
Date: Fri May 24 2024 - 13:32:25 EST
On Thu, 23 May 2024 21:10:22 -0700 Andrii Nakryiko <andrii@xxxxxxxxxx> wrote:
> Implement binary ioctl()-based interface to /proc/<pid>/maps file
Why an ioctl rather than a read() of (say) a sysfs file?