Re: [RFC PATCH 5/5] mm: introduce MADV_DOEXEC

2020-07-28 Thread Steven Sistare
On 7/28/2020 9:22 AM, Kirill Tkhai wrote: > On 27.07.2020 20:11, Anthony Yznaga wrote: >> madvise MADV_DOEXEC preserves a memory range across exec. Initially >> only supported for non-executable, non-stack, anonymous memory. >> MADV_DONTEXEC reverts the effect of a previous MADV_DOXEXEC call and >

Re: [RFC PATCH 5/5] mm: introduce MADV_DOEXEC

2020-07-28 Thread Kirill Tkhai
On 27.07.2020 20:11, Anthony Yznaga wrote: > madvise MADV_DOEXEC preserves a memory range across exec. Initially > only supported for non-executable, non-stack, anonymous memory. > MADV_DONTEXEC reverts the effect of a previous MADV_DOXEXEC call and > undoes the preservation of the range. After a

[RFC PATCH 5/5] mm: introduce MADV_DOEXEC

2020-07-27 Thread Anthony Yznaga
madvise MADV_DOEXEC preserves a memory range across exec. Initially only supported for non-executable, non-stack, anonymous memory. MADV_DONTEXEC reverts the effect of a previous MADV_DOXEXEC call and undoes the preservation of the range. After a successful exec call, the behavior of all ranges r