Page MenuHomeFreeBSD

D62216.1796223226.diff
No OneTemporary

Authored By
Unknown
Size
398 B
Referenced Files
None
Subscribers
None

D62216.1796223226.diff

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

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)

Event Timeline