From: Roland McGrath <roland@hack.frob.com>
To: Gregory Sahanovitch <gsahanovitch@gmail.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>,
Andrew Morton <akpm@linux-foundation.org>,
James Morris <jmorris@namei.org>,
Eric Paris <eparis@parisplace.org>,
Stephen Smalley <sds@tycho.nsa.gov>,
selinux@tycho.nsa.gov,
John Johansen <john.johansen@canonical.com>,
linux-security-module@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH 1/2] LSM: Do not apply mmap_min_addr check to PROT_NONE
Date: Fri, 28 Oct 2011 09:37:36 -0700 (PDT) [thread overview]
Message-ID: <20111028163736.AEF082C0EB@topped-with-meat.com> (raw)
In-Reply-To: Gregory Sahanovitch's message of Friday, 28 October 2011 15:18:24 +0200 <CAGgmwq49CQKpMhhOHKTasvaRhripu87sq+wzoTQtdv4vDoE1iQ@mail.gmail.com>
> Since mmap_min_addr is used to prevent a *malicious* process from maping the
> zero page and then taking advantage of a user-pointer dereference in the
> *kernel code*, I do not see what you gain by guaranteeing that the
> application *that you control* would never exploit such a vulnerability?
The application does sandboxing of untrusted code.
next parent reply other threads:[~2011-10-28 16:37 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CAGgmwq49CQKpMhhOHKTasvaRhripu87sq+wzoTQtdv4vDoE1iQ@mail.gmail.com>
2011-10-28 16:37 ` Roland McGrath [this message]
2011-10-28 18:00 ` Gregory Sahanovitch
2011-10-28 13:36 Gregory Sahanovitch
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=20111028163736.AEF082C0EB@topped-with-meat.com \
--to=roland@hack.frob.com \
--cc=akpm@linux-foundation.org \
--cc=eparis@parisplace.org \
--cc=gsahanovitch@gmail.com \
--cc=jmorris@namei.org \
--cc=john.johansen@canonical.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-security-module@vger.kernel.org \
--cc=sds@tycho.nsa.gov \
--cc=selinux@tycho.nsa.gov \
--cc=torvalds@linux-foundation.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®