qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] linux-user: Add FIFREEZE and FITHAW ioctls


From: Richard Henderson
Subject: Re: [PATCH] linux-user: Add FIFREEZE and FITHAW ioctls
Date: Fri, 1 Mar 2024 14:34:31 -1000
User-agent: Mozilla Thunderbird

On 2/20/24 00:57, Michael Vogt wrote:
Add missing FIFREEZE and FITHAW ioctls.

Signed-off-by: Michael Vogt <michael.vogt@gmail.com>
---
  linux-user/ioctls.h       | 6 ++++++
  linux-user/syscall_defs.h | 3 +++
  2 files changed, 9 insertions(+)

diff --git a/linux-user/ioctls.h b/linux-user/ioctls.h
index 071f7ca253..1aec9d5836 100644
--- a/linux-user/ioctls.h
+++ b/linux-user/ioctls.h
@@ -134,6 +134,12 @@
       IOCTL(FICLONE, IOC_W, TYPE_INT)
       IOCTL(FICLONERANGE, IOC_W, MK_PTR(MK_STRUCT(STRUCT_file_clone_range)))
  #endif
+#ifdef FIFREEZE
+     IOCTL(FIFREEZE, IOC_W | IOC_R, TYPE_INT)
+#endif
+#ifdef FITHAW
+     IOCTL(FITHAW, IOC_W | IOC_R, TYPE_INT)
+#endif

I suspect these are old enough that they should be unconditionally available.
However, quite a lot of the ioctls here are in the same boat, and it's not 
worth quibbling.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>

Applied to lu-next.


r~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]