]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-36648: fix mmap issue for VxWorks (GH-12394)
authorLihua Zhao <44661095+LihuaZhao@users.noreply.github.com>
Tue, 21 May 2019 10:50:14 +0000 (18:50 +0800)
committerVictor Stinner <vstinner@redhat.com>
Tue, 21 May 2019 10:50:14 +0000 (12:50 +0200)
commit4fb15021890d327023aefd95f5a84ac33b037d19
treedd9a33b6025d64f176cff3823c9555ffa9e58af0
parentf2d7ac7e5bd821e29e0fcb78a760a282059ae000
bpo-36648: fix mmap issue for VxWorks (GH-12394)

The mmap module set MAP_SHARED flag when map anonymous memory, however VxWorks
only support MAP_PRIVATE when map anonymous memory, this commit clear MAP_SHARED
and set MAP_PRIVATE.
Misc/NEWS.d/next/Library/2019-03-18-14-25-36.bpo-31904.ds3d67.rst [new file with mode: 0644]
Modules/mmapmodule.c