From 90068c5267cc46dabf9ce71c249916684ac2b752 Mon Sep 17 00:00:00 2001 From: "Eric W. Biederman" Date: Wed, 14 Feb 2007 00:34:16 -0800 Subject: [PATCH] --- yaml --- r: 48394 b: refs/heads/master c: 86a71dbd3e81e8870d0f0e56b87875f57e58222b h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/fs/proc/proc_sysctl.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index 5618df95c030..31e799bce8a7 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: bbaca6c2e7ef0f663bc31be4dad7cf530f6c4962 +refs/heads/master: 86a71dbd3e81e8870d0f0e56b87875f57e58222b diff --git a/trunk/fs/proc/proc_sysctl.c b/trunk/fs/proc/proc_sysctl.c index bb16a1e78826..20e8cbb34364 100644 --- a/trunk/fs/proc/proc_sysctl.c +++ b/trunk/fs/proc/proc_sysctl.c @@ -47,6 +47,7 @@ static struct inode *proc_sys_make_inode(struct inode *dir, struct ctl_table *ta inode->i_mtime = inode->i_atime = inode->i_ctime = CURRENT_TIME; inode->i_op = &proc_sys_inode_operations; inode->i_fop = &proc_sys_file_operations; + inode->i_flags |= S_PRIVATE; /* tell selinux to ignore this inode */ proc_sys_refresh_inode(inode, table); out: return inode;