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

2014-09-17 Thread Masatake YAMATO
Zubin, congratulation! This is the feature really I need. My understandig is that this is the initial step for developing a tool unifying strace, lsof, and tcpdump:) Masatake YAMATO > Hi Zubin, > > On Tue, Aug 26, 2014 at 06:28:46PM +0200, Zubin Mithra wrote: >> > I think it would be less conf

Re: [PATCH v2] Add bounds checking to sys_getdents, sys_getdents64

2014-09-17 Thread Dmitry V. Levin
On Thu, Sep 11, 2014 at 05:29:04AM +0400, Dmitry V. Levin wrote: > On Mon, Aug 04, 2014 at 07:42:57AM +0530, Zubin Mithra wrote: > > * file.c (sys_getdents): Add d_reclen check. > > (sys_getdents64): Add d_reclen check. > > > > Signed-off-by: Zubin Mithra > > --- > > file.c | 11 ++- > >

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

2014-09-17 Thread Dmitry V. Levin
Hi Zubin, On Tue, Aug 26, 2014 at 06:28:46PM +0200, Zubin Mithra wrote: > > I think it would be less confusing to print both src and dst address:port > > when dst address:port is non-zero, for example: > > accept(3<0.0.0.0:7171>, {sa_family=AF_INET, sin_port=htons(48435), > > sin_addr=inet_addr("

Re: [strace:code] Merge request: Wrap sa_restorer variables with #ifdef SA_RESTORER

2014-09-17 Thread Dmitry V. Levin
On Fri, Sep 12, 2014 at 09:47:41AM +0100, Vicente Olivert Riera wrote: > On 09/11/2014 08:37 PM, Dmitry V. Levin wrote: > > On Thu, Sep 11, 2014 at 07:13:19PM +, Vicente Olivert Riera wrote: > >> Merge request: Wrap sa_restorer variables with #ifdef SA_RESTORER > >> > >> --- > >> > >> Vicente O