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

H. Peter Anvin
2006-05-24T17:56:51Z

Followup to: <447490EF.8010000@moving-picture.com>
By author: James Pearson <james-p@moving-picture.com>
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