diff mbox series

linux-user: add strace for dup3

Message ID mvmsgoe17l5.fsf@suse.de (mailing list archive)
State New, archived
Headers show
Series linux-user: add strace for dup3 | expand

Commit Message

Andreas Schwab Sept. 30, 2019, 9:01 a.m. UTC
Signed-off-by: Andreas Schwab <schwab@suse.de>
---
 linux-user/strace.list | 3 +++
 1 file changed, 3 insertions(+)

Comments

Philippe Mathieu-Daudé Oct. 1, 2019, 9:06 a.m. UTC | #1
On 9/30/19 11:01 AM, Andreas Schwab wrote:
> Signed-off-by: Andreas Schwab <schwab@suse.de>
> ---
>   linux-user/strace.list | 3 +++
>   1 file changed, 3 insertions(+)
> 
> diff --git a/linux-user/strace.list b/linux-user/strace.list
> index 63a946642d..863283418e 100644
> --- a/linux-user/strace.list
> +++ b/linux-user/strace.list
> @@ -121,6 +121,9 @@
>   #ifdef TARGET_NR_dup2
>   { TARGET_NR_dup2, "dup2" , NULL, NULL, NULL },
>   #endif
> +#ifdef TARGET_NR_dup3
> +{ TARGET_NR_dup3, "dup3" , NULL, NULL, NULL },
> +#endif
>   #ifdef TARGET_NR_epoll_create
>   { TARGET_NR_epoll_create, "epoll_create" , NULL, NULL, NULL },
>   #endif
> 

Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Laurent Vivier Oct. 21, 2019, 9:30 a.m. UTC | #2
Le 30/09/2019 à 11:01, Andreas Schwab a écrit :
> Signed-off-by: Andreas Schwab <schwab@suse.de>
> ---
>  linux-user/strace.list | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/linux-user/strace.list b/linux-user/strace.list
> index 63a946642d..863283418e 100644
> --- a/linux-user/strace.list
> +++ b/linux-user/strace.list
> @@ -121,6 +121,9 @@
>  #ifdef TARGET_NR_dup2
>  { TARGET_NR_dup2, "dup2" , NULL, NULL, NULL },
>  #endif
> +#ifdef TARGET_NR_dup3
> +{ TARGET_NR_dup3, "dup3" , NULL, NULL, NULL },
> +#endif
>  #ifdef TARGET_NR_epoll_create
>  { TARGET_NR_epoll_create, "epoll_create" , NULL, NULL, NULL },
>  #endif
> 

Applied to my linux-user branch.

Thanks,
Laurent
diff mbox series

Patch

diff --git a/linux-user/strace.list b/linux-user/strace.list
index 63a946642d..863283418e 100644
--- a/linux-user/strace.list
+++ b/linux-user/strace.list
@@ -121,6 +121,9 @@ 
 #ifdef TARGET_NR_dup2
 { TARGET_NR_dup2, "dup2" , NULL, NULL, NULL },
 #endif
+#ifdef TARGET_NR_dup3
+{ TARGET_NR_dup3, "dup3" , NULL, NULL, NULL },
+#endif
 #ifdef TARGET_NR_epoll_create
 { TARGET_NR_epoll_create, "epoll_create" , NULL, NULL, NULL },
 #endif