Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F145695104
D26093.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
576 B
Referenced Files
None
Subscribers
None
D26093.diff
View Options
Index: head/sys/compat/linux/linux_socket.c
===================================================================
--- head/sys/compat/linux/linux_socket.c
+++ head/sys/compat/linux/linux_socket.c
@@ -1067,7 +1067,7 @@
* FreeBSD system call interface.
*/
if (sa_family != AF_UNIX)
- continue;
+ goto next;
if (cmsg->cmsg_type == SCM_CREDS) {
len = sizeof(struct cmsgcred);
@@ -1094,6 +1094,7 @@
data = (char *)data + CMSG_SPACE(len);
datalen += CMSG_SPACE(len);
+next:
if (clen <= LINUX_CMSG_ALIGN(linux_cmsg.cmsg_len))
break;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Feb 24, 6:10 AM (14 h, 56 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28969849
Default Alt Text
D26093.diff (576 B)
Attached To
Mode
D26093: Fix handling of ancillary data on non-AF_UNIX Linux sockets.
Attached
Detach File
Event Timeline
Log In to Comment