All of lore.kernel.org
 help / color / mirror / Atom feed
From: LA Walsh <law@sgi.com>
To: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: user limits for 'security'?
Date: Mon, 25 Jun 2001 12:26:16 -0700	[thread overview]
Message-ID: <3B379058.FF66AF14@sgi.com> (raw)

I've seen some people saying that user-limits are an essential part of a
secure system to prevent local DoS attacks.  Given that, should
a system call like 'fork' return -EPERM if the user has reached their
limit?

My local manpage (SuSE 7.2 system) says this under fork:

ERRORS
       EAGAIN fork  cannot allocate sufficient memory to copy the
              parent's page tables and allocate a task  structure
              for the child.
-----
    Should the man page be updated to reflect that EAGAIN is returned
when the user has reached their limit?  From a user-monitoring point
of view, it might be security relevant to know if a EAGAIN is being
returned because the system really is low on resources or if it
is a user hitting their limit.

--
The above thoughts and            | I know I don't know the opinions
writings are my own.              | of every part of my company. :-)
L A Walsh, law at sgi.com         | Sr Eng, Trust Technology
01-650-933-5338                   | Core Linux, SGI




             reply	other threads:[~2001-06-25 19:28 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-06-25 19:26 LA Walsh [this message]
2001-06-25 19:42 ` user limits for 'security'? LA Walsh

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=3B379058.FF66AF14@sgi.com \
    --to=law@sgi.com \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.