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

2014-08-10 Thread Mike Frysinger
The preadv/pwritev symbols weren't added to glibc until the 2.10 release, so trying to build the uio test leads to link failures. Add configure tests and update uio.test to handle this. * configure.ac (AC_CHECK_FUNCS): Add preadv/pwritev. * tests/uio.c: Include config.h. (main): Check for HAVE_PR

[PATCH] tests: ignore *.tmp files

2014-08-10 Thread Mike Frysinger
The tests like to generate random .tmp files, so ignore them. * tests/.gitignore: Add *.tmp. --- tests/.gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/.gitignore b/tests/.gitignore index e22e556..03c1051 100644 --- a/tests/.gitignore +++ b/tests/.gitignore @@ -8,3 +8,4 @@ uio

Re: preparing for the next release

2014-08-10 Thread Mike Frysinger
On Thu 07 Aug 2014 05:04:33 Dmitry V. Levin wrote: > These are odd: > $ grep '^FAIL: detach' tests/remote-test.*.log > tests/remote-test.lantank.log:FAIL: detach-sleeping > tests/remote-test.lantank.log:FAIL: detach-stopped > tests/remote-test.lantank.log:FAIL: detach-running > tests/remote-test.po

[PATCH] set_ptracer_any: add a little documentation

2014-08-10 Thread Mike Frysinger
This way I don't have to keep reading up on these options and wondering why the code isn't aborting when the call fails. * tests/set_ptracer_any.c (main): Note prctl failures are ok. --- tests/set_ptracer_any.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/set_ptracer_any.c b/tests/

[PATCH] tests: fix shell errors in detach tests

2014-08-10 Thread Mike Frysinger
The current detach test code does: set -e ... cleanup() { set +e kill ... wait ... } ... cleanup exit 0 The problem is that while `set -e` is disabled for the body of the cleanup function, it is

Fw: [PATCH] Add a function for dumping iovec in msghdr used in sendmsg and recvmsg

2014-08-10 Thread Masatake YAMATO
It seems that newer version will be released in soon. Is newer patch still acceptable in this stage? If yes, could you look at the attached patch? If no, I will send the patch again after releasing. Masatake YAMATO --- Begin Message --- * syscall.c (dumpio): Call dumpiov_in_msghdr if the target f

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

2014-08-10 Thread Zubin Mithra
Hi Dmitry, On Mon, Aug 11, 2014 at 8:50 AM, Zubin Mithra wrote: > Hi Dmitry, > > >> No, -y should not change, conversion of all relative paths to absolute >> should be controlled by another option. >> > > Thanks, got it. Currently I'm using the -A option for absolute path > decoding. > > >> When

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

2014-08-10 Thread Zubin Mithra
Hi Dmitry, > No, -y should not change, conversion of all relative paths to absolute > should be controlled by another option. > Thanks, got it. Currently I'm using the -A option for absolute path decoding. > When descriptors decoding is enabled, descriptors passed to *at syscalls > are decoded

[GSOC 2014]update for JSON output support

2014-08-10 Thread yangmin zhu
Hi all, here is my update to the JSON support for strace, I upload some test output and diff patch to gist for your review, you can see it all here: https://gist.github.com/zym0017d there are 3 kind files in my Gists: 1, you can see the test outputs with and without option '-j' for a comparison.

Re: [PATCH] signal: fix thinko in sa_restorer

2014-08-10 Thread Mike Frysinger
On Sun 10 Aug 2014 16:20:30 Dmitry V. Levin wrote: > On Sat, Aug 09, 2014 at 10:12:55PM -0400, Mike Frysinger wrote: > > Previous commit here re-added the bugs trying to be fixed due to a > > logic thinko. The patches were tested in isolation and hand merged > > later. Oops. > > > > * signal.c (

Re: [PATCH] signal: fix thinko in sa_restorer

2014-08-10 Thread Dmitry V. Levin
On Sat, Aug 09, 2014 at 10:12:55PM -0400, Mike Frysinger wrote: > Previous commit here re-added the bugs trying to be fixed due to a > logic thinko. The patches were tested in isolation and hand merged > later. Oops. > > * signal.c (struct new_sigaction): Change || to &&. Applied. Do alpha and