On Tue, Mar 11, 2014 at 11:37:37PM +0900, Masatake YAMATO wrote:
> @@ -2059,7 +2134,7 @@ sys_socketpair(struct tcb *tcp)
>               tprints(", ");
>               switch (tcp->u_arg[0]) {
>               case PF_INET:
> -                     printxval(protocols, tcp->u_arg[2], "IPPROTO_???");
> +                     printxval(inet_protocols, tcp->u_arg[2], "IPPROTO_???");
>                       break;
>  #ifdef PF_IPX
>               case PF_IPX:

The only supported domain for socketpair syscall is AF_UNIX, so
no decoding related to other domains is required for socketpair.

I'll remove this useless code from sys_socketpair and apply your patch
without this hunk.


-- 
ldv

Attachment: pgpHh5xQzQnpX.pgp
Description: PGP signature

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
Strace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/strace-devel

Reply via email to