diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2014-04-23 14:26:56 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-04-24 13:44:53 -0400 |
commit | a3b299da869d6e78cf42ae0b1b41797bcb8c5e4b (patch) | |
tree | 010da034dffdcc8dc1386170f94b27e9f342c691 /net/xfrm | |
parent | net: Move the permission check in sock_diag_put_filterinfo to packet_diag_dump (diff) | |
download | linux-dev-a3b299da869d6e78cf42ae0b1b41797bcb8c5e4b.tar.xz linux-dev-a3b299da869d6e78cf42ae0b1b41797bcb8c5e4b.zip |
net: Add variants of capable for use on on sockets
sk_net_capable - The common case, operations that are safe in a network namespace.
sk_capable - Operations that are not known to be safe in a network namespace
sk_ns_capable - The general case for special cases.
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/xfrm')
0 files changed, 0 insertions, 0 deletions