summaryrefslogtreecommitdiffstats
path: root/linux-user/generic
diff options
context:
space:
mode:
authorAndreas Schwab2020-05-25 09:59:28 +0200
committerLaurent Vivier2020-06-05 21:23:22 +0200
commit2d92c6827ca01cb4086212a95d9c1b454c252268 (patch)
tree459b4b2dcafcc15c65bb591c6597ecef1c343e86 /linux-user/generic
parentlinux-user/mmap.c: fix integer underflow in target_mremap (diff)
downloadqemu-2d92c6827ca01cb4086212a95d9c1b454c252268.tar.gz
qemu-2d92c6827ca01cb4086212a95d9c1b454c252268.tar.xz
qemu-2d92c6827ca01cb4086212a95d9c1b454c252268.zip
linux-user: implement OFD locks
Signed-off-by: Andreas Schwab <schwab@suse.de> Reviewed-by: Laurent Vivier <laurent@vivier.eu> Message-Id: <mvm7dx0cun3.fsf@suse.de> Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'linux-user/generic')
-rw-r--r--linux-user/generic/fcntl.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/linux-user/generic/fcntl.h b/linux-user/generic/fcntl.h
index 9f727d4df2..c85c5b9fed 100644
--- a/linux-user/generic/fcntl.h
+++ b/linux-user/generic/fcntl.h
@@ -99,6 +99,10 @@
#define TARGET_F_SETLKW64 14
#endif
+#define TARGET_F_OFD_GETLK 36
+#define TARGET_F_OFD_SETLK 37
+#define TARGET_F_OFD_SETLKW 38
+
#ifndef TARGET_F_SETOWN_EX
#define TARGET_F_SETOWN_EX 15
#define TARGET_F_GETOWN_EX 16