summaryrefslogtreecommitdiff
path: root/net/ceph/auth_x_protocol.h
diff options
context:
space:
mode:
authordingtianhong <dingtianhong@huawei.com>2013-03-25 17:02:04 +0000
committerDavid S. Miller <davem@davemloft.net>2013-03-26 12:33:55 -0400
commit14134f6584212d585b310ce95428014b653dfaf6 (patch)
treedfaa64172441eecd90557d1f1bedba1695fa4cd6 /net/ceph/auth_x_protocol.h
parent465c0a165938992455357982d7f15ac105528b4a (diff)
downloadlinux-3.10-14134f6584212d585b310ce95428014b653dfaf6.tar.gz
linux-3.10-14134f6584212d585b310ce95428014b653dfaf6.tar.bz2
linux-3.10-14134f6584212d585b310ce95428014b653dfaf6.zip
af_unix: dont send SCM_CREDENTIAL when dest socket is NULL
SCM_SCREDENTIALS should apply to write() syscalls only either source or destination socket asserted SOCK_PASSCRED. The original implememtation in maybe_add_creds is wrong, and breaks several LSB testcases ( i.e. /tset/LSB.os/netowkr/recvfrom/T.recvfrom). Origionally-authored-by: Karel Srot <ksrot@redhat.com> Signed-off-by: Ding Tianhong <dingtianhong@huawei.com> Acked-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ceph/auth_x_protocol.h')
0 files changed, 0 insertions, 0 deletions