v4: Update subject to indicate additional strace syscall capabiltiy (Peter Maydell) Audit syscall strings for correct function prototypes (Peter Maydell) Move new macros TARGET_HW_MACHINE/ARCH to seperate patch (Peter Maydell) Drop new architecture support, schedule new architectures for later patchset (Peter Maydell) Remove *.orig files erroneously generated in patching (Peter Maydell)
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 (9): bsd-user: GPL v2 attribution update and style bsd-user: Implement strace support for print_sysctl syscall bsd-user: Implement strace support for print_ioctl syscall bsd-user: Implement new syscall print_sysarch and add strace support bsd-user: Implement strace support for __acl_* syscalls bsd-user: Implement strace support for extattr_* syscalls bsd-user: Implement strace support for thr_* syscalls bsd-user: Fix syscall format, add strace support for more syscalls bsd-user: Add TARGET_HW_MACHINE TARGET_HW_MACHINE_ARCH for future use Stacey Son (1): bsd-user: add HOST_VARIANT_DIR for various *BSD dependent code Makefile.target | 3 +- bsd-user/freebsd/os-strace.h | 29 ++++++ bsd-user/freebsd/strace.list | 78 +++++++++++++-- bsd-user/i386/syscall.h | 23 +++++ bsd-user/i386/target_arch_sysarch.h | 78 +++++++++++++++ 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 +++ 16 files changed, 618 insertions(+), 70 deletions(-) create mode 100644 bsd-user/freebsd/os-strace.h create mode 100644 bsd-user/i386/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