[<prev] [next>] [day] [month] [year] [list]
Message-ID: <alpine.LRH.2.00.1005142002020.32112@tundra.namei.org>
Date: Fri, 14 May 2010 20:10:39 +1000 (EST)
From: James Morris <jmorris@...ei.org>
To: Linus Torvalds <torvalds@...ux-foundation.org>
cc: linux-kernel@...r.kernel.org,
linux-security-module@...r.kernel.org,
"Serge E. Hallyn" <serue@...ibm.com>,
Andrew Morton <akpm@...ux-foundation.org>,
Adam Lackorzynski <adam@...inf.tu-dresden.de>,
Eric Paris <eparis@...hat.com>, stable@...nel.org
Subject: [GIT] security/mm: fix regression introduced by mmap_min_addr
check
A check for CAP_SYS_RAWIO was introduced when accessing
/proc/sys/vm/mmap_min_addr in the following patch:
commit 0e1a6ef2dea88101b056b6d9984f3325c5efced3
Author: Kees Cook <kees.cook@...onical.com>
Date: Sun Nov 8 09:37:00 2009 -0800
sysctl: require CAP_SYS_RAWIO to set mmap_min_addr
this has caused regressions for unprivileged userland apps which want to
read this value:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/568844
A patch to fix this has been in -next for some time, and given the reports
of userland breakage, it should probably go into mainline before 2.6.34 --
please pull per the request below.
(The patch may also be suitable for the 2.6.32 and 2.6.33 stable trees).
The following changes since commit 6a251b0ab67989f468f4cb65179e0cf40cf8c295:
Linus Torvalds (1):
Merge branch 'for-linus' of git://git.kernel.org/.../sameo/mfd-2.6
are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/security-testing-2.6 for-linus
Kees Cook (1):
mmap_min_addr check CAP_SYS_RAWIO only for write
security/min_addr.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
--
James Morris
<jmorris@...ei.org>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists