Revision 14134f6584212d585b310ce95428014b653dfaf6 authored by dingtianhong on 25 March 2013, 17:02:04 UTC, committed by David S. Miller on 26 March 2013, 16:33:55 UTC
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>
1 parent 465c0a1
History
File Mode Size
interface
acpi.h -rw-r--r-- 3.0 KB
balloon.h -rw-r--r-- 1.1 KB
events.h -rw-r--r-- 3.6 KB
features.h -rw-r--r-- 463 bytes
gntalloc.h -rw-r--r-- 2.6 KB
gntdev.h -rw-r--r-- 5.6 KB
grant_table.h -rw-r--r-- 7.0 KB
hvc-console.h -rw-r--r-- 479 bytes
hvm.h -rw-r--r-- 1.3 KB
page.h -rw-r--r-- 347 bytes
platform_pci.h -rw-r--r-- 1.5 KB
swiotlb-xen.h -rw-r--r-- 1.8 KB
tmem.h -rw-r--r-- 155 bytes
xen-ops.h -rw-r--r-- 1.1 KB
xen.h -rw-r--r-- 871 bytes
xenbus.h -rw-r--r-- 7.7 KB
xenbus_dev.h -rw-r--r-- 1.8 KB
xencomm.h -rw-r--r-- 2.5 KB

back to top