Add MAP_STACK to mmap module (#10792)

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
This commit is contained in:
Nikita SobolevandAlex Waygood authored and GitHub committed 2023-09-28 11:12:41 +01:00
1 parent 99ce091f17
commit c9835481e3
3 files changed
+2 -2

No files matched your search

+2
View File
@@ -16,6 +16,8 @@ if sys.platform == "linux":
MAP_EXECUTABLE: int
if sys.version_info >= (3, 10):
MAP_POPULATE: int
if sys.version_info >= (3, 11) and sys.platform != "win32" and sys.platform != "darwin":
MAP_STACK: int
if sys.platform != "win32":
MAP_ANON: int
@@ -1,5 +1,4 @@
_?curses.color_pair
mmap.MAP_STACK
(os|posix).sendfile
signal.sigtimedwait
signal.sigwaitinfo
@@ -2,7 +2,6 @@ _?curses.color_pair
_posixsubprocess.fork_exec
(os|posix).sendfile
(os|posix).setns
mmap.MAP_STACK
resource.prlimit
signal.sigtimedwait
signal.sigwaitinfo