lkml.org 
[lkml]   [2001]   [Apr]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subjectalpha stack problem: resource.h
Date
Hi

Yesterday I installed 2.2.19 one of out alpha servers and I found that it
still has the same bug that we patched 2.2.14 to get rid of. In the 2.4 line
it seems to be fixed.
The bug has the affect that a unprev. user cannot increase the stack limit
even if he/she is allowed to.

This mailing list item fom Jun 12 2000 describes the problem:

http://www.uwsg.iu.edu/hypermail/linux/alpha/0006.1/0003.html

<snippit from page>

It is because wrong value in the
/usr/src/linux/include/asm-alpha/resource.h

The INIT_RLIMITS defined the RLIMIT_STACK as

{_STK_LIM, _STK_LIM}


The latter defines hard limit of the stack.
When I pointed the problem, only Intel and PPC people corrected it.
You should change the value as

{_STK_LIM, LONG_MAX}

and recompile your kernel.
It will resolve your problem.

</snippit from page>

I can report that is does resolve the problem here. Is this a bug or is the
kernel supposed to work that way?


/Allan
Outlook stinks.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:52    [W:0.019 / U:0.048 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site