The patch "debian/patches/ubuntu/lp-2065579-9pfs-allow-sockets.patch" (as always referenced in debin/changelog) that Sergio created and that is incl. in the PPA build is this:
From: Sergio Durigan Junior <email address hidden>
Date: Thu, 30 May 2024 16:45:56 -0400
Subject: hw/9pfs/9p-util.h: Also allow sockets to be opened
Please let me jump in (for TZ reasons).
The patch "debian/ patches/ ubuntu/ lp-2065579- 9pfs-allow- sockets. patch" (as always referenced in debin/changelog) that Sergio created and that is incl. in the PPA build is this:
From: Sergio Durigan Junior <email address hidden>
Date: Thu, 30 May 2024 16:45:56 -0400
Subject: hw/9pfs/9p-util.h: Also allow sockets to be opened
Forwarded: not-needed /bugs.launchpad .net/ubuntu/ +source/ qemu/+bug/ 2065579
Bug-Ubuntu: https:/
---
hw/9pfs/9p-util.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/hw/9pfs/9p-util.h b/hw/9pfs/9p-util.h special_ file(int fd)
close_ preserve_ errno(fd) ; stbuf.st_ mode) && !S_ISDIR( stbuf.st_ mode)) { stbuf.st_ mode) && !S_ISDIR( stbuf.st_ mode) stbuf.st_ mode)) {
error_ report_ once(
" special file (i.e. neither regular file, nor directory)"
index ff32179..a3df012 100644
--- a/hw/9pfs/9p-util.h
+++ b/hw/9pfs/9p-util.h
@@ -47,7 +47,8 @@ static inline int close_if_
return -1;
}
- if (!S_ISREG(
+ if (!S_ISREG(
+ && !S_ISSOCK(
"9p: broken or compromised client detected; attempt to open "