Re: [PATCH 2/2] exec: increase BINPRM_BUF_SIZE to 256

From: Alan Cox
Date: Fri Nov 16 2018 - 12:49:32 EST


On Mon, 12 Nov 2018 17:09:56 +0100
Oleg Nesterov <oleg@xxxxxxxxxx> wrote:

> Large enterprise clients often times run applications out of networked
> file systems where the IT mandated layout of project volumes can end up
> leading to paths that are longer than 128 characters. Bumping this up to
> the next order of two solves this problem in all but the most egregious
> case while still fitting into a 512b slab.

You also need to update the execve manual page as it explicitly documents
the 128 byte limit.

Alan