Don't truncate /proc/PID/environ at 4096 characters
authorJames Pearson <james-p@moving-picture.com>
Wed, 17 Oct 2007 06:30:17 +0000 (23:30 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Wed, 17 Oct 2007 15:43:00 +0000 (08:43 -0700)
commit315e28c8d61560e90c7d9c7c56c1b661187ab307
tree21edcc6d63a5cfb55cadfbfba9f205bb557d343c
parent3ad90ec0908e453ba89947fcf7b5f6821b6c1e0c
Don't truncate /proc/PID/environ at 4096 characters

/proc/PID/environ currently truncates at 4096 characters, patch based on
the /proc/PID/mem code.

Signed-off-by: James Pearson <james-p@moving-picture.com>
Cc: Anton Arapov <aarapov@redhat.com>
Cc: Jan Engelhardt <jengelh@computergmbh.de>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: Alexey Dobriyan <adobriyan@gmail.com>
Cc: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/proc/base.c