Le 01/10/2024 à 17:14, Michael Vogt a écrit :
This commit adds support for the `openat2()` to `QEMU_STRACE`. It
will use the `openat2.h` header if available to create user
readable flags for the `resolve` argument but does not require
the header otherwise.

It also makes `copy_struct_from_user()` available via `qemu.h`
and `open_how_ver0` via `syscall_defs.h` so that strace.c can use
them.

Signed-off-by: Michael Vogt <mv...@redhat.com>
---
  linux-user/qemu.h         |  9 ++++++++
  linux-user/strace.c       | 44 +++++++++++++++++++++++++++++++++++++++
  linux-user/strace.list    |  3 +++
  linux-user/syscall.c      |  8 +------
  linux-user/syscall_defs.h |  5 +++++
  meson.build               |  1 +
  6 files changed, 63 insertions(+), 7 deletions(-)


Reviewed-by: Laurent Vivier <laur...@vivier.eu>


Reply via email to