From: Eric Paris Date: Fri, 6 Nov 2009 04:45:52 +0000 (-0800) Subject: net: check kern before calling security subsystem X-Git-Tag: v2.6.33-rc1~388^2~497 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c84b3268da3b85c9d8a9e504e1001a14ed829e94;p=pandora-kernel.git net: check kern before calling security subsystem Before calling capable(CAP_NET_RAW) check if this operations is on behalf of the kernel or on behalf of userspace. Do not do the security check if it is on behalf of the kernel. Signed-off-by: Eric Paris Acked-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller --- Reading git-diff-tree failed