Firewall Wizards mailing list archives
Stack size
From: Cat Okita <cat () reptiles org>
Date: Sat, 26 Apr 2003 12:54:13 -0400 (EDT)
In the process of doing some trivial (and admittedly sloppy) programming recently, it became apparent that OSX has a surprisingly low stack size of 512K (measured via getrlimit, to show the current (soft) limit, and the hard limit). Checking other (albeit not the same hardware architecture) systems for curiousity, it seems that it's much more common to have a stack size of 8Mb. Is there any particular reason why it would be advantageous to have such a small stack size? Are there any particular security concerns about changing the stack size? cheers! [0] OS soft/hard ----- ------ OSX 0/524288 (ppc-g4) Linux 2.4.9-34 8388608/4294967295 (intel) Solaris 2.6 8388608/2147479552 (sun4m) FBSD 4.8 67108864/0 (intel) Solaris 2.8 8683520/133464064 (intel) ========================================================================== "A cat spends her life conflicted between a deep, passionate and profound desire for fish and an equally deep, passionate and profound desire to avoid getting wet. This is the defining metaphor of my life right now." _______________________________________________ firewall-wizards mailing list firewall-wizards () honor icsalabs com http://honor.icsalabs.com/mailman/listinfo/firewall-wizards
Current thread:
- Stack size Cat Okita (Apr 26)
- Re: Stack size Chuck Swiger (Apr 27)