Re: [BUG] Linux 2.6.23-rc9 and MAX_ARG_PAGES

From: Linus Torvalds
Date: Thu Oct 04 2007 - 17:22:24 EST




On Thu, 4 Oct 2007, Mathieu Chouquet-Stringer wrote:
>
> Anything else you'd like me to try?

Well, since others definitely don't see this, including me, and I can do
things like 62MB exec arrays:

[torvalds@woody linux]$ echo $(find /home/torvalds/) | wc
1 883304 63000962

without getting any overflows (much less just on the kernel sources, which
is less than a megabyte of pathnames), I think it would be good if you
were to just instrument the kernel and make it do a "printk()" when it
returns E2BIG in fs/execve.c (or the NULL returns from get_arg_page()).

Just to figure out *which* test fails for you but apparently nobody else.

Linus
-
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/