Re: [PATCH] user: Extract common MMAP API to 'user/mmap.h'

2025-01-18 Thread Warner Losh
On Fri, Jan 17, 2025 at 10:13 AM Philippe Mathieu-Daudé wrote: > Keep common MMAP-related declarations in a single place. > > Note, this disable ThreadSafetyAnalysis on Linux for: > - mmap_fork_start() > - mmap_fork_end(). > > Signed-off-by: Philippe Mathieu-Daudé > --- > bsd-user/qemu.h

[PATCH] user: Extract common MMAP API to 'user/mmap.h'

2025-01-17 Thread Philippe Mathieu-Daudé
Keep common MMAP-related declarations in a single place. Note, this disable ThreadSafetyAnalysis on Linux for: - mmap_fork_start() - mmap_fork_end(). Signed-off-by: Philippe Mathieu-Daudé --- bsd-user/qemu.h| 12 +--- include/user/mmap.h| 33 +