--- - branch: MAIN date: Fri Nov 27 16:50:02 UTC 2020 files: - new: '1.6' old: '1.5' path: src/tests/lib/libc/string/t_memmem.c pathrev: src/tests/lib/libc/string/t_memmem.c@1.6 type: modified id: 20201127T165002Z.79b91365acd4071220fcdf9546cc961b0d245abb log: | map enough space for both the page we write and the guard so that we make sure we own the guard page before we set its protection to none. This fixes random SEGVs where the page we set protection to none probably belonged to the dynamic linker. Reported by gson@ module: src subject: 'CVS commit: src/tests/lib/libc/string' unixtime: '1606495802' user: christos