perl-540: update to 5.40.1
[oi-userland.git] / components / sysutils / qemu / patches / 0002-illumos-OFD-locking-must-span-the-entire-file.patch
blobeed5d00e445b07ce917070c660e5fe3ddc86fa16
1 From 96002bef758aa37906f0e6aa1f0e2dcc84b3bc3b Mon Sep 17 00:00:00 2001
2 From: Andy Fiddaman <illumos@fiddaman.net>
3 Date: Mon, 28 Nov 2022 14:52:31 +0000
4 Subject: illumos OFD locking must span the entire file
6 ---
7 util/osdep.c | 2 ++
8 1 file changed, 2 insertions(+)
10 diff --git a/util/osdep.c b/util/osdep.c
11 index 77c1a6c562..dec1e6386a 100644
12 --- a/util/osdep.c
13 +++ b/util/osdep.c
14 @@ -31,6 +31,8 @@
15 #include "qemu/hw-version.h"
16 #include "monitor/monitor.h"
18 +#undef F_OFD_SETLK
20 static const char *hw_version = QEMU_HW_VERSION;
22 int socket_set_cork(int fd, int v)