Messages in this thread | | | Date | Wed, 19 Sep 2007 20:35:17 +0200 | From | Mikael Pettersson <> | Subject | Re: [PATCH -mm] Don't truncate /proc/PID/environ at 4096 characters |
| |
H. Peter Anvin writes: > Mikael Pettersson wrote: > > On Wed, 19 Sep 2007 14:35:29 +0100, James Pearson wrote: > >> /proc/PID/environ currently truncates at 4096 characters, patch based on > >> the /proc/PID/mem code. > > > > Does /proc/PID/mem even work? If I do `strace cat /proc/PID/mem > /dev/null' > > for a known good PID, the first read() from /proc/PID/mem fails with ESRCH, > > Of course it does. Address zero isn't typically mapped.
Indeed. My bad :-( - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |