mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Allan Frank" <allan@ostenfeld.dk>
To: <linux-kernel@vger.kernel.org>
Subject: alpha stack problem: resource.h
Date: Thu, 26 Apr 2001 08:59:12 +0200	[thread overview]
Message-ID: <IIEKLBDNKAPNMMEJLDAGEECPCGAA.allan@ostenfeld.dk> (raw)

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.


                 reply	other threads:[~2001-04-26  6:57 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=IIEKLBDNKAPNMMEJLDAGEECPCGAA.allan@ostenfeld.dk \
    --to=allan@ostenfeld.dk \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®