diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2014-04-23 14:28:03 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-06-26 15:15:38 -0400 |
commit | d8d52aa168fc662f66b5525b7c16cc9de33b74da (patch) | |
tree | 07e1fc5551dcafa7b79ec1bf3927892a7f5eaf82 /net/can/gw.c | |
parent | 2eeb40639c9aa350f67a612c3b9fdeaead3ceb81 (diff) | |
download | lwn-d8d52aa168fc662f66b5525b7c16cc9de33b74da.tar.gz lwn-d8d52aa168fc662f66b5525b7c16cc9de33b74da.zip |
net: Add variants of capable for use on netlink messages
[ Upstream commit aa4cf9452f469f16cea8c96283b641b4576d4a7b ]
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" <ebiederm@xmission.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/can/gw.c')
0 files changed, 0 insertions, 0 deletions