Re: preparing for the next release

2014-08-11 Thread Mike Frysinger
testing commit e55264e0120c3804c971fdaf48faf2dbb2ccce0a (v4.8-239-ge55264e) ia64 failure is a system problem, not strace native (build+tests): vFAIL: test; ia64/64-bit/LSB linux-3.12.13-gentoo kernel-headers-3.13.0 glibc-2.19 gcc-4.7.3 vPASS: alpha/64-bit/LSB linux-3.16.0 kernel-headers-3.16.0 g

Re: preparing for the next release

2014-08-11 Thread Mike Frysinger
On Mon 11 Aug 2014 22:00:43 Dmitry V. Levin wrote: > On Mon, Aug 11, 2014 at 01:38:42AM -0400, Mike Frysinger wrote: > > sh fails detach-stopped in the way you describe: > > $ cat tests/detach-stopped.log > > Process 10130 attached > > --- SIGSTOP {si_signo=SIGSTOP, si_code=SI_USER, si_pid=0, si_ui

Re: preparing for the next release

2014-08-11 Thread Dmitry V. Levin
On Mon, Aug 11, 2014 at 01:38:42AM -0400, Mike Frysinger wrote: [...] > empty logs were due to bugs in the test scripts themselves :) Looks like I haven't tested these scripts with a shell that doesn't disable "set -e" in the caller scope of a function that disables "set -e". > with the fixes i p

Re: [PATCH] sh: fix syscall numbering for recv and sendto

2014-08-11 Thread Dmitry V. Levin
Hi, On Mon, Aug 11, 2014 at 10:26:56AM +0200, Erik Johansson wrote: > Hi, > > Please find patch below to fix mix up of recv and sendto on sh. See > http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/arch/sh/include/uapi/asm/unistd_32.h > for reference. > > // Erik > > -- >8 --

Re: [PATCH] tests: fix uio building w/out preadv/pwritev

2014-08-11 Thread Dmitry V. Levin
On Mon, Aug 11, 2014 at 02:52:08AM -0400, Mike Frysinger wrote: [...] > -./uio || > - fail_ 'uio failed' > +./uio || { > + if [ $? -eq 77 ]; then > + framework_skip_ Note that framework_skip_ takes an argument. I've corrected this and applied. Thanks! -- ldv pgpK5flzLrbp

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

2014-08-11 Thread Zubin Mithra
> > >> >> > Unless I'm mistaken this header is present on all linux systems in > /usr/include even with the dev packages installed. > > Typo, sorry. "this header is *not* present on all" Thanks, -- zm -- ___

[PATCH] sh: fix syscall numbering for recv and sendto

2014-08-11 Thread Erik Johansson
Hi, Please find patch below to fix mix up of recv and sendto on sh. See http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/arch/sh/include/uapi/asm/unistd_32.h for reference. // Erik -- >8 -- Subject: [PATCH] sh: fix syscall numbering for recv and sendto * linux/sh/syscallent.h

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

2014-08-11 Thread Zubin Mithra
Hello all, This is the latest patch for extended socket fd decoding. A few points :- > + > +#ifdef HAVE_LINUX_SOCK_DIAG_H > +# include > +#else > +# define SOCK_DIAG_BY_FAMILY 20 > + struct sock_diag_req { > + __u8sdiag_family; > + __u8sdiag_protocol; > + }; > +#endif

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

2014-08-11 Thread zubin . mithra
From: Zubin Mithra * Makefile.am (strace_SOURCES): Add socketutils.c. * configure.ac (AC_CHECK_HEADERS): Add linux/inet_diag.h, linux/netlink.h, linux/sock_diag.h. (AC_CHECK_TYPES): Add inet_diag_req_v2. * defs.h (get_pagesize): Add declaration. (printsockdetails): Add declaration. * mem.c (get

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

2014-08-11 Thread zubin . mithra
From: Zubin Mithra * Makefile.am (strace_SOURCES): Add socketutils.c. * configure.ac (AC_CHECK_HEADERS): Add linux/inet_diag.h, linux/netlink.h, linux/sock_diag.h. (AC_CHECK_TYPES): Add inet_diag_req_v2. * defs.h (get_pagesize): Add declaration. (printsockdetails): Add declaration. * mem.c (get

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

2014-08-11 Thread Zubin Mithra
Hi, Thank you for the review, Dmitry, Mike! I'll send out a patch soon. > > > + memset(&msg, 0, sizeof(msg)); > > + memset(&sa, 0, sizeof(sa)); > > + memset(&nlh, 0, sizeof(nlh)); > > + memset(&conn_req, 0, sizeof(conn_req)); > > do you need to zero these out when you initialize