1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-06 13:10:33 +02:00
Files
guix/tests
Maxim Cournoyer e1994a0214 syscalls: Add mmap support.
* guix/build/syscalls.scm (PROT_NONE, PROT_READ, PROT_WRITE, PROT_EXEC)
(PROT_SEM, MAP_SHARED, MAP_PRIVATE, MAP_FAILED)
(MS_ASYNC, MS_INVALIDATE, MS_SYNC)
(%mmap-guardian, %unmapped-bytevectors): New variables.
(unmapped-bytevector?, pump-mmap-guardian, %mmap, mmap, %munmap, munmap)
(%msync, msync): New procedures.
* guix/build/io.scm: New file.
* Makefile.am: Register it.
* tests/syscalls.scm (strace-output): New variable.
("mmap and munmap", "file->bytevector, reading", "file->bytevector, writing")
("manual munmap does not lead to double free"): New tests.

Change-Id: I19ec687899eda635559e91200dd8d98669b0e35f
2025-10-30 16:13:03 +09:00
..
2017-01-26 13:49:56 +01:00
2025-08-31 12:39:24 +02:00
2020-12-09 22:25:17 +01:00
2024-11-12 23:40:39 +01:00
2021-04-12 18:42:22 +02:00
2025-10-29 11:51:24 +09:00
2025-09-30 16:52:07 +09:00
2019-03-24 00:13:53 +01:00
2025-10-24 16:42:54 +02:00
2025-10-30 16:13:03 +09:00
2019-06-14 21:57:39 +02:00
2017-11-17 10:47:49 +01:00