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
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 reduce a bit more,
&
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
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
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
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 (ver
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
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 a
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,
> >
On 19 Jan 2016 15:10, David Miller wrote:
> From: Mike Frysinger <vap...@gentoo.org>
> 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
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.
> [...]
>
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
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;
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
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:
> > > [...]
> > > &g
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)
> >
> > native
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
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
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
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
---
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 pid -y -yy -e all -o tracefile
with this output in the tracefile (only the important line):
send(21socket:[38588],
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 the
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
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
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.
* xlat/getsockipv6options.in, xlat
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
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
the kernel will adjust
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.
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
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 same
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 kernel drm headers in /usr/include/drm
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 drm headers in /usr/include/drm
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 maybe
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 that
Acked-by: Mike Frysinger vap...@gentoo.org
-mike
signature.asc
Description: Digital signature
--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership
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 e...@google.com
what i meant was this part:
* statfs.c (printstatfs) [_STATFS_F_FLAGS]: Print
On 17 Mar 2015 09:20, Andreas Schwab wrote:
Mike Frysinger vapier-abrp7r+bbdudnm+yrof...@public.gmane.org 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
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 friends which
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 into
On 20 Mar 2015 01:17, Masatake YAMATO wrote:
--- a/socketutils.c
+++ b/socketutils.c
@@ -7,6 +7,7 @@
#include linux/inet_diag.h
#include linux/unix_diag.h
#include linux/rtnetlink.h
+#include assert.h
shouldn't all non-linux/asm headers be before linux/asm includes ?
+#define ENTRY(e)
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_protocol
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
On 16 Mar 2015 21:42, Felix Janda wrote:
asm/ioctl.h 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
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
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
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:
asm/ioctl.h is for example needed for _IOC_SIZE(). That is
likely also the reason why ioctl.c includes it.
evdev.c includes linux
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
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 checkout of strace, starting from the very beginning
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': File exists
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-3.16.2-gentoo
kernel-headers-3.16.0
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
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 signature
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:
there's still random -Wsign-compare warnings
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
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 ~/var/linux/include ~/var/linux/arch/x86/include
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
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 are
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. If it isn't a kernel bug
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_PAGESIZE);
+#ifdef __s390__
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: test; sparc/32-bit/MSB linux-3.17.2 kernel
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 tracing of x86 binaries fails ?
I'd like to see
* 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
---
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
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
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
,
GCC_BOUNDS_OPTS=-no-message, LANG=en_US.UTF8, ECHANGELOG_USER=Mike
Frysinger ..., CROSTOOLS_GSUTIL=gsutil, PORTAGE_INST_UID=8282,
HISTCONTROL=ignoreboth, HOME=/home/vapier, SHLVL=7,
NACL_SDK_ROOT=/usr/local/src/nac..., TEST_LOGS=strace-f.log qual_sysc...,
srcdir=../../tests, LOGNAME=vapier, LESS=-R
* 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
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 a4 0b | 7f 00 00 01 00 00 00 00
On 03 Mar 2015 12:48, Masatake YAMATO wrote:
On Tue, 3 Mar 2015 03:13:11 +0300, Dmitry V. Levin l...@altlinux.org
wrote:
--- a/socketutils.c
+++ b/socketutils.c
@@ -114,7 +114,7 @@ receive_responses(const int fd, const unsigned long
inode,
const char
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
+++ b/socketutils.c
@@ -114,7 +114,7
On 02 Mar 2015 17:10, Masatake YAMATO wrote:
On Sun, 1 Mar 2015 04:05:33 -0500, Mike Frysinger vap...@gentoo.org 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
concerning.
if i hack
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 printed.
FAIL: statfs
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 s/%l/%j/g sysinfo.c.
No, %ju
On 03 Mar 2015 02:56, Masatake YAMATO wrote:
On Mon, 2 Mar 2015 04:48:13 -0500, Mike Frysinger vap...@gentoo.org wrote:
--- a/socketutils.c
+++ b/socketutils.c
@@ -64,7 +64,7 @@ inet_parse_response(const char *proto_name, const void
*data, int data_len,
const unsigned
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
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(0TCP:[127.0.0.1:55298], ...
[pid 25534] 09:32:03.205029
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
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
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
Thank you.
How about adding following
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/MSB linux-3.18.1 kernel-headers-3.16.0
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 files natively on x32?
I suppose
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 17513 /home/vapier/strace/tests/pc
On 27 Feb 2015 01:06, Mike Frysinger wrote:
i'll look into the ppc/sparc ipc_sem failures. i suspect it's a
kernel/system
config thing we need to test for and SKIP.
in both cases it's a 32bit prog running under a 64bit kernel. i suspect the
kernel is broken but no one noticed because who
On 27 Feb 2015 07:52, Dmitry V. Levin wrote:
On Thu, Feb 26, 2015 at 11:31:59PM -0500, Mike Frysinger wrote:
On 27 Feb 2015 05:30, Dmitry V. Levin wrote:
On Thu, Feb 26, 2015 at 05:56:43PM -0500, Mike Frysinger wrote:
detach-stopped.test.tmp contains just this:
Process 1267 attached
the sh4 failure looks like a race probably due to a loaded system. i re-ran
the
one failing test when it was quiet and it passed.
i'll look into the ppc/sparc ipc_sem failures. i suspect it's a kernel/system
config thing we need to test for and SKIP.
testing commit
would help if i attached the logs ;)
-mike
logs.tar.xz
Description: application/xz
signature.asc
Description: Digital signature
--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel
On 27 Feb 2015 01:23, Dmitry V. Levin wrote:
On Thu, Feb 26, 2015 at 01:10:39AM -0500, Mike Frysinger wrote:
vFAIL: test; i686/32-bit/LSB linux-3.18.4 kernel-headers-3.3.0 glibc-2.17
gcc-4.7.2
I'd like to know how to reproduce this.
this is just a standard 32-bit x86 userland system
On 26 Feb 2015 23:14, Dmitry V. Levin wrote:
On Thu, Feb 26, 2015 at 02:15:33AM -0500, Mike Frysinger wrote:
--- a/linux/ia64/syscallent.h
+++ b/linux/ia64/syscallent.h
@@ -26,6 +26,9 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+/* Undo any
On 27 Feb 2015 00:36, Dmitry V. Levin wrote:
On Thu, Feb 26, 2015 at 02:16:13PM -0500, Mike Frysinger wrote:
The parisc kernel has some legacy baggage here and decodes the 64bit
field in the reverse order. Handle it in strace too.
* fanotify.c [HPPA] (sys_fanotify_mark): Reverse
On 27 Feb 2015 05:30, Dmitry V. Levin wrote:
On Thu, Feb 26, 2015 at 05:56:43PM -0500, Mike Frysinger wrote:
detach-stopped.test.tmp contains just this:
Process 1267 attached
restart_syscall(... resuming interrupted call ...
That is, either kill -STOP failed to stop sleep
For a few linux releases (3.1 through 3.3), this define in the exported
headers were broken. Undefine it that's the case.
* ptrace.h [PTRACE_EVENT_STOP]: Undefine if PTRACE_EVENT_STOP is 7.
---
ptrace.h | 6 ++
1 file changed, 6 insertions(+)
diff --git a/ptrace.h b/ptrace.h
index
Use the AX_PROG_CC_FOR_BUILD helper to set up build settings when cross
compiling. This way ioctlsort uses the build tools all the time.
* configure.ac: Call AX_PROG_CC_FOR_BUILD.
* Makefile.am (ioctlsort_CC): Set to CC_FOR_BUILD.
(ioctlsort_CPPFLAGS): Change CPPFLAGS to CPPFLAGS_FOR_BUILD.
When files get updated, the bootstrap script should make sure the
parallel dirs are kept in sync.
* bootstrap: Always generate the test$m. Clean up symlinks first.
Don't link in Makefile.in files.
---
bootstrap | 9 +
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git
On 25 Feb 2015 13:06, Philippe Ombredanne wrote:
On Wed, Feb 25, 2015 at 12:59 PM, Dmitry V. Levin l...@altlinux.org wrote:
On Tue, Feb 24, 2015 at 07:51:52AM +0300, Dmitry V. Levin wrote:
I've configured strace.git mirrors where I push updates when
git.code.sf.net/p/strace/code.git is not
On 25 Feb 2015 16:37, Philippe Ombredanne wrote:
On Wed, Feb 25, 2015 at 4:19 PM, Luca Clementi luca.cleme...@gmail.com
wrote:
On Wed, Feb 25, 2015 at 1:06 PM, Philippe Ombredanne pombreda...@nexb.com
wrote:
I do not know of any satisfying alternative. Google groups is rather
crass.
There is no guarantee that the backing value for the various time fields
are ints or longs which makes printfs annoying. Lets cast them to the
uintmax_t type so we can use the j flag and not worry about truncation.
* v4l2.c (v4l2_ioctl): Use j and uintmax_t when printing tv_sec/tv_usec.
---
Newer autotools includes a compile helper script.
* .gitignore: Add /compile and core.
---
.gitignore | 2 ++
1 file changed, 2 insertions(+)
diff --git a/.gitignore b/.gitignore
index 770bba7..13b6afc 100644
--- a/.gitignore
+++ b/.gitignore
@@ -5,6 +5,7 @@
.version
.*.swp
*.gdb
+core
The ia64 port pulls in the i386 syscall table so it can decode 32bit
apps, so we need to enable the 16bit uid parsers for it.
* defs.h (NEED_UID16_PARSERS): Define to 1 for IA64.
* linux/ia64/syscallent.h: Undefine sys_stime to avoid redefine warnings.
---
defs.h | 1 +
On 21 Feb 2015 19:23, Alangi Derick wrote:
I just did a pull on the master branch. I pulled the latest working
copy of Strace and i ran the bootstrap file(./bootstrap). I found out that
there where some warnings and i don't understand what it means. Can anyone
help me with the meaning and
On 19 Feb 2015 20:26, Alangi Derick wrote:
I found out something when i built the latest version of Strace. I
notice that when i build the source, the object files are mixed with the
source codes them selves(.c files) but i thought of an idea that:
- When the source codes are built using:
1 - 100 of 330 matches
Mail list logo