diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2013-10-05 20:15:30 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-10-06 20:50:14 (GMT) |
commit | 2433c8f094a008895e66f25bd1773cdb01c91d01 (patch) | |
tree | 0b5136b1d816a1b90cc7370313a257a60f6865ae /drivers/pwm | |
parent | 13caa8ed93513dd216ede0c84d833e39fc2e3e2a (diff) | |
download | linux-fsl-qoriq-2433c8f094a008895e66f25bd1773cdb01c91d01.tar.xz |
net: Update the sysctl permissions handler to test effective uid/gid
Modify the code to use current_euid(), and in_egroup_p, as in done
in fs/proc/proc_sysctl.c:test_perm()
Cc: stable@vger.kernel.org
Reviewed-by: Eric Sandeen <sandeen@redhat.com>
Reported-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/pwm')
0 files changed, 0 insertions, 0 deletions