classification
Title: madvise should be accessible outside of mmap instance
Type: Stage:
Components: Library (Lib) Versions: Python 3.10, Python 3.9, Python 3.8
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: ngie
Priority: normal Keywords:

Created on 2020-05-26 22:30 by ngie, last changed 2020-05-26 22:31 by ngie.

Messages (1)
msg370036 - (view) Author: Enji Cooper (ngie) * Date: 2020-05-26 22:30
madvise can be used when manipulating mmap'ed pages, but it can also be used when protecting processes and other things.

Having madvise be available in mmap as a function would be helpful instead of having to jump through a lot of hoops to run `MADV_PROTECT` on a process.
History
Date User Action Args
2020-05-26 22:31:15ngiesetcomponents: + Library (Lib)
2020-05-26 22:30:35ngiecreate