diff options
author | kib <kib@FreeBSD.org> | 2013-06-03 04:32:53 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2013-06-03 04:32:53 +0000 |
commit | fd6876af27798e416c5499b4a43727ab5b95630f (patch) | |
tree | 931bb9478cd334e17fd34f35de34b177cdefdb0d /tools/regression/lib/libc/stdlib/test-qsort.c | |
parent | f82ed4d643eddd388a9dc1b638f889a83c397012 (diff) | |
download | FreeBSD-src-fd6876af27798e416c5499b4a43727ab5b95630f.zip FreeBSD-src-fd6876af27798e416c5499b4a43727ab5b95630f.tar.gz |
Do not map the shared page COW. If the process wired its address
space, fork(2) would cause shadowing of the physical object and
copying of the shared page into private copy, effectively preventing
updates for the exported timehands structure and stopping the clock.
Specify the maximum allowed permissions for the page to be read and
execute, preventing write from the user mode.
Reported and tested by: <huanghwh@yahoo.com>
Sponsored by: The FreeBSD Foundation
MFC after: 2 weeks
Diffstat (limited to 'tools/regression/lib/libc/stdlib/test-qsort.c')
0 files changed, 0 insertions, 0 deletions