From: Eric W. Biederman Date: Wed, 23 Apr 2014 21:28:03 +0000 (-0700) Subject: net: Add variants of capable for use on netlink messages X-Git-Tag: omap-for-v3.16/fixes-against-rc1~214^2~45^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aa4cf9452f469f16cea8c96283b641b4576d4a7b;p=pandora-kernel.git net: Add variants of capable for use on netlink messages netlink_net_capable - The common case use, for operations that are safe on a network namespace netlink_capable - For operations that are only known to be safe for the global root netlink_ns_capable - The general case of capable used to handle special cases __netlink_ns_capable - Same as netlink_ns_capable except taking a netlink_skb_parms instead of the skbuff of a netlink message. Signed-off-by: "Eric W. Biederman" Signed-off-by: David S. Miller --- Reading git-diff-tree failed