diff options
author | alc <alc@FreeBSD.org> | 2003-08-19 18:20:34 +0000 |
---|---|---|
committer | alc <alc@FreeBSD.org> | 2003-08-19 18:20:34 +0000 |
commit | b97ad4e18b7c77b56c1de1f9c206f356ae087f58 (patch) | |
tree | f92a99ad82820b45792533ba4dc6524a660b71e0 /lib/libc/gen/gethostname.c | |
parent | cd52f17217f177a388beea838368fa98b1bf40c2 (diff) | |
download | FreeBSD-src-b97ad4e18b7c77b56c1de1f9c206f356ae087f58.zip FreeBSD-src-b97ad4e18b7c77b56c1de1f9c206f356ae087f58.tar.gz |
Eliminate a possible race condition for multithreaded applications in
_pmap_allocpte(): Guarantee that the page table page is zero filled before
adding it to the directory. Otherwise, a 2nd, 3rd, etc. thread could
access a nearby virtual address and use garbage for the address
translation.
Discussed with: peter, tegge
Diffstat (limited to 'lib/libc/gen/gethostname.c')
0 files changed, 0 insertions, 0 deletions