New submission from Enji Cooper <yaneurab...@gmail.com>:

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.

----------
messages: 370036
nosy: ngie
priority: normal
severity: normal
status: open
title: madvise should be accessible outside of mmap instance
versions: Python 3.10, Python 3.8, Python 3.9

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue40786>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to