summaryrefslogtreecommitdiff
path: root/net/tipc/net.h
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2010-02-28 01:20:36 +0000
committerGreg Kroah-Hartman <gregkh@suse.de>2010-03-15 09:06:34 -0700
commit709a1e560b23235706a504323aafc9f1a9a05eb6 (patch)
tree51f922cb29753c4527bd3661c7fd94b95ee925c1 /net/tipc/net.h
parent5535b536b293a3142a1d6a9b460d2a1c54dffd82 (diff)
scm: Only support SCM_RIGHTS on unix domain sockets.
commit 76dadd76c265a0cdb5a76aa4eef03fcc9639b388 upstream. We use scm_send and scm_recv on both unix domain and netlink sockets, but only unix domain sockets support everything required for file descriptor passing, so error if someone attempts to pass file descriptors over netlink sockets. 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@suse.de>
Diffstat (limited to 'net/tipc/net.h')
0 files changed, 0 insertions, 0 deletions