v3:
Fixup subject strings for easier reading (Eric Blake)
v2:
At the advice of Peter Maydell, break out these patches to inplement new
syscalls into substantially smaller, bite sized chunks for review. These
patches are based off a tree that Peter has kindly setup at:
git://git.linaro.org/people/peter.maydell/qemu-arm.git bsd-user.next
I've made clear breaks in what is cleanup and what is new functionality
in this changeset.
My changes are directly taken from Stacey Son's work on the bsd-user fork
of the FreeBSD port of emulators/qemu-devel. My patches are a refactor of
his code contained in the commit entititled:
bsd-user: move strace OS/arch dependent code to host/arch dirs
Sean Bruno (8):
No functional changes. GPL v2 attribution update. Cleanup some while
space and style fixes. Move struct syscallname into qemu.h
Add print_sysctl() to out table of syscalls that are supported.
Add print_ioctl() to out table of syscalls that are supported.
Add print_sysarch() to out table of syscalls that are supported and
support them on all architectures for freebsd. netbsd and openbsd
are not implemented but stubbed out.
Add __acl_* to the table of syscalls that are supported on FreeBSD
Add extattr_* to the table of syscalls that are supported on FreeBSD
Add thr_* to the table of syscalls that are supported on FreeBSD
Fix socket, fstat, fstatfs, chown syscalls. Add support for missing
syscalls to the table on FreeBSD
Stacey Son (1):
bsd-user: add HOST_VARIANT_DIR for various *BSD dependent code
Makefile.target | 3 +-
bsd-user/arm/syscall.h | 36 +++++++
bsd-user/arm/syscall.h.orig | 0
bsd-user/arm/target_arch_sysarch.h | 78 +++++++++++++++
bsd-user/freebsd/os-strace.h | 29 ++++++
bsd-user/freebsd/strace.list | 77 +++++++++++++--
bsd-user/i386/syscall.h | 23 +++++
bsd-user/i386/target_arch_sysarch.h | 78 +++++++++++++++
bsd-user/mips/syscall.h | 52 ++++++++++
bsd-user/mips/syscall.h.orig | 0
bsd-user/mips/target_arch_sysarch.h | 69 +++++++++++++
bsd-user/mips64/syscall.h | 53 ++++++++++
bsd-user/mips64/syscall.h.orig | 0
bsd-user/mips64/target_arch_sysarch.h | 69 +++++++++++++
bsd-user/netbsd/os-strace.h | 1 +
bsd-user/openbsd/os-strace.h | 1 +
bsd-user/qemu.h | 26 +++++
bsd-user/sparc/syscall.h | 29 +++++-
bsd-user/sparc/target_arch_sysarch.h | 52 ++++++++++
bsd-user/sparc64/syscall.h | 28 +++++-
bsd-user/sparc64/target_arch_sysarch.h | 52 ++++++++++
bsd-user/strace.c | 175 ++++++++++++++++++++++-----------
bsd-user/x86_64/syscall.h | 26 ++++-
bsd-user/x86_64/target_arch_sysarch.h | 76 ++++++++++++++
configure | 11 +++
25 files changed, 975 insertions(+), 69 deletions(-)
create mode 100644 bsd-user/arm/syscall.h
create mode 100644 bsd-user/arm/syscall.h.orig
create mode 100644 bsd-user/arm/target_arch_sysarch.h
create mode 100644 bsd-user/freebsd/os-strace.h
create mode 100644 bsd-user/i386/target_arch_sysarch.h
create mode 100644 bsd-user/mips/syscall.h
create mode 100644 bsd-user/mips/syscall.h.orig
create mode 100644 bsd-user/mips/target_arch_sysarch.h
create mode 100644 bsd-user/mips64/syscall.h
create mode 100644 bsd-user/mips64/syscall.h.orig
create mode 100644 bsd-user/mips64/target_arch_sysarch.h
create mode 100644 bsd-user/netbsd/os-strace.h
create mode 100644 bsd-user/openbsd/os-strace.h
create mode 100644 bsd-user/sparc/target_arch_sysarch.h
create mode 100644 bsd-user/sparc64/target_arch_sysarch.h
create mode 100644 bsd-user/x86_64/target_arch_sysarch.h
--
1.9.3