From: Helge Deller <deller@kernel.org>
To: laurent@vivier.eu, qemu-devel@nongnu.org
Cc: deller@gmx.de
Subject: [PATCH 1/4] linux-user: Use int64_t in target__kernel_sock_timeval
Date: Fri, 24 Apr 2026 11:08:47 +0200 [thread overview]
Message-ID: <20260424091024.23495-2-deller@kernel.org> (raw)
In-Reply-To: <20260424091024.23495-1-deller@kernel.org>
From: Helge Deller <deller@gmx.de>
The Linux kernel uses the __s64 type for the tv_sec and tv_usec members of
target__kernel_sock_timeval, so prefer the native type here as well.
Signed-off-by: Helge Deller <deller@gmx.de>
---
linux-user/syscall_defs.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/linux-user/syscall_defs.h b/linux-user/syscall_defs.h
index 6967306be4..138ce6abb1 100644
--- a/linux-user/syscall_defs.h
+++ b/linux-user/syscall_defs.h
@@ -238,8 +238,8 @@ struct target_timeval {
};
struct target__kernel_sock_timeval {
- abi_llong tv_sec;
- abi_llong tv_usec;
+ int64_t tv_sec;
+ int64_t tv_usec;
};
#endif
--
2.53.0
next prev parent reply other threads:[~2026-04-24 9:11 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-04-24 9:08 linux-user: Add sockopts for SO_RCVTIMEO_NEW and SO_SNDTIMEO_NEW Helge Deller
2026-04-24 9:08 ` Helge Deller [this message]
2026-04-24 22:14 ` [PATCH 1/4] linux-user: Use int64_t in target__kernel_sock_timeval Richard Henderson
2026-04-24 22:37 ` Helge Deller
2026-04-24 9:08 ` [PATCH 2/4] linux-user: Define SO_TIMESTAMP*_NEW and SO_RCVTIMEIO_NEW Helge Deller
2026-04-24 9:08 ` [PATCH 3/4] linux-user: Add setsockopt() for SO_RCVTIMEO_NEW and SO_SNDTIMEO_NEW Helge Deller
2026-04-24 9:08 ` [PATCH 4/4] linux-user: Add getsockopt() " Helge Deller
2026-04-30 16:34 ` linux-user: Add sockopts " Michael Tokarev
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260424091024.23495-2-deller@kernel.org \
--to=deller@kernel.org \
--cc=deller@gmx.de \
--cc=laurent@vivier.eu \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.