From: Nicholas Nethercote Date: Tue, 9 May 2006 18:46:01 +0000 (+0000) Subject: Add a comment. X-Git-Tag: svn/VALGRIND_3_2_0~69 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a50c624dedb6e70f8ded603dff9ac59a63399d0d;p=thirdparty%2Fvalgrind.git Add a comment. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5890 --- diff --git a/coregrind/m_aspacemgr/aspacemgr.c b/coregrind/m_aspacemgr/aspacemgr.c index 6936981bbb..0538fe62ac 100644 --- a/coregrind/m_aspacemgr/aspacemgr.c +++ b/coregrind/m_aspacemgr/aspacemgr.c @@ -2108,6 +2108,7 @@ VG_(am_notify_client_mmap)( Addr a, SizeT len, UInt prot, UInt flags, seg.hasW = toBool(prot & VKI_PROT_WRITE); seg.hasX = toBool(prot & VKI_PROT_EXEC); if (!(flags & VKI_MAP_ANONYMOUS)) { + // Nb: We ignore offset requests in anonymous mmaps (see bug #126722) seg.offset = offset; if (get_inode_for_fd(fd, &dev, &ino, &mode)) { seg.dev = dev;