|
From: <sv...@va...> - 2006-05-10 06:14:19
|
Author: njn
Date: 2006-05-09 19:46:01 +0100 (Tue, 09 May 2006)
New Revision: 5890
Log:
Add a comment.
Modified:
trunk/coregrind/m_aspacemgr/aspacemgr.c
Modified: trunk/coregrind/m_aspacemgr/aspacemgr.c
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/coregrind/m_aspacemgr/aspacemgr.c 2006-05-09 09:07:53 UTC (rev =
5889)
+++ trunk/coregrind/m_aspacemgr/aspacemgr.c 2006-05-09 18:46:01 UTC (rev =
5890)
@@ -2108,6 +2108,7 @@
seg.hasW =3D toBool(prot & VKI_PROT_WRITE);
seg.hasX =3D toBool(prot & VKI_PROT_EXEC);
if (!(flags & VKI_MAP_ANONYMOUS)) {
+ // Nb: We ignore offset requests in anonymous mmaps (see bug #1267=
22)
seg.offset =3D offset;
if (get_inode_for_fd(fd, &dev, &ino, &mode)) {
seg.dev =3D dev;
|