]> granicus.if.org Git - strace/commit
socketutils: use exact match of unix domain sockets on fresh kernels
authorDmitry V. Levin <ldv@altlinux.org>
Mon, 14 May 2018 22:54:33 +0000 (22:54 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Mon, 14 May 2018 22:54:33 +0000 (22:54 +0000)
commit4e4ac87b037bda8b0997bf4f7d5c4d2fe740a1cc
treeadc9d29e03ba2a1ed2ddc1063eb29c9a92b2bc26
parent95ce60d1daf1fd49583b1b408a6f525b2e10d1a1
socketutils: use exact match of unix domain sockets on fresh kernels

* socketutils.c (unix_send_query): Do not add NLM_F_DUMP to nlmsg_flags
when kernel version is 4.4.4 or later, initialize udiag_cookie
unconditionally.

Complements: v4.12~536 ("Change unix_diag requests back to use full dump instead of exact match")
socketutils.c