mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 00:03:54 -06:00
linux-user: Translate pipe2 flags; add to strace
Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Richard Henderson <rth@twiddle.net>
This commit is contained in:
parent
a5e7ee467c
commit
e7ea6cbefd
2 changed files with 5 additions and 1 deletions
|
@ -5595,7 +5595,8 @@ abi_long do_syscall(void *cpu_env, int num, abi_long arg1,
|
|||
break;
|
||||
#ifdef TARGET_NR_pipe2
|
||||
case TARGET_NR_pipe2:
|
||||
ret = do_pipe(cpu_env, arg1, arg2, 1);
|
||||
ret = do_pipe(cpu_env, arg1,
|
||||
target_to_host_bitmask(arg2, fcntl_flags_tbl), 1);
|
||||
break;
|
||||
#endif
|
||||
case TARGET_NR_times:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue