Re: [PATCH v9 1/2] linux-user: add openat2 support in linux-user

2024-10-01 Thread Laurent Vivier
Le 01/10/2024 à 17:14, Michael Vogt a écrit : This commit adds support for the `openat2()` syscall in the `linux-user` userspace emulator. It is implemented by extracting a new helper `maybe_do_fake_open()` out of the exiting `do_guest_openat()` and share that with the new `do_guest_openat2()`.

[PATCH v9 1/2] linux-user: add openat2 support in linux-user

2024-10-01 Thread Michael Vogt
This commit adds support for the `openat2()` syscall in the `linux-user` userspace emulator. It is implemented by extracting a new helper `maybe_do_fake_open()` out of the exiting `do_guest_openat()` and share that with the new `do_guest_openat2()`. Unfortunately we cannot just make do_guest_opena