Re: [PATCH v2] prctl: Get private anonymous memory region name

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 26.11.23 14:56, Oleg Nesterov wrote:
On 11/26, Rong Tao wrote:

then the PR_GET_VMA interface should be provided accordingly,
which is necessary, as the userspace program usually wants to know what
VMA name it has configured for the anonymous page.

I don't really understand the use-case for PR_GET_VMA ...


Can't we simply read "/proc/PID/maps" and just have that information from there?

Also, I don't understand the exact use case, that should be clarified -- especially, why the existing way is insufficient.

--
Cheers,

David / dhildenb





[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux