summaryrefslogtreecommitdiff
path: root/libc/test/src/sys/mman/linux/msync_test.cpp
AgeCommit message (Collapse)Author
2025-10-15libc: Introduce calls to sysconf to get page size.Peter Collingbourne
sysconf(_SC_PAGESIZE) is implemented now. Reviewers: michaelrj-google, aaronmondal, rupprecht, keith Reviewed By: michaelrj-google Pull Request: https://github.com/llvm/llvm-project/pull/163462
2025-10-06[libc] Simplify mman tests (#161748)Michael Jones
Previously they called sysconf and capget. Those were blocking adding bazel rules for those tests since sysconf isn't done.
2025-05-28[libc] Migrate sys/ tests to ErrnoCheckingTest. (#141871)Alexey Samsonov
See PR #132823 for a previous change to sys/epoll tests, and prior changes before that. ErrnoCheckingTest ensures that errno is properly reset at the beginning of the test case, and is validated at the end of it. This change removes many instances of manual errno manipulation.
2024-11-05[libc][NFC] Correct test header inclusion, license (#114604)Michael Jones
Some tests were including LibcTest.h directly. Instead you should include Test.h which does proper indirection for other test frameworks we support (zxtest, gtest). Also added some license headers to tests that were missing them.
2024-03-10[libc][mman] Implement msync (#84700)Schrodinger ZHU Yifan
Implement `msync` as specified in: 1. https://www.man7.org/linux/man-pages/man2/msync.2.html 2. https://pubs.opengroup.org/onlinepubs/9699919799/