Re: 4096 byte limit to /proc/PID/environ ?

From: H. Peter Anvin
Date: Wed May 24 2006 - 13:56:03 EST


Followup to: <447490EF.8010000@xxxxxxxxxxxxxxxxxx>
By author: James Pearson <james-p@xxxxxxxxxxxxxxxxxx>
In newsgroup: linux.dev.kernel
>
> I'm not worried about that - more the fact that when I do:
>
> % cat /proc/$$/environ | wc -c
> 4096
> % env | wc -c
> 7329
>
> /proc/PID/environ is truncated ...
>

Funny enough, I was looking at this yesterday. I think there is a
pretty clean solution for it, I just haven't had a chance to attack it
yet.

-hpa

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/