[prev in list] [next in list] [prev in thread] [next in thread] 

List:       firewall-wizards
Subject:    [fw-wiz] Stack size
From:       Cat Okita <cat () reptiles ! org>
Date:       2003-04-26 16:54:13
[Download RAW message or body]


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
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic