diff options
author | Cody Maloney <cmaloney@users.noreply.github.com> | 2024-11-22 14:55:32 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-22 14:55:32 (GMT) |
commit | 46f8a7bbdbb02cafaa00f7bb9478d3d27affc57a (patch) | |
tree | e1bce0ce52eebcb27f91431597ae7f7bf7b37867 /Doc | |
parent | 0a1944cda8504ba0478a51075eba540576570336 (diff) | |
download | cpython-46f8a7bbdbb02cafaa00f7bb9478d3d27affc57a.zip cpython-46f8a7bbdbb02cafaa00f7bb9478d3d27affc57a.tar.gz cpython-46f8a7bbdbb02cafaa00f7bb9478d3d27affc57a.tar.bz2 |
gh-127076: Ignore memory mmap in FileIO testing (#127088)
`mmap`, `munmap`, and `mprotect` are used by CPython for memory
management, which may occur in the middle of the FileIO tests. The
system calls can also be used with files, so `strace` includes them
in its `%file` and `%desc` filters.
Filter out the `mmap` system calls related to memory allocation for the
file tests. Currently FileIO doesn't do `mmap` at all, so didn't add
code to track from `mmap` through `munmap` since it wouldn't be used.
For now if an `mmap` on a fd happens, the call will be included (which
may cause test to fail), and at that time support for tracking the
address throug `munmap` could be added.
Diffstat (limited to 'Doc')
0 files changed, 0 insertions, 0 deletions