* [PATCH] 2.6.13 - output of /proc/maps on nommu systems is incomplete
@ 2005-10-06 4:40 David McCullough
2005-10-06 10:36 ` David Howells
0 siblings, 1 reply; 2+ messages in thread
From: David McCullough @ 2005-10-06 4:40 UTC (permalink / raw)
To: Linux Kernel List; +Cc: dhowells
Hi all,
Simple patch against 2.6.13 for /proc/maps on nommu systems.
Currently you do not get all the map entries because the start
function doesn't index into the list using the value of "pos".
Cheers,
Davidm
Signed-off-by: David McCullough <davidm@snapgear.com>
Index: fs/proc/nommu.c
===================================================================
RCS file: /cvs/sw/linux-2.6.x/fs/proc/nommu.c,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 nommu.c
--- fs/proc/nommu.c 3 Mar 2005 00:45:41 -0000 1.1.1.1
+++ fs/proc/nommu.c 6 Oct 2005 04:25:30 -0000
@@ -91,6 +91,7 @@ static void *nommu_vma_list_start(struct
next = _rb;
break;
}
+ pos--;
}
return next;
--
David McCullough, davidm@cyberguard.com.au, Custom Embedded Solutions + Security
Ph:+61 734352815 Fx:+61 738913630 http://www.uCdot.org http://www.cyberguard.com
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] 2.6.13 - output of /proc/maps on nommu systems is incomplete
2005-10-06 4:40 [PATCH] 2.6.13 - output of /proc/maps on nommu systems is incomplete David McCullough
@ 2005-10-06 10:36 ` David Howells
0 siblings, 0 replies; 2+ messages in thread
From: David Howells @ 2005-10-06 10:36 UTC (permalink / raw)
To: David McCullough; +Cc: Linux Kernel List, dhowells
David McCullough <davidm@snapgear.com> wrote:
> Simple patch against 2.6.13 for /proc/maps on nommu systems.
> Currently you do not get all the map entries because the start
> function doesn't index into the list using the value of "pos".
Looks reasonable.
Signed-Off-By: David Howells <dhowells@redhat.com>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-10-06 10:37 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-06 4:40 [PATCH] 2.6.13 - output of /proc/maps on nommu systems is incomplete David McCullough
2005-10-06 10:36 ` David Howells
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox