From 209f319c85212194e2925a4369267ca413f3d0e0 Mon Sep 17 00:00:00 2001 From: Al Viro Date: Sat, 18 Jun 2011 20:42:00 -0400 Subject: [PATCH] --- yaml --- r: 253840 b: refs/heads/master c: 1aec7036d0c2996c86ce483ca0a28f3b20807b43 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/fs/proc/proc_sysctl.c | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/[refs] b/[refs] index bbd30d5670f8..e7e3498499c8 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 1d29b5a2ed7eb8862c9b66daf475f3e4c1a40299 +refs/heads/master: 1aec7036d0c2996c86ce483ca0a28f3b20807b43 diff --git a/trunk/fs/proc/proc_sysctl.c b/trunk/fs/proc/proc_sysctl.c index f50133c11c24..d167de365a8d 100644 --- a/trunk/fs/proc/proc_sysctl.c +++ b/trunk/fs/proc/proc_sysctl.c @@ -304,9 +304,6 @@ static int proc_sys_permission(struct inode *inode, int mask,unsigned int flags) struct ctl_table *table; int error; - if (flags & IPERM_FLAG_RCU) - return -ECHILD; - /* Executable files are not allowed under /proc/sys/ */ if ((mask & MAY_EXEC) && S_ISREG(inode->i_mode)) return -EACCES;