]> www.infradead.org Git - users/willy/linux.git/commit
exec: increase BINPRM_BUF_SIZE to 256
authorOleg Nesterov <oleg@redhat.com>
Wed, 5 Dec 2018 00:14:12 +0000 (11:14 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 6 Dec 2018 22:09:07 +0000 (09:09 +1100)
commit8d45102ee2b76be552667697314753394e670ad2
treef162f8fae677170511e1a33591689eee0a697fe3
parent82f06847cd125ef47f3536232d2e2ec5cd9ca510
exec: increase BINPRM_BUF_SIZE to 256

Large enterprise clients often 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.

Link: http://lkml.kernel.org/r/20181112160956.GA28472@redhat.com
Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Reported-by: Ben Woodard <woodard@redhat.com>
Reviewed-by: Andrew Morton <akpm@linux-foundation.org>
Acked-by: Michal Hocko <mhocko@suse.com>
Acked-by: Kees Cook <keescook@chromium.org>
Cc: "Eric W. Biederman" <ebiederm@xmission.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
include/uapi/linux/binfmts.h