mirror of
				https://github.com/torvalds/linux.git
				synced 2025-11-04 02:30:34 +02:00 
			
		
		
		
	futex: Revert "futex: Mark get_robust_list as deprecated"
This reverts commit ec0c4274e3.
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 <tglx@linutronix.de>
Cc: Cyrill Gorcunov <gorcunov@openvz.org>
Cc: Richard Weinberger <richard@nod.at>
Cc: akpm@linux-foundation.org
Cc: paul.gortmaker@windriver.com
Cc: davej@redhat.com
Cc: keescook@chromium.org
Cc: stable@vger.kernel.org
Cc: ebiederm@xmission.com
			
			
This commit is contained in:
		
							parent
							
								
									5042afe7fe
								
							
						
					
					
						commit
						fe2b05f7ca
					
				
					 2 changed files with 0 additions and 4 deletions
				
			
		| 
						 | 
					@ -2471,8 +2471,6 @@ SYSCALL_DEFINE3(get_robust_list, int, pid,
 | 
				
			||||||
	if (!futex_cmpxchg_enabled)
 | 
						if (!futex_cmpxchg_enabled)
 | 
				
			||||||
		return -ENOSYS;
 | 
							return -ENOSYS;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	WARN_ONCE(1, "deprecated: get_robust_list will be deleted in 2013.\n");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
	rcu_read_lock();
 | 
						rcu_read_lock();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	ret = -ESRCH;
 | 
						ret = -ESRCH;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -142,8 +142,6 @@ compat_sys_get_robust_list(int pid, compat_uptr_t __user *head_ptr,
 | 
				
			||||||
	if (!futex_cmpxchg_enabled)
 | 
						if (!futex_cmpxchg_enabled)
 | 
				
			||||||
		return -ENOSYS;
 | 
							return -ENOSYS;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	WARN_ONCE(1, "deprecated: get_robust_list will be deleted in 2013.\n");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
	rcu_read_lock();
 | 
						rcu_read_lock();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	ret = -ESRCH;
 | 
						ret = -ESRCH;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue