Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F178191132
D62216.1796223226.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
398 B
Referenced Files
None
Subscribers
None
D62216.1796223226.diff
View Options
diff --git a/usr.sbin/bhyve/pci_virtio_console.c b/usr.sbin/bhyve/pci_virtio_console.c
--- a/usr.sbin/bhyve/pci_virtio_console.c
+++ b/usr.sbin/bhyve/pci_virtio_console.c
@@ -306,6 +306,12 @@
goto out;
}
+ if (setsockopt(s, SOL_SOCKET, SO_NOSIGPIPE, &(int){1},
+ sizeof(int)) != 0) {
+ error = -1;
+ goto out;
+ }
+
pathcopy = strdup(path);
if (pathcopy == NULL) {
error = -1;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Dec 2, 2:53 PM (17 h, 36 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
42122409
Default Alt Text
D62216.1796223226.diff (398 B)
Attached To
Mode
D62216: bhyve: disable SIGPIPE for vtcons
Attached
Detach File
Event Timeline