[PATCH] __libc_alloca_cutoff (aka make mysql and others apps with very low RLIMIT_STACK setting happy)

Ulrich Drepper drepper@redhat.com
Tue Oct 8 07:11:00 GMT 2002


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jakub Jelinek wrote:

> I diddled setrlimit because people may use it to set the default
> thread stack size instead of always using pthread_attr_setstacksize.

That's completely stupid and unsupported. I wouldn't waste a single
thought about people doing something like that.  The stack limit only
applies to the initial thread.

- -- 
- --------------.                        ,-.            444 Castro Street
Ulrich Drepper \    ,-----------------'   \ Mountain View, CA 94041 USA
Red Hat         `--' drepper at redhat.com `---------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE9ooeM2ijCOnn/RHQRAmo4AKDJanYc0bWNplShIRlkWvHqE1orrQCggCuF
iOeEUMxihGS3Es0MLpRKTsk=
=X2Fg
-----END PGP SIGNATURE-----



More information about the Libc-hacker mailing list