linux/net/unix
dingtianhong 14134f6584 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>
2013-03-26 12:33:55 -04:00
..
af_unix.c af_unix: dont send SCM_CREDENTIAL when dest socket is NULL 2013-03-26 12:33:55 -04:00
diag.c hlist: drop the node parameter from iterators 2013-02-27 19:10:24 -08:00
garbage.c
Kconfig
Makefile
sysctl_net_unix.c