Date: Sun, 20 Sep 2009 12:40:56 +0000 (UTC) From: Konstantin Belousov <kib@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/vm vm_mmap.c Message-ID: <200909201241.n8KCfDxv048960@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
kib 2009-09-20 12:40:56 UTC FreeBSD src repository Modified files: sys/vm vm_mmap.c Log: SVN rev 197348 on 2009-09-20 12:40:56Z by kib Old (a.out) rtld attempts to mmap zero-length region, e.g. when bss of the linked object is zero-length. More old code assumes that mmap of zero length returns success. For a.out and pre-8 ELF binaries, allow the mmap of zero length. Reported by: tegge Reviewed by: tegge, alc, jhb MFC after: 3 days Revision Changes Path 1.234 +3 -1 src/sys/vm/vm_mmap.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200909201241.n8KCfDxv048960>