From: nshimizu@et.u-tokai.ac.jp (Naohiko Shimizu)
Subject: Stack limit
Date: 2000/01/26 [thread overview]
Message-ID: <86lkut$d7t$1@news.cc.u-tokai.ac.jp> (raw)
The stack limit is set in the
/usr/src/linux/include/asm-alpha/resources.h
I found that the definition was corrected in some architectures.
But for alpha the limit is set wrong.
Where sould I contact to correct the file?
I will show the grep result of _STK_LIM in the 2.2.14 source.
asm-alpha/resource.h: {_STK_LIM, _STK_LIM}, /* RLIMIT_STACK */ \
asm-arm/resource.h: { _STK_LIM, _STK_LIM }, \
asm-i386/resource.h: { _STK_LIM, LONG_MAX }, \
asm-m68k/resource.h: {_STK_LIM, LONG_MAX}, \
asm-mips/resource.h: {_STK_LIM, _STK_LIM}, \
asm-ppc/resource.h: {_STK_LIM, LONG_MAX}, /* RLIMIT_STACK */ \
asm-s390/resource.h: { _STK_LIM, LONG_MAX }, \
asm-sparc/resource.h: {LONG_MAX, LONG_MAX}, {_STK_LIM, LONG_MAX}, \
asm-sparc64/resource.h: {LONG_MAX, LONG_MAX}, {_STK_LIM, LONG_MAX}, \
asm/resource.h: {_STK_LIM, _STK_LIM}, /* RLIMIT_STACK */ \
The RLMIIT_STACK sould _STK_LIM, LONG_MAX but in some architectures
The RLMIIT_STACK sould _STK_LIM, LONG_MAX but in some architectures
it is _STK_LIM,_STK_LIM.
It forces users not to use more than 8MB of stack area.
Thank you in advance,
Naohiko Shimizu
Dept. Communication Engr./Univ. TOKAI.
1117 Kitakaname Hiratsuka 259-12 Japan
TEL.+81-463-58-1211(ext. 4084) FAX.+81-463-58-8320
<URL http://shimizu-lab.et.u-tokai.ac.jp/>
reply other threads:[~2000-01-26 5:00 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox