Re: [PATCH v5] Print ip and port associated with descriptor with -yy

2014-08-25 Thread Dmitry V. Levin
On Sun, Aug 24, 2014 at 04:38:51PM +0200, Zubin Mithra wrote: > Hi Dmitry, > > > Actually, it is quite linux specific: SOCK_DIAG_BY_FAMILY needs tcp_diag > > kernel module to handle IPPROTO_TCP, and udp_diag - for IPPROTO_UDP > > sockets. > > I’m not sure I understand the problem here — could you

Re: [PATCH v5] Print ip and port associated with descriptor with -yy

2014-08-25 Thread Dmitry V. Levin
On Sun, Aug 24, 2014 at 04:44:23PM +0200, Zubin Mithra wrote: > On 21-Aug-2014, at 4:27, Dmitry V. Levin wrote: > > On Thu, Aug 21, 2014 at 02:53:46AM +0400, Dmitry V. Levin wrote: > >> On Mon, Aug 11, 2014 at 02:21:01PM +0530, zubin.mit...@gmail.com wrote: > > [...] > >>if (!inet_ntop(diag_ms

Re: [PATCH v5] Print absolute paths in printpathn when -yy is used

2014-08-25 Thread Dmitry V. Levin
Hi Zubin, On Sun, Aug 24, 2014 at 09:22:12PM +0200, Zubin Mithra wrote: [...] > --- a/defs.h > +++ b/defs.h > @@ -679,7 +679,9 @@ extern void printstr(struct tcb *, long, long); > extern void printnum(struct tcb *, long, const char *); > extern void printnum_int(struct tcb *, long, const char *)