From: Richard Weinberger <richard@nod.at>
To: linux-kernel@vger.kernel.org
Cc: linux-doc@vger.kernel.org, dvhart@linux.intel.com,
paul.gortmaker@windriver.com, jkosina@suse.cz, rob@landley.net,
Richard Weinberger <richard@nod.at>,
Randy Dunlap <rdunlap@xenotime.net>,
Peter Zijlstra <a.p.zijlstra@chello.nl>,
"Eric W. Biederman" <ebiederm@xmission.com>,
David Howells <dhowells@redhat.com>,
"Serge E. Hallyn" <serge.hallyn@canonical.com>,
kernel-hardening@lists.openwall.com, spender@grsecurity.net,
keescook@chromium.org, tglx@linutronix.de,
Cyrill Gorcunov <gorcunov@openvz.org>,
xemul@parallels.com, stable@vger.kernel.org, #
Subject: [kernel-hardening] [PATCH] Revert "futex: Mark get_robust_list as deprecated"
Date: Fri, 3 Aug 2012 15:29:53 +0200 [thread overview]
Message-ID: <1344000593-18794-1-git-send-email-richard@nod.at> (raw)
get_robust_list has at least two valid use cases.
1. checkpoint/restore in userspace
2. post mortem analysis
Cc: Randy Dunlap <rdunlap@xenotime.net>
Cc: Darren Hart <dvhart@linux.intel.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Jiri Kosina <jkosina@suse.cz>
Cc: Eric W. Biederman <ebiederm@xmission.com>
Cc: David Howells <dhowells@redhat.com>
Cc: Serge E. Hallyn <serge.hallyn@canonical.com>
Cc: kernel-hardening@lists.openwall.com
Cc: spender@grsecurity.net
Cc: keescook@chromium.org
Cc: tglx@linutronix.de
Cc: Cyrill Gorcunov <gorcunov@openvz.org>
Cc: xemul@parallels.com
Cc: <stable@vger.kernel.org> # 3.4.x
Cc: <stable@vger.kernel.org> # 3.5.x
Link: http://lkml.kernel.org/r/CAFLxGvzPVPyXPwjay4a01q1vx4K4Ht56bHjzswYrr1wvB_1dYw%20%28%29%20mail%20!%20gmail%20!%20com
Signed-off-by: Richard Weinberger <richard@nod.at>
---
Documentation/feature-removal-schedule.txt | 10 ----------
kernel/futex.c | 2 --
kernel/futex_compat.c | 2 --
3 Dateien geändert, 14 Zeilen entfernt(-)
diff --git a/Documentation/feature-removal-schedule.txt b/Documentation/feature-removal-schedule.txt
index afaff31..a25482e 100644
--- a/Documentation/feature-removal-schedule.txt
+++ b/Documentation/feature-removal-schedule.txt
@@ -506,16 +506,6 @@ Who: Sebastian Andrzej Siewior <sebastian@breakpoint.cc>
----------------------------
-What: get_robust_list syscall
-When: 2013
-Why: There appear to be no production users of the get_robust_list syscall,
- and it runs the risk of leaking address locations, allowing the bypass
- of ASLR. It was only ever intended for debugging, so it should be
- removed.
-Who: Kees Cook <keescook@chromium.org>
-
-----------------------------
-
What: Removing the pn544 raw driver.
When: 3.6
Why: With the introduction of the NFC HCI and SHDL kernel layers, pn544.c
diff --git a/kernel/futex.c b/kernel/futex.c
index e2b0fb9..d701be5 100644
--- a/kernel/futex.c
+++ b/kernel/futex.c
@@ -2449,8 +2449,6 @@ SYSCALL_DEFINE3(get_robust_list, int, pid,
if (!futex_cmpxchg_enabled)
return -ENOSYS;
- WARN_ONCE(1, "deprecated: get_robust_list will be deleted in 2013.\n");
-
rcu_read_lock();
ret = -ESRCH;
diff --git a/kernel/futex_compat.c b/kernel/futex_compat.c
index 83e368b..a9642d5 100644
--- a/kernel/futex_compat.c
+++ b/kernel/futex_compat.c
@@ -142,8 +142,6 @@ compat_sys_get_robust_list(int pid, compat_uptr_t __user *head_ptr,
if (!futex_cmpxchg_enabled)
return -ENOSYS;
- WARN_ONCE(1, "deprecated: get_robust_list will be deleted in 2013.\n");
-
rcu_read_lock();
ret = -ESRCH;
--
1.7.10.4
next reply other threads:[~2012-08-03 13:29 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-03 13:29 Richard Weinberger [this message]
2012-08-03 13:34 ` [kernel-hardening] Re: [PATCH] Revert "futex: Mark get_robust_list as deprecated" Cyrill Gorcunov
2012-08-03 14:04 ` richard -rw- weinberger
2012-08-03 14:19 ` Eric W. Biederman
2012-08-03 17:17 ` Kees Cook
2012-08-06 14:53 ` Peter Zijlstra
2012-08-06 14:57 ` Richard Weinberger
-- strict thread matches above, loose matches on Subject: below --
2012-08-03 14:40 [kernel-hardening] " Richard Weinberger
2012-08-03 17:16 [kernel-hardening] Re: [PATCH v2] futex: mark get_robust_list as deprecated Kees Cook
2012-08-03 18:06 ` [kernel-hardening] [PATCH] Revert "futex: Mark get_robust_list as deprecated" Richard Weinberger
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=1344000593-18794-1-git-send-email-richard@nod.at \
--to=richard@nod.at \
--cc=a.p.zijlstra@chello.nl \
--cc=dhowells@redhat.com \
--cc=dvhart@linux.intel.com \
--cc=ebiederm@xmission.com \
--cc=gorcunov@openvz.org \
--cc=jkosina@suse.cz \
--cc=keescook@chromium.org \
--cc=kernel-hardening@lists.openwall.com \
--cc=linux-doc@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=paul.gortmaker@windriver.com \
--cc=rdunlap@xenotime.net \
--cc=rob@landley.net \
--cc=serge.hallyn@canonical.com \
--cc=spender@grsecurity.net \
--cc=stable@vger.kernel.org \
--cc=tglx@linutronix.de \
--cc=xemul@parallels.com \
/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;
as well as URLs for NNTP newsgroup(s).