From a50c624dedb6e70f8ded603dff9ac59a63399d0d Mon Sep 17 00:00:00 2001 From: Nicholas Nethercote Date: Tue, 9 May 2006 18:46:01 +0000 Subject: [PATCH] Add a comment. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5890 --- coregrind/m_aspacemgr/aspacemgr.c | 1 + 1 file changed, 1 insertion(+) 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; -- 2.47.2