Skip to content

Commit fe2b05f

Browse files
KAGA-KOKOIngo Molnar
authored andcommitted
futex: Revert "futex: Mark get_robust_list as deprecated"
This reverts commit ec0c427. get_robust_list() is in use and a removal would break existing user space. With the permission checks in place it's not longer a security hole. Remove the deprecation warnings. Signed-off-by: Thomas Gleixner <[email protected]> Cc: Cyrill Gorcunov <[email protected]> Cc: Richard Weinberger <[email protected]> Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected]
1 parent 5042afe commit fe2b05f

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

kernel/futex.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2471,8 +2471,6 @@ SYSCALL_DEFINE3(get_robust_list, int, pid,
24712471
if (!futex_cmpxchg_enabled)
24722472
return -ENOSYS;
24732473

2474-
WARN_ONCE(1, "deprecated: get_robust_list will be deleted in 2013.\n");
2475-
24762474
rcu_read_lock();
24772475

24782476
ret = -ESRCH;

kernel/futex_compat.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,8 +142,6 @@ compat_sys_get_robust_list(int pid, compat_uptr_t __user *head_ptr,
142142
if (!futex_cmpxchg_enabled)
143143
return -ENOSYS;
144144

145-
WARN_ONCE(1, "deprecated: get_robust_list will be deleted in 2013.\n");
146-
147145
rcu_read_lock();
148146

149147
ret = -ESRCH;

0 commit comments

Comments
 (0)