lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1834358b1a8642f9b46a209bad035474@AcuMS.aculab.com>
Date: Fri, 5 Jan 2024 12:02:08 +0000
From: David Laight <David.Laight@...LAB.COM>
To: "'alexs@...nel.org'" <alexs@...nel.org>, Eric Biederman
	<ebiederm@...ssion.com>, Kees Cook <keescook@...omium.org>,
	"linux-mm@...ck.org" <linux-mm@...ck.org>, "linux-kernel@...r.kernel.org"
	<linux-kernel@...r.kernel.org>
CC: Alex Shi <alexsshi@...cent.com>, "curlinhuang@...cent.com"
	<curlinhuang@...cent.com>
Subject: RE: [PATCH] execve: argument list space enlargement

From: alexs@...nel.org
> Sent: 03 January 2024 13:07
> 
> From: Alex Shi <alexsshi@...cent.com>
> 
> Wechat using too long gcc parameters, then get a strace complain:
>   execve(...) = -1 E2BIG (Argument list too long)
> Have to increase the parameter space for this, stack has enough
> space for this enlargement.

They should fix their build so that it doesn't explode.
It'll probably speed up the compiles as well since the
very long argv[] almost certainly comes from a lot of -I dir
options and they slow down the compile.

if they are -Dvar[=val] then '-include file' can be used instead.

	David

-
Registered Address Lakeside, Bramley Road, Mount Farm, Milton Keynes, MK1 1PT, UK
Registration No: 1397386 (Wales)


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ