From: "Stephen C. Tweedie" <sct@redhat.com>
To: Andries.Brouwer@cwi.nl
Cc: alan@lxorguk.ukuu.org.uk, linux-kernel@vger.kernel.org,
viro@math.psu.edu, Stephen Tweedie <sct@redhat.com>
Subject: Re: mount --bind accounting
Date: Wed, 6 Jun 2001 19:20:13 +0100 [thread overview]
Message-ID: <20010606192013.B3761@redhat.com> (raw)
In-Reply-To: <UTC200106032038.WAA184171.aeb@vlet.cwi.nl>
In-Reply-To: <UTC200106032038.WAA184171.aeb@vlet.cwi.nl>; from Andries.Brouwer@cwi.nl on Sun, Jun 03, 2001 at 10:38:29PM +0200
Hi,
On Sun, Jun 03, 2001 at 10:38:29PM +0200, Andries.Brouwer@cwi.nl wrote:
> Each bind does an alloc_vfsmnt() and hence takes some kernel memory.
> Any user can therefore take all kernel memory, until
> kmalloc(sizeof(struct vfsmount), GFP_KERNEL)
> fails. Bad security.
Until we can account properly for basic things like page tables, the
small kmallocs for things like vfsmount and file structs will be
negligible in comparison.
Fortunately we used to have at least skeleton patches for a framework
in which to do this. Whatever happened to beancounter, anyway? Is
somebody maintaining that at all these days?
Cheers,
Stephen
next prev parent reply other threads:[~2001-06-06 18:21 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-06-03 20:38 mount --bind accounting Andries.Brouwer
2001-06-04 0:18 ` Alexander Viro
2001-06-06 18:20 ` Stephen C. Tweedie [this message]
-- strict thread matches above, loose matches on Subject: below --
2001-06-04 0:59 Andries.Brouwer
2001-06-04 1:11 ` Alexander Viro
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=20010606192013.B3761@redhat.com \
--to=sct@redhat.com \
--cc=Andries.Brouwer@cwi.nl \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=linux-kernel@vger.kernel.org \
--cc=viro@math.psu.edu \
/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