On Sun, 2 Jul 2023 at 14:33, Helge Deller deller@gmx.de wrote:
Actually, your changes seems to trigger...:
root@debian:~# /usr/bin/ls /usr/bin/* -bash: /usr/bin/ls: Argument list too long
So this only happens with _fairly_ long argument lists, right? Maybe your config has a 64kB page size, and normal programs never expand beyond a single page?
I bet it is because of f313c51d26aa ("execve: expand new process stack manually ahead of time"), but I don't see exactly why.
But pa-risc is the only architecture with CONFIG_STACK_GROWSUP, and while I really thought that commit should do the exact same thing as the old
#ifdef CONFIG_STACK_GROWSUP
special case, I must clearly have been wrong.
Would you mind just verifying that yes, that commit on mainline is broken for you, and the previous one works?
Linus