summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio/putwchar.c
diff options
context:
space:
mode:
authoralc <alc@FreeBSD.org>2004-05-25 05:51:17 +0000
committeralc <alc@FreeBSD.org>2004-05-25 05:51:17 +0000
commit49093f70b759706a2aa9472109eb92d5ff3541d2 (patch)
tree5f91f20ee19b40225e097d4e3a3f25808e3abc69 /lib/libc/stdio/putwchar.c
parentc6d294b0c872ef14793e4d0f044720e079ba37bf (diff)
downloadFreeBSD-src-49093f70b759706a2aa9472109eb92d5ff3541d2.zip
FreeBSD-src-49093f70b759706a2aa9472109eb92d5ff3541d2.tar.gz
Correct two error cases in vm_map_unwire():
1. Contrary to the Single Unix Specification our implementation of munlock(2) when performed on an unwired virtual address range has returned an error. Correct this. Note, however, that the behavior of "system" unwiring is unchanged, only "user" unwiring is changed. If "system" unwiring is performed on an unwired virtual address range, an error is still returned. 2. Performing an errant "system" unwiring on a virtual address range that was "user" (i.e., mlock(2)) but not "system" wired would incorrectly undo the "user" wiring instead of returning an error. Correct this. Discussed with: green@ Reviewed by: tegge@
Diffstat (limited to 'lib/libc/stdio/putwchar.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud