diff options
author | Helge Deller <deller@gmx.de> | 2016-12-07 11:31:46 -0800 |
---|---|---|
committer | Richard Henderson <rth@twiddle.net> | 2017-01-22 18:14:10 -0800 |
commit | 405b49150425a3570de4eab99870498d14712b11 (patch) | |
tree | 4bff7f7b7a1281746eb4424e244c1bdb7df325d3 /linux-user/syscall_types.h | |
parent | 8cb762fe013a4368fc7aa2eba27c44033ec310e0 (diff) |
linux-user: Add SIOCGPGRP, SIOCGSTAMP, SIOCGSTAMPNS
Mirror syscall_defs.h for the element type of struct timeval
and struct timespec, even though that's not 100% accurate for
each guest.
Signed-off-by: Helge Deller <deller@gmx.de>
[rth: Changed the MK_ARRAY types as per above; added ioctl.h entries.]
Signed-off-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'linux-user/syscall_types.h')
-rw-r--r-- | linux-user/syscall_types.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/linux-user/syscall_types.h b/linux-user/syscall_types.h index af79fbf1de..2b8c0c6df6 100644 --- a/linux-user/syscall_types.h +++ b/linux-user/syscall_types.h @@ -14,6 +14,12 @@ STRUCT(serial_icounter_struct, STRUCT(sockaddr, TYPE_SHORT, MK_ARRAY(TYPE_CHAR, 14)) +STRUCT(timeval, + MK_ARRAY(TYPE_LONG, 2)) + +STRUCT(timespec, + MK_ARRAY(TYPE_LONG, 2)) + STRUCT(rtentry, TYPE_ULONG, MK_STRUCT(STRUCT_sockaddr), MK_STRUCT(STRUCT_sockaddr), MK_STRUCT(STRUCT_sockaddr), TYPE_SHORT, TYPE_SHORT, TYPE_ULONG, TYPE_PTRVOID, TYPE_SHORT, TYPE_PTRVOID, |