From: Eric W. Biederman Date: Sat, 5 Oct 2013 20:15:30 +0000 (-0700) Subject: net: Update the sysctl permissions handler to test effective uid/gid X-Git-Tag: v3.12-rc4~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2433c8f094a008895e66f25bd1773cdb01c91d01;p=pandora-kernel.git 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 Reported-by: Eric Sandeen Signed-off-by: "Eric W. Biederman" Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed