mmap: accept non-PROT_WRITE MAP_SHARED mappingsCurrently we don't accept writable file mmap()s, as there is nosystem in place to guarantee dirty buffers would make it back todisk. But we can actu
mmap: accept non-PROT_WRITE MAP_SHARED mappingsCurrently we don't accept writable file mmap()s, as there is nosystem in place to guarantee dirty buffers would make it back todisk. But we can actually accept MAP_SHARED for PROT_READ mappings,meaning the ranges aren't writable at all (and no private copy ismade as with MAP_PRIVATE), as it turns out a fairly large class ofusage. . fail writable MAP_SHARED mappings at runtime . reduces some minix-specific patches . lets binutils gold build on minix without further patchingChange-Id: If2896c0a555328ac5b324afa706063fc6d86519e
show more ...
Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC) - Fix for possible unset uid/gid in toproto - Fix for default mtree style - Update libelf - Importing libexecinfo - Resynchronize GCC, mpc, gm
Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC) - Fix for possible unset uid/gid in toproto - Fix for default mtree style - Update libelf - Importing libexecinfo - Resynchronize GCC, mpc, gmp, mpfr - build.sh: Replace params with show-params. This has been done as the make target has been renamed in the same way, while a new target named params has been added. This new target generates a file containing all the parameters, instead of printing it on the console. - Update test48 with new etc/services (Fix by Ben Gras <ben@minix3.org) get getservbyport() out of the inner loopChange-Id: Ie6ad5226fa2621ff9f0dee8782ea48f9443d2091
drop the minix_ prefixes for mmap and munmapalso cleanup of various minix-specific changes, cleanup ofmmap-related testing.Change-Id: I289a4fc50cf8a13df4a6082038d860853a4bd024
Importing usr.bin/msgcMinix-specific changes were needed in msg_sys.def: * use minix_mmap()/minix_munmap() since mmap()/munmap() aren't defined on Minix. * use MAP_PRIVATE flag since MAP_SHA
Importing usr.bin/msgcMinix-specific changes were needed in msg_sys.def: * use minix_mmap()/minix_munmap() since mmap()/munmap() aren't defined on Minix. * use MAP_PRIVATE flag since MAP_SHARED isn't defined on Minix.Tested with usr.bin/menuc/testm.Change-Id: I1c463e7b0623036050adb6a9079c6747e1c1e084