]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Add a comment.
authorNicholas Nethercote <njn@valgrind.org>
Tue, 9 May 2006 18:46:01 +0000 (18:46 +0000)
committerNicholas Nethercote <njn@valgrind.org>
Tue, 9 May 2006 18:46:01 +0000 (18:46 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5890

coregrind/m_aspacemgr/aspacemgr.c

index 6936981bbbe755924fbf0c40b4678d084d831833..0538fe62accc341ff0ffd49f59337cb354fe0b35 100644 (file)
@@ -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;