diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2007-02-14 08:34:16 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-02-14 16:10:00 (GMT) |
commit | 86a71dbd3e81e8870d0f0e56b87875f57e58222b (patch) | |
tree | 71f5d47c38d0674b5037c435fb00adcb889ccad2 /init/main.c | |
parent | bbaca6c2e7ef0f663bc31be4dad7cf530f6c4962 (diff) | |
download | linux-fsl-qoriq-86a71dbd3e81e8870d0f0e56b87875f57e58222b.tar.xz |
[PATCH] sysctl: hide the sysctl proc inodes from selinux
Since the security checks are applied on each read and write of a sysctl file,
just like they are applied when calling sys_sysctl, they are redundant on the
standard VFS constructs. Since it is difficult to compute the security labels
on the standard VFS constructs we just mark the sysctl inodes in proc private
so selinux won't even bother with them.
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'init/main.c')
0 files changed, 0 insertions, 0 deletions