Re: [PATCH v2 1/2] xattr: use printstr_ex instead of print_quoted_string

2017-03-13 Thread Mike Frysinger
On 23 Dec 2016 08:28, JingPiao Chen wrote: > Could I ask a question? All the string even in struct should comply with -s > option? > All the string should NUL terminate? Thanks. it probably depends on the syscall ... not all buffers are NUL terminated. it would help if you quoted a specific syscal

Re: A: sched_xetattr.test fails consistently on aarch64

2017-03-13 Thread Mike Frysinger
On 14 Mar 2017 00:57, Mike Frysinger wrote: > so there's a disagreement in the overall system somewhere. > i'd assume either the kernel's implementation of access_ok, > or gcc's handling of the inline assembly. > > once i have access to a local system and

Re: A: sched_xetattr.test fails consistently on aarch64

2017-03-13 Thread Mike Frysinger
On 14 Mar 2017 00:13, Dmitry V. Levin wrote: > sched_xetattr.test introduced by commit v4.16-10-gf31755f > (tests: check decoding of sched_[gs]etattr corner cases) > consistently fails on aarch64. > > At the same time the test passes on all other architectures > where strace is being tested regula

Re: A: sched_xetattr.test fails consistently on aarch64

2017-03-13 Thread Mike Frysinger
On 14 Mar 2017 00:13, Dmitry V. Levin wrote: > However, I'm not an aarch64 expert myself, nor do I have the appropriate > aarch64 hardware to investigate, so this issue is not going to be solved > without your help. fwiw, i should have a Gentoo system available for you to remote access in the next

Re: Patch: Fix libunwind segfault when -p is passed before -k

2016-12-12 Thread Mike Frysinger
On 08 Dec 2016 10:00, Sean Stangl wrote: > +#ifdef USE_LIBUNWIND > +static void > +late_unwind_tcb_init() this needs a "(void)" in the def -mike signature.asc Description: Digital signature -- Check out the vibrant tech

Re: NOMMU bogus syscall return values

2016-03-02 Thread Mike Frysinger
On 02 Mar 2016 20:28, Rich Felker wrote: > On Thu, Mar 03, 2016 at 04:01:21AM +0300, Dmitry V. Levin wrote: > > On Mon, Feb 29, 2016 at 05:59:44PM -0500, Mike Frysinger wrote: > > > On 29 Feb 2016 15:56, Rich Felker wrote: > > [...] > > > > The attached (very h

Re: NOMMU bogus syscall return values

2016-02-29 Thread Mike Frysinger
On 29 Feb 2016 15:56, Rich Felker wrote: > I've been trying to use strace on a NOMMU system (sh2) and have been > experiencing an issue where the return value (read from r0) and args > 5/6 (r0,r1) are bogus, making the output much less useful than it > otherwise would be. The problem seems to be th

Re: Shift to Github?

2016-02-18 Thread Mike Frysinger
On 18 Feb 2016 16:19, Sahil Shekhawat wrote: > I just joined this mailing list and am interested in contributing but I am > wondering why we are still submitting patches on mailing lists and not > shift to Github already? Is there any specific reason to not do that? > I am asking this since I am ne

Re: syscall_4294967295

2016-02-15 Thread Mike Frysinger
On 15 Feb 2016 17:50, Dmitry V. Levin wrote: > On Mon, Feb 15, 2016 at 09:30:18AM -0500, Mike Frysinger wrote: > > On 15 Feb 2016 15:21, Dmitry V. Levin wrote: > > > On Mon, Feb 15, 2016 at 12:12:09PM +0100, Pas wrote: > > > > Thanks for the quick response and fo

Re: syscall_4294967295

2016-02-15 Thread Mike Frysinger
On 15 Feb 2016 15:21, Dmitry V. Levin wrote: > On Mon, Feb 15, 2016 at 12:12:09PM +0100, Pas wrote: > > Thanks for the quick response and for the hint! After testing with > > -fveseccomp,prctl > > it turns out that: > > > > docker-engine 1.10.1-0~wily uses seccomp (prctl PR_SET_SECCOMP, > > SECCOM

Re: [PATCH] Add test for mincore syscall

2016-01-26 Thread Mike Frysinger
On 26 Jan 2016 13:51, Fei Jie wrote: > --- /dev/null > +++ b/tests/mincore.c > @@ -0,0 +1,43 @@ > +#include "tests.h" files should have a comment header at the top with a license & description. > +int main() should be (void) > + int PAGESIZE = getpagesize(); don't use upper caps for this v

Re: using ptrace to cancel a syscall on sparc

2016-01-19 Thread Mike Frysinger
On 19 Jan 2016 15:10, David Miller wrote: > From: Mike Frysinger > Date: Mon, 18 Jan 2016 06:32:30 -0500 > > > looks like the bug is in arch/sparc/kernel/syscalls.S:linux_syscall_trace32 > > (and linux_syscall_trace). they don't reload the args from the pt_reg

Re: using ptrace to cancel a syscall on sparc

2016-01-18 Thread Mike Frysinger
On 21 Dec 2015 02:31, Dmitry V. Levin wrote: > On Sun, Dec 20, 2015 at 12:47:54AM -0500, Mike Frysinger wrote: > > i've been playing with ptrace on sparc and trying to use it to watch and > > cancel specific syscalls. i have this working for other arches already. > [...]

using ptrace to cancel a syscall on sparc

2015-12-19 Thread Mike Frysinger
i've been playing with ptrace on sparc and trying to use it to watch and cancel specific syscalls. i have this working for other arches already. the test is pretty simple: - call open("f", O_CREAT) - call unlink("f") the tracer will watch for the unlink, and when it gets notified, stuffs the sy

Re: Preparing for the next release: call for testing

2015-12-14 Thread Mike Frysinger
On 15 Dec 2015 00:59, Dmitry V. Levin wrote: > On Mon, Dec 14, 2015 at 04:46:49PM -0500, Mike Frysinger wrote: > > On 15 Dec 2015 00:24, Dmitry V. Levin wrote: > > > On Mon, Dec 14, 2015 at 03:45:40PM -0500, Mike Frysinger wrote: > > > [...] > > > > the

Re: Preparing for the next release: call for testing

2015-12-14 Thread Mike Frysinger
On 15 Dec 2015 00:24, Dmitry V. Levin wrote: > On Mon, Dec 14, 2015 at 03:45:40PM -0500, Mike Frysinger wrote: > [...] > > the older version of gawk used seems to be unhappy with the script. > > when i run the command manually: > > $ gawk -v VAR_NAME=mpers_target

Re: Preparing for the next release: call for testing

2015-12-14 Thread Mike Frysinger
On 15 Dec 2015 00:03, Dmitry V. Levin wrote: > On Mon, Dec 14, 2015 at 03:45:40PM -0500, Mike Frysinger wrote: > > On 11 Dec 2015 06:30, Dmitry V. Levin wrote: > > > On Thu, Dec 10, 2015 at 09:37:35PM -0500, Mike Frysinger wrote: > [...] > > > > vFAIL: test;

Re: Preparing for the next release: call for testing

2015-12-14 Thread Mike Frysinger
On 11 Dec 2015 06:30, Dmitry V. Levin wrote: > On Thu, Dec 10, 2015 at 09:37:35PM -0500, Mike Frysinger wrote: > > i haven't had a chance yet to triage these. > > > > testing commit bab4ef4272cd2596c7390b34ea8acc086ee8fdb2 (v4.10-566-gbab4ef4) > > > > n

Re: Preparing for the next release: call for testing

2015-12-10 Thread Mike Frysinger
i haven't had a chance yet to triage these. testing commit bab4ef4272cd2596c7390b34ea8acc086ee8fdb2 (v4.10-566-gbab4ef4) native (build+tests): vFAIL: build; x86_64 ??? linux-4.1.6 kernel-headers-3.4.0 glibc-2.4 gcc-4.5.4 vFAIL: test; armv7l 32-bit/LSB linux-3.4.0-vapi

Re: [PATCH] support C libs w/out System V shared memory/ipc

2015-12-10 Thread Mike Frysinger
On 24 Nov 2015 08:35, Dmitry V. Levin wrote: > I'm going to push your patch with the following editions, if you don't mind. i added the asm/xxxbuf.h stuff for completeness, but it wasn't strictly needed. i guess we can leave them out until we hit a use case for them. -mike signature.asc Descrip

[PATCH] support C libs w/out System V shared memory/ipc

2015-10-30 Thread Mike Frysinger
Some systems (like Bionic) omit support for SysV related code. That means no C library headers for strace to include. Add configure tests to probe the headers from the kernel and use them when they're available. It might make more sense to never rely on the C library's headers as there is no gua

[PATCH] printflags: handle empty xlats

2015-10-30 Thread Mike Frysinger
If the set of headers are unable to produce a valid list, printflags will try to pass NULL to tprints which crashes. Add a sanity check for this edge case. * util.c (printflags): Check xlat->str is not NULL. --- util.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/ut

Re: missing xlat/Makemodule.am

2015-10-27 Thread Mike Frysinger
On 27 Oct 2015 15:31, John Donners wrote: > thanks for maintaining and extending a great tool! > I tried to build strace from the repository, but it seems that it > misses a file xlat/Makemodule.am, which is mentioned in Makefile.am. > Is it maybe not yet added to the repository? you need to run `

[PATCH] mpers: fix shell code to conform better to POSIX

2015-09-29 Thread Mike Frysinger
The `echo -n` behavior is non-portable, so use printf instead. * generate_mpers_am.sh: Change `echo -n` to `printf`. --- generate_mpers_am.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generate_mpers_am.sh b/generate_mpers_am.sh index 382ef53..5469c94 100755 --- a/generat

Re: compile error for MIPS

2015-08-26 Thread Mike Frysinger
On 26 Aug 2015 19:36, Thomas Schmiedl wrote: > thanks for your reply. For better understanding: I try to realize this > idea: I use for internet & phone the router Fritzbox 7312. A dect-phone > (Gigaset) is connected to this router. There is an alternative firmware, > called 'Freetz' (freetz.org

Re: compile error for MIPS

2015-08-26 Thread Mike Frysinger
On 26 Aug 2015 13:56, Thomas Schmiedl wrote: > I have now built strace in a qemu-emulated mips-linux. The call on the > real mips-device (router) was: > > ./strace -p -y -yy -e all -o > > with this output in the tracefile (only the important line): > > send(21, "\32\0`\200\0\0\20\fKein Bier v

Re: [PATCH v4 2/5] drm: Add private data field to trace control block

2015-08-25 Thread Mike Frysinger
On 24 Aug 2015 14:42, Patrik Jakobsson wrote: > We need to be able to store private data in the tcb across it's > lifetime. To ensure proper destruction of the data a free_priv_data > callback must be provided if an allocation is stored in priv_data. The > callback is executed automatically when th

Re: [PATCH v4 1/5] drm: Add config for detecting libdrm

2015-08-25 Thread Mike Frysinger
On 24 Aug 2015 14:42, Patrik Jakobsson wrote: > +PKG_CHECK_MODULES([LIBDRM], [libdrm], > + [CPPFLAGS="$CPPFLAGS $LIBDRM_CFLAGS" > +AC_CHECK_HEADERS([drm.h i915_drm.h])], > + [AC_CHECK_HEADERS([drm/drm.h drm/i915_drm.h])]) i would make the drm/xxx headers

Re: [PATCH v3] decode extend getsockopt/setsockopt options

2015-08-20 Thread Mike Frysinger
On 20 Aug 2015 14:42, Dmitry V. Levin wrote: > On Wed, Aug 19, 2015 at 01:29:27PM -0400, Mike Frysinger wrote: > > * util.c (printxval): Rename to ... > > (printxvals): ... this. Rewrite to be varargs based. > > OK, let's have two separate functions so that > the mo

Re: decoding of input/output args ?

2015-08-19 Thread Mike Frysinger
On 19 Aug 2015 22:36, Dmitry V. Levin wrote: > On Wed, Aug 19, 2015 at 03:17:39PM -0400, Mike Frysinger wrote: > > some syscalls have arguments that are read/write. for example, getsockopt > > passes in a pointer to a length that has to be set correctly first, and then > > t

decoding of input/output args ?

2015-08-19 Thread Mike Frysinger
some syscalls have arguments that are read/write. for example, getsockopt passes in a pointer to a length that has to be set correctly first, and then the kernel will adjust it when returning. being able to see both values is important when getting an error so you can see what the user sent up a

[PATCH v3] decode extend getsockopt/setsockopt options

2015-08-19 Thread Mike Frysinger
Currently the code assumes the set of valid options between getsockopt and setsockopt are exactly the same and thus maintains one list. The kernel unfortunately does not do this -- it allows for different opts between the get and set functions. See the {g,s}et_opt{min,max} fields in the various n

Re: [PATCH/RFC] decode extend getsockopt/setsockopt options

2015-08-19 Thread Mike Frysinger
On 19 Aug 2015 18:56, Dmitry V. Levin wrote: > On Tue, Aug 18, 2015 at 05:03:20PM -0400, Mike Frysinger wrote: > [...] > > * util.c (printxval): Rename to ... > > (printxvals): ... this. Rewrite to be varargs based. > > * xlat/getsockipoptions.in: New xlat list. > >

[PATCH/RFC v2] decode extend getsockopt/setsockopt options

2015-08-19 Thread Mike Frysinger
Currently the code assumes the set of valid options between getsockopt and setsockopt are exactly the same and thus maintains one list. The kernel unfortunately does not do this -- it allows for different opts between the get and set functions. See the {g,s}et_opt{min,max} fields in the various n

[PATCH/RFC] decode extend getsockopt/setsockopt options

2015-08-18 Thread Mike Frysinger
Currently the code assumes the set of valid options between getsockopt and setsockopt are exactly the same and thus maintain one list. The kernel unfortunately does not do this -- it allows for different opts between the get and set functions. See the {g,s}et_opt{min,max} fields in the various ne

[PATCH] signal: SIGSYS: decode si_syscall & si_arch fields

2015-08-18 Thread Mike Frysinger
When receiving SIGSYS, the si_syscall & si_arch fields are set to known values, so make sure we decode their values into the symbol settings. This makes stracing seccomp failures much easier. * defs.h (syscall_name): New prototype. * printsiginfo.c: Include linux/audit.h and xlat/audit_arch.h. (pr

Re: [PATCH] device mapper support for strace

2015-08-13 Thread Mike Frysinger
On 11 Aug 2015 13:11, Mikulas Patocka wrote: > --- /dev/null > +++ strace/dm.c > @@ -0,0 +1,354 @@ > +#include "defs.h" all files should have a comment block at the top. see mtd.c as an example. > +{ > + switch (code) { > + case DM_REMOVE_ALL: case statements should be at the sa

Re: [PATCH v3 1/5] drm: Add config for detecting libdrm

2015-07-30 Thread Mike Frysinger
On 30 Jul 2015 15:30, Patrik Jakobsson wrote: > On Thu, Jul 23, 2015 at 05:48:21AM -0400, Mike Frysinger wrote: > > On 01 Jul 2015 14:52, Patrik Jakobsson wrote: > > > Use pkg-config to try to find libdrm. If that fails use the standard > > > include directory for

Re: [PATCH v3 1/5] drm: Add config for detecting libdrm

2015-07-23 Thread Mike Frysinger
On 23 Jul 2015 13:44, Dmitry V. Levin wrote: > On Thu, Jul 23, 2015 at 05:48:21AM -0400, Mike Frysinger wrote: > > On 01 Jul 2015 14:52, Patrik Jakobsson wrote: > > > Use pkg-config to try to find libdrm. If that fails use the standard > > > include directory for kernel

Re: [PATCH v3 1/5] drm: Add config for detecting libdrm

2015-07-23 Thread Mike Frysinger
On 01 Jul 2015 14:52, Patrik Jakobsson wrote: > Use pkg-config to try to find libdrm. If that fails use the standard > include directory for kernel drm headers in /usr/include/drm. > > * configure.ac: Use pkg-config to find libdrm > > Signed-off-by: Patrik Jakobsson > --- > configure.ac | 4 +++

Re: [PATCH] Add support for Altera's Nios-II softcore architecture

2015-04-21 Thread Mike Frysinger
On 19 Apr 2015 15:36, Ezequiel Garcia wrote: > Hm... I have a very limited test platform here. > > Can only boot limited size initramfs. I could try to fix my bootloader > to allow bigger initramfs, but this might take a lot of time. > > Am I required to run 'make check' to merge this? > > (Or m

Re: bugfix for strace for less-aligned kernel memory

2015-04-11 Thread Mike Frysinger
On 09 Apr 2015 15:23, Bolo wrote: > > can you post them as sep patches please. and use the unified diff format ? > > no one uses the context format anymore because no one can actually read it. > > I'll be happy to do that. > > You may not use context diffs, but they are still wide use. nowhere

testing commit 87af1935fb17ce3253ff2a573815ac88e1b48c31 (v4.10-58-g87af193)

2015-04-05 Thread Mike Frysinger
won't bother attaching the logs since they all pass. testing commit 87af1935fb17ce3253ff2a573815ac88e1b48c31 (v4.10-58-g87af193) native (build+tests): vPASS: alpha 64-bit/LSB linux-3.18.1 kernel-headers-3.19.0 glibc-2.20 gcc-4.9.2 vPASS: armv7l 32-bit/LSB linux-3.4.0-vapier

Re: Fix for building against musl

2015-03-28 Thread Mike Frysinger
Acked-by: Mike Frysinger -mike signature.asc Description: Digital signature -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is

Re: [PATCH v2] Fix crash in ipc_sem test

2015-03-22 Thread Mike Frysinger
On 22 Mar 2015 10:08, Andreas Schwab wrote: > Mike Frysinger writes: > > with the older ipc_sem (before 4ed340bae64c84897fa7e42f6142592ef899f0cd), > > building that ipc_sem and running strace on it creates an unkillable proc. > > Except that this has nothing to do with the

Re: [PATCH v2] Fix crash in ipc_sem test

2015-03-21 Thread Mike Frysinger
On 17 Mar 2015 09:20, Andreas Schwab wrote: > Mike Frysinger writes: > > the kernel is still broken, > > In which way? with the older ipc_sem (before 4ed340bae64c84897fa7e42f6142592ef899f0cd), building that ipc_sem and running strace on it creates an unkillable proc. with

Re: [PATCH] printstatfs missing f_flags

2015-03-21 Thread Mike Frysinger
On 17 Mar 2015 16:00, enh wrote: > Show f_flags field in printstatfs > > printstatfs64 was right, but printstatfs was missing f_flags. > Noticed on aarch64. > > Signed-off-by: Elliott Hughes what i meant was this part: * statfs.c (printstatfs) [_STATFS_F_FLAGS]: Print statfs.f_flags. -m

Re: [PATCH] Introduce xmalloc, memory allocator with die_out_of_memory()

2015-03-20 Thread Mike Frysinger
On 20 Mar 2015 13:30, Dmitry V. Levin wrote: > On Fri, Mar 20, 2015 at 02:53:39PM +0900, Masatake YAMATO wrote: > > In strace following code sentences are frequently used: > > > >var = malloc(fdsize); > > if (!var) > >die_out_of_memory(); > > > > This patch introduces xmalloc and

Re: bugfix for strace for less-aligned kernel memory

2015-03-19 Thread Mike Frysinger
On 19 Mar 2015 15:48, Bolo wrote: > This bugfix / patch consists of two portions can you post them as sep patches please. and use the unified diff format ? no one uses the context format anymore because no one can actually read it. -mike signature.asc Description: Digital signature

Re: [PATCH 3/3] Adapt TCP and TCPv6 to the socket address caching layer

2015-03-19 Thread Mike Frysinger
On 20 Mar 2015 01:17, Masatake YAMATO wrote: > + struct inet4_entry *entry4 = (struct inet4_entry *)entry; seems like the scache logic should have helpers for this > +static struct scache_protocol udp_protocol = { > +static struct scache_protocol tcp_protocol = { > +static struct scache_proto

Re: [PATCH 2/3] Print the hit rate of socket address cache with -C option

2015-03-19 Thread Mike Frysinger
On 20 Mar 2015 01:17, Masatake YAMATO wrote: > --- a/socketutils.c > +++ b/socketutils.c > > +void > +sockaddr_cache_summary(FILE * outf) no space after the * -mike signature.asc Description: Digital signature -- Dive in

Re: [PATCH 1/3] Introduce socket address information caching(scache) layer

2015-03-19 Thread Mike Frysinger
On 20 Mar 2015 01:17, Masatake YAMATO wrote: > --- a/socketutils.c > +++ b/socketutils.c > @@ -7,6 +7,7 @@ > #include > #include > #include > +#include shouldn't all non-linux/asm headers be before linux/asm includes ? > +#define ENTRY(e) ((struct scache_entry*)(e)) prob want a space befo

Re: Fix for building against musl

2015-03-17 Thread Mike Frysinger
On 17 Mar 2015 15:18, Dmitry V. Levin wrote: > On Tue, Mar 17, 2015 at 03:36:55AM -0400, Mike Frysinger wrote: > > On 16 Mar 2015 21:42, Felix Janda wrote: > > > is for example needed for _IOC_SIZE(). That is > > > likely also the reason why ioctl.c includes it. &

Re: [PATCH] printstatfs missing f_flags

2015-03-17 Thread Mike Frysinger
can you include changelog entries in the messages ? -mike signature.asc Description: Digital signature -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnershi

Re: Fix for building against musl

2015-03-17 Thread Mike Frysinger
On 16 Mar 2015 21:42, Felix Janda wrote: > is for example needed for _IOC_SIZE(). That is > likely also the reason why ioctl.c includes it. we should stick to linux/ioctl.h imo, and update ioctl.c to match -mike signature.asc Description: Digital signature --

Re: [PATCH v2] Fix crash in ipc_sem test

2015-03-17 Thread Mike Frysinger
fwiw, 68804b326709fadc7bb03f510a11771f07216a59 passes on ppc32 & sparc32 userland where they were crashing/hanging before the kernel is still broken, but at least the strace tests don't hit that :) -mike signature.asc Description: Digital signature --

Re: [PATCH] m68k: fix sigreturn decoding

2015-03-11 Thread Mike Frysinger
On 11 Mar 2015 15:10, Andreas Schwab wrote: > + addr -= sizeof (mask) - sizeof(long); > + if (umoven(tcp, addr, sizeof (mask) - sizeof(long), (char *) > &mask[1]) < 0) should be consistent with sizeof (foo) vs sizeof(foo) (should use the latter) -mike signature.asc Descr

Re: Fix for building against musl

2015-03-10 Thread Mike Frysinger
On 10 Mar 2015 19:37, Dima Krasner wrote: > --- strace-4.10-orig/evdev.c 2015-03-10 19:16:03.644273038 +0200 > +++ strace-4.10/evdev.c 2015-03-10 19:28:29.020290753 +0200 > @@ -29,6 +29,7 @@ > #include "defs.h" > > #ifdef HAVE_LINUX_INPUT_H > +#include > #include > #include "xlat/evd

Re: ./bootstrap failing

2015-03-07 Thread Mike Frysinger
On 06 Mar 2015 15:14, Christopher Covington wrote: > On 03/06/2015 02:43 PM, Mike Frysinger wrote: > > On 06 Mar 2015 13:29, Christopher Covington wrote: > >> I want this behavior so that from a simple shell script I can build the > >> latest > >> git checko

Re: ./bootstrap failing

2015-03-06 Thread Mike Frysinger
On 06 Mar 2015 13:29, Christopher Covington wrote: > On 03/04/2015 10:16 AM, Dmitry V. Levin wrote: > > On Wed, Mar 04, 2015 at 08:48:11AM -0500, Christopher Covington wrote: > >> I'm getting the following error: > >> > >> ./bootstrap > >> ln: failed to create symbolic link `tests-m32/Makefile': Fi

testing v4.9-399-g74219ea

2015-03-05 Thread Mike Frysinger
looks like shipping time testing commit 74219ea36f86d934abfb962964047f05e611baba (v4.9-399-g74219ea) native (build+tests): vPASS: alpha 64-bit/LSB linux-3.18.1 kernel-headers-3.19.0 glibc-2.20 gcc-4.9.2 vPASS: armv7l 32-bit/LSB linux-3.4.0-vapierkernel-headers-3.16.0 glib

Re: Preparing for the next release: call for testing

2015-03-04 Thread Mike Frysinger
On 05 Mar 2015 09:03, Dmitry V. Levin wrote: > On Wed, Mar 04, 2015 at 10:55:45PM -0500, Mike Frysinger wrote: > > testing commit a1c5e0721fb679a550ac0cd2c9e231409ebb1e26 (v4.9-391-ga1c5e07) > > > > native (build+tests): > > vFAIL: test; parisc 32-bit/MSB linux

Re: Preparing for the next release: call for testing

2015-03-04 Thread Mike Frysinger
On 04 Mar 2015 22:55, Mike Frysinger wrote: > build warnings: also warning on ppc64: signal.c:802:9: warning: array subscript is above array bounds [-Warray-bounds] -mike signature.asc Description: Digital signat

Re: Preparing for the next release: call for testing

2015-03-04 Thread Mike Frysinger
testing commit a1c5e0721fb679a550ac0cd2c9e231409ebb1e26 (v4.9-391-ga1c5e07) native (build+tests): vFAIL: test; parisc 32-bit/MSB linux-3.16.2-gentoo kernel-headers-3.16.0 glibc-2.19 gcc-4.7.3 vFAIL: test; s390x 64-bit/MSB linux-3.19.0 kernel-headers-3.16.0 glibc-2.19 gcc-4.

Re: trouble in kernel header inclusion in ./ioctls_gen.sh

2015-03-03 Thread Mike Frysinger
On 04 Mar 2015 02:21, Dmitry V. Levin wrote: > On Tue, Mar 03, 2015 at 06:09:28PM -0500, Mike Frysinger wrote: > > On 04 Mar 2015 06:40, Masatake YAMATO wrote: > > > When I run ioctls_gen.sh by hand, I got some errors: > > > > > > $ ./ioctls_gen.sh ~/va

Re: trouble in kernel header inclusion in ./ioctls_gen.sh

2015-03-03 Thread Mike Frysinger
On 04 Mar 2015 06:40, Masatake YAMATO wrote: > When I run ioctls_gen.sh by hand, I got some errors: > > $ ./ioctls_gen.sh ~/var/linux/include ~/var/linux/arch/x86/include > ... > /home/yamato/var/linux/include/uapi/linux/am437x-vpfe.h:122:12: error: > ‘BASE_VIDIOC_PRIVATE’ undeclared

Re: Preparing for the next release: call for testing

2015-03-03 Thread Mike Frysinger
On 03 Mar 2015 21:46, Dmitry V. Levin wrote: > On Tue, Mar 03, 2015 at 01:23:53PM -0500, Mike Frysinger wrote: > > On 03 Mar 2015 21:01, Dmitry V. Levin wrote: > > > On Tue, Mar 03, 2015 at 12:47:19PM -0500, Mike Frysinger wrote: > > > > build warnings: > > >

Re: Preparing for the next release: call for testing

2015-03-03 Thread Mike Frysinger
On 03 Mar 2015 21:01, Dmitry V. Levin wrote: > On Tue, Mar 03, 2015 at 12:47:19PM -0500, Mike Frysinger wrote: > > build warnings: > > there's still random -Wsign-compare warnings, but i guess we don't care > > about those > > There are exactly 3 diff

Re: Preparing for the next release: call for testing

2015-03-03 Thread Mike Frysinger
tl;dr: lets ship it testing commit 600eafb6edcb89d6d602073edae97089c0a1e41a (v4.9-373-g600eafb) native (build+tests): vPASS: alpha 64-bit/LSB linux-3.18.1 kernel-headers-3.19.0 glibc-2.20 gcc-4.9.2 vPASS: armv7l 32-bit/LSB linux-3.4.0-vapierkernel-headers-3.16.0 glibc-2.1

Re: alpha net-yy test failures due to port decode errors

2015-03-02 Thread Mike Frysinger
On 03 Mar 2015 13:32, Masatake YAMATO wrote: > On Mon, 2 Mar 2015 23:20:12 -0500, Mike Frysinger wrote: > > On 03 Mar 2015 12:48, Masatake YAMATO wrote: > >> On Tue, 3 Mar 2015 03:13:11 +0300, "Dmitry V. Levin" wrote: > >> >> > --- a/socketutils.c >

Re: alpha net-yy test failures due to port decode errors

2015-03-02 Thread Mike Frysinger
On 03 Mar 2015 12:48, Masatake YAMATO wrote: > On Tue, 3 Mar 2015 03:13:11 +0300, "Dmitry V. Levin" > wrote: > >> > --- a/socketutils.c > >> > +++ b/socketutils.c > >> > @@ -114,7 +114,7 @@ receive_responses(const int fd, const unsigned long > >> > inode, > >> >const char *pr

Re: mips test failures

2015-03-02 Thread Mike Frysinger
On 03 Mar 2015 04:30, Dmitry V. Levin wrote: > On Tue, Mar 03, 2015 at 04:07:45AM +0300, Dmitry V. Levin wrote: > > On Mon, Mar 02, 2015 at 07:26:08PM -0500, Mike Frysinger wrote: > > > FAIL: uio.test > > > pread64(3, "\0\0\0\0", 4, 1004211379570065135) = 4

[PATCH] clarify bootstrap-vs-autoreconf usage

2015-03-02 Thread Mike Frysinger
* README-hacking: Tell people to run ./boostrap. --- README-hacking | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README-hacking b/README-hacking index d2dfdd3..16d12c0 100644 --- a/README-hacking +++ b/README-hacking @@ -2,8 +2,9 @@ Requirements If you us

Re: mips test failures

2015-03-02 Thread Mike Frysinger
On 03 Mar 2015 02:12, Philippe Ombredanne wrote: > On Tue, Mar 3, 2015 at 1:26 AM, Mike Frysinger wrote: > > i got a mips box online that can do one-off o32/n32/n64 testing. > > Kudos. How did you manage that hat trick? A real Mips cpu? or a qemu? it's an actual mi

[PATCH] tests: skip ipc_sem on broken kernels

2015-03-02 Thread Mike Frysinger
Rather than trigger an ERROR which fails `make check`, go with SKIP instead. We don't want the testsuite failing due to kernel bugs. * tests/ipc_sem.c (main): Change 99 to 77. --- tests/ipc_sem.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tests/ipc_sem.c b/tests/ipc

[PATCH] tests: SKIP pc test on s390

2015-03-02 Thread Mike Frysinger
The s390 hardware can't support an exact si_addr, and the current kernels don't handle text addresses correctly at all. Until that improves, skip the test on s390. * tests/pc.c (main): Return 77 on s390 systems. --- tests/pc.c | 8 1 file changed, 8 insertions(+) diff --git a/tests/pc.

Re: Preparing for the next release: call for testing

2015-03-02 Thread Mike Frysinger
On 03 Mar 2015 03:20, Dmitry V. Levin wrote: > OK, would you like to prepare commits for pc and ipc_sem tests? OK -mike signature.asc Description: Digital signature -- Dive into the World of Parallel Programming The Go P

[PATCH] tests: note the kernel configs for -yy options

2015-03-02 Thread Mike Frysinger
* tests/net-yy.test: Note CONFIG_INET_TCP_DIAG. * tests/unix-yy.test: Note CONFIG_UNIX_DIAG. --- tests/net-yy.test | 2 +- tests/unix-yy.test | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/net-yy.test b/tests/net-yy.test index 8e6118a..47e3767 100755 --- a/tests/net-

mips test failures

2015-03-02 Thread Mike Frysinger
KELEVEL=5", "CONFIG_PROTECT_MASK=/etc/gentoo-"..., "PAGER=/usr/bin/less", "MFLAGS=-kw", "PATH=/home/vapier/.bin:/usr/lib/"..., "MAIL=/var/mail/vapier", "STY=26704.pts-0.lemote", "PWD=/home/vapier/strace/build-o3"..., &qu

Re: alpha net-yy test failures due to port decode errors

2015-03-02 Thread Mike Frysinger
On 03 Mar 2015 02:24, Dmitry V. Levin wrote: > On Mon, Mar 02, 2015 at 02:32:53PM -0500, Mike Frysinger wrote: > > done. the first run is with the +20 hack while the second is w/out. > > > > TCP:[127.0.0.1:44261->127.0.0.1:41995] > > : 02 01 00 00 ac e5 a

Re: Preparing for the next release: call for testing

2015-03-02 Thread Mike Frysinger
On 03 Mar 2015 01:30, Dmitry V. Levin wrote: > On Mon, Mar 02, 2015 at 05:26:37PM -0500, Mike Frysinger wrote: > > On 03 Mar 2015 00:44, Dmitry V. Levin wrote: > > > On Mon, Mar 02, 2015 at 04:13:07PM -0500, Mike Frysinger wrote: > > > > --- a/tests/pc.c > > &

Re: Preparing for the next release: call for testing

2015-03-02 Thread Mike Frysinger
On 03 Mar 2015 00:44, Dmitry V. Levin wrote: > On Mon, Mar 02, 2015 at 04:13:07PM -0500, Mike Frysinger wrote: > > --- a/tests/pc.c > > +++ b/tests/pc.c > > @@ -12,6 +12,14 @@ int main(void) > > { > > const unsigned long pagesize = sysconf(_SC_PAGE

Re: Preparing for the next release: call for testing

2015-03-02 Thread Mike Frysinger
On 02 Mar 2015 23:05, Dmitry V. Levin wrote: > On Mon, Mar 02, 2015 at 12:42:45AM -0500, Mike Frysinger wrote: > [...] > > vFAIL: test; ppc/32-bit/MSB linux-3.12.20-gentoo kernel-headers-3.13.0 > > glibc-2.21 gcc-4.8.4 > > kernel bug w/ipc > > vFAIL

Re: Preparing for the next release: call for testing

2015-03-02 Thread Mike Frysinger
On 02 Mar 2015 22:22, Dmitry V. Levin wrote: > On Mon, Mar 02, 2015 at 12:04:27PM -0500, Mike Frysinger wrote: > > On 02 Mar 2015 14:31, Dmitry V. Levin wrote: > > > On s390, besides kernel bug with si_addr, all printed instruction pointers > > > have 0x8000 bit set

Re: Preparing for the next release: call for testing

2015-03-02 Thread Mike Frysinger
On 02 Mar 2015 22:42, Dmitry V. Levin wrote: > On Mon, Mar 02, 2015 at 12:04:27PM -0500, Mike Frysinger wrote: > > On 02 Mar 2015 14:31, Dmitry V. Levin wrote: > > > On Mon, Mar 02, 2015 at 12:42:45AM -0500, Mike Frysinger wrote: > > > > - x32 statfs

Re: Where is tests-m32/Makefile.in?

2015-03-02 Thread Mike Frysinger
how about this. strace doesn't actually require "recent" versions, so we can drop that part. --- a/README-hacking +++ b/README-hacking @@ -2,8 +2,9 @@ Requirements If you use the GIT version of strace there will be some files missing that you need to build strace. These files ar

Re: alpha net-yy test failures due to port decode errors

2015-03-02 Thread Mike Frysinger
On 03 Mar 2015 02:56, Masatake YAMATO wrote: > On Mon, 2 Mar 2015 04:48:13 -0500, Mike Frysinger wrote: > > --- a/socketutils.c > > +++ b/socketutils.c > > @@ -64,7 +64,7 @@ inet_parse_response(const char *proto_name, const void > > *data, int data_len, > >

Re: Preparing for the next release: call for testing

2015-03-02 Thread Mike Frysinger
On 02 Mar 2015 14:31, Dmitry V. Levin wrote: > On Mon, Mar 02, 2015 at 12:42:45AM -0500, Mike Frysinger wrote: > > - x32 statfs tracing of x86 binaries fails ? > > I'd like to see the log. There are two test-suite.log files on x32, > but only tests/test-suite.log is

Re: Preparing for the next release: call for testing

2015-03-02 Thread Mike Frysinger
On 02 Mar 2015 18:13, Dmitry V. Levin wrote: > On Mon, Mar 02, 2015 at 02:31:51PM +0300, Dmitry V. Levin wrote: > > On Mon, Mar 02, 2015 at 12:42:45AM -0500, Mike Frysinger wrote: > > > - x32 sysinfo.c has type warnings > > The fix seems to be as simple as "sed -i

Re: alpha net-yy test failures due to port decode errors

2015-03-02 Thread Mike Frysinger
On 02 Mar 2015 17:10, Masatake YAMATO wrote: > On Sun, 1 Mar 2015 04:05:33 -0500, Mike Frysinger wrote: > > it looks like the logic in socketutils.c is off a bit. maybe some of the > > buffers aren't correct ? the large number marked "static" is a bit

Re: Where is tests-m32/Makefile.in?

2015-03-01 Thread Mike Frysinger
On 02 Mar 2015 14:53, Masatake YAMATO wrote: > On Mon, 2 Mar 2015 00:31:33 -0500, Mike Frysinger wrote: > > On 02 Mar 2015 13:49, Masatake YAMATO wrote: > >> How can I get tests-m32 directory? > > > > run the bootstrap script instead of autotools directly > &g

Re: Preparing for the next release: call for testing

2015-03-01 Thread Mike Frysinger
i think the things blocking the release now: - net-yy/unix-yy bugs that alpha is hitting - x32 sysinfo.c has type warnings - x32 statfs tracing of x86 binaries fails ? -mike testing commit d819fe88fb28a93af40ca0fea3ca4e610c1edb90 (v4.9-364-gd819fe8) native (build+tests): vFAIL: test; alpha/64-

Re: Where is tests-m32/Makefile.in?

2015-03-01 Thread Mike Frysinger
On 02 Mar 2015 13:49, Masatake YAMATO wrote: > How can I get tests-m32 directory? run the bootstrap script instead of autotools directly -mike signature.asc Description: Digital signature -- Dive into the World of Parall

Re: Preparing for the next release: call for testing

2015-03-01 Thread Mike Frysinger
On 02 Mar 2015 02:37, Dmitry V. Levin wrote: > Can we fix all these issues by ignoring > getresuid results in subsequent calls? hmm, that also works. there needs to be a comment in there so people don't try to clean it up/optimize, but otherwise an easy way to ignore the problem. :) -mike sig

alpha net-yy test failures due to port decode errors

2015-03-01 Thread Mike Frysinger
On 27 Feb 2015 01:06, Mike Frysinger wrote: > vFAIL: test; alpha/64-bit/LSB linux-3.18.1 kernel-headers-3.19.0 glibc-2.20 > gcc-4.9.2 > net-yy there's some port decoding weirdness going on here. the server does: 09:32:03.185497 accept(0, ... [pid 25534] 09:32:03.205029 <.

[PATCH] tests/getdents: handle older getdents calls

2015-03-01 Thread Mike Frysinger
If the tools we use call older getdents syscalls where d_type isn't passed back, or the arch is old (like Alpha) and can't pass back in either version, make sure we don't fail. * tests/getdents.awk (d_type_dir, d_type_reg): Accept DT_UNKNOWN. --- tests/getdents.awk | 5 +++-- 1 file changed, 3 in

Re: Preparing for the next release: call for testing

2015-02-28 Thread Mike Frysinger
On 27 Feb 2015 01:06, Mike Frysinger wrote: > vFAIL: test; s390/32-bit/MSB linux-3.18.1 kernel-headers-3.16.0 glibc-2.19 > gcc-4.8.3 > FAIL: uid > FAIL: uid16 these tests fail because: - s390 is old enough to have "real" 16bit uid syscalls - the tests are using 32bit

Re: Q: s390/s390x SIGSEGV SEGV_MAPERR reporting

2015-02-28 Thread Mike Frysinger
On 28 Feb 2015 23:09, Dmitry V. Levin wrote: > On Sat, Feb 28, 2015 at 02:38:45PM -0500, Mike Frysinger wrote: > > On 28 Feb 2015 18:40, Dmitry V. Levin wrote: > > > On Fri, Feb 27, 2015 at 01:06:22AM -0500, Mike Frysinger wrote: > > > > vFAIL: test; s390/32-bit/M

Re: Q: s390/s390x SIGSEGV SEGV_MAPERR reporting

2015-02-28 Thread Mike Frysinger
On 28 Feb 2015 18:40, Dmitry V. Levin wrote: > On Fri, Feb 27, 2015 at 01:06:22AM -0500, Mike Frysinger wrote: > > vFAIL: test; s390/32-bit/MSB linux-3.18.1 kernel-headers-3.16.0 glibc-2.19 > > gcc-4.8.3 > > FAIL: pc.test > > 0040-00401000 r-xp 5e:05 1751

Re: Q: ioctl files for x32

2015-02-28 Thread Mike Frysinger
On 28 Feb 2015 18:24, Dmitry V. Levin wrote: > On Fri, Feb 27, 2015 at 01:06:22AM -0500, Mike Frysinger wrote: > > vFAIL: test; x86_64/32-bit/LSB linux-3.18.4 kernel-headers-3.19.0 > > glibc-2.21 gcc-4.9.2 > > FAIL: ioctl > > Could you generate ioctls_{inc,arch}0.h

  1   2   3   4   5   >