Message ID | mvmsgoe17l5.fsf@suse.de (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | linux-user: add strace for dup3 | expand |
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>
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 --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
Signed-off-by: Andreas Schwab <schwab@suse.de> --- linux-user/strace.list | 3 +++ 1 file changed, 3 insertions(+)