K 10 svn:author V 3 kib K 8 svn:date V 27 2012-06-14T11:20:22.904016Z K 7 svn:log V 581 Eliminate the static buffer used to read the first page of the mapped object, and eliminate the pread(2) call as well [1]. Mmap the first page of the object temporaly, and unmap it on error or last use. Potentially, this leaves one-page gap between succeeding dlopen(3), but there are other mmap(2) consumers as well. Fix several cases were the whole mapping of the object leaked on error. Use MAP_PREFAULT_READ for mmap(2) calls which map real object pages [2]. Insipired by the patch by: Ian Lepore [1] Suggested by: alc [2] MFC after: 2 weeks END