ioctl decoding fix

2008-07-18 Thread Andreas Schwab
All those ioctls with indirect integer parameters are returning an int, not a long. Andreas. 2008-07-18 Andreas Schwab [EMAIL PROTECTED] * term.c (term_ioctl): Decode indirect parameter as int, not long. --- term.c 07 Okt 2005 18:10:06 +0200 1.8 +++ term.c 18 Jul 2008

Fix accept(2) decoding

2009-01-01 Thread Andreas Schwab
The third argument of accept is a pointer to int, not long. This also fixes the decoding of getsockname and getpeername, which is implemented in terms of this function. Andreas. 2009-01-01 Andreas Schwab sch...@suse.de * net.c (sys_accept): Properly decode third argument as pointer

Add more futex decoding

2009-08-11 Thread Andreas Schwab
[4]); } } return 0; -- Andreas Schwab, sch...@redhat.com GPG Key fingerprint = D4E8 DBE3 3813 BB5D FA84 5EC7 45C6 250E 6F00 984E And now for something completely different. -- Let Crystal

Re: Add more futex decoding

2009-08-12 Thread Andreas Schwab
Roland McGrath rol...@redhat.com writes: Looks good to me. Can you commit it? I don't have write access. Andreas. -- Andreas Schwab, sch...@redhat.com GPG Key fingerprint = D4E8 DBE3 3813 BB5D FA84 5EC7 45C6 250E 6F00 984E And now for something completely different

Re: Add more futex decoding

2009-08-12 Thread Andreas Schwab
Dmitry V. Levin l...@altlinux.org writes: Looks OK. Please append a Signed-off-by line to the commit message. README-hacking does not mention that. Andreas. -- Andreas Schwab, sch...@redhat.com GPG Key fingerprint = D4E8 DBE3 3813 BB5D FA84 5EC7 45C6 250E 6F00 984E And now for something

Re: preparing to 4.5.19 release

2009-09-21 Thread Andreas Schwab
start tying those up after 4.5.19. AFAICS all fedora bugs are covered, the only major issue left is the SIGTRAP handling. Andreas. -- Andreas Schwab, sch...@redhat.com GPG Key fingerprint = D4E8 DBE3 3813 BB5D FA84 5EC7 45C6 250E 6F00 984E And now for something completely different

[PATCH] Fix decoding of newfstatat syscall on x86-64

2009-10-16 Thread Andreas Schwab
From 61b7435ca146c8a75f867ae0e1fd35d74d7f86a5 Mon Sep 17 00:00:00 2001 From: Andreas Schwab sch...@redhat.com Date: Fri, 16 Oct 2009 11:37:13 +0200 Subject: [PATCH] Fix decoding of newfstatat syscall on x86-64 * file.c (printstat64) [LINUX X68_64]: If tracing a 64-bit process redirect

Re: Make strace correctly handle SIGTRAP produced by e.g.

2009-10-27 Thread Andreas Schwab
Any news about that thread? Andreas. -- Andreas Schwab, sch...@redhat.com GPG Key fingerprint = D4E8 DBE3 3813 BB5D FA84 5EC7 45C6 250E 6F00 984E And now for something completely different. -- Come build with us

[PATCH] Maintain separate print column for each process

2009-10-27 Thread Andreas Schwab
When the trace output goes to separate files (-ff) each process needs to maintain its own print column. Andreas. From ccdff481c086611488c5df70550fcf8fe907e7af Mon Sep 17 00:00:00 2001 From: Andreas Schwab sch...@redhat.com Date: Tue, 27 Oct 2009 16:27:13 +0100 Subject: [PATCH] Maintain separate

[PATCH] Remove support for pre-C89

2009-10-27 Thread Andreas Schwab
From 4af0b4866c0caeeb7b40126e9579d04b14afd5f2 Mon Sep 17 00:00:00 2001 From: Andreas Schwab sch...@redhat.com Date: Tue, 27 Oct 2009 16:56:43 +0100 Subject: [PATCH] Remove support for pre-C89 * defs.h: Remove references to __STDC__ and P macros. * strace.c: Likewise. --- defs.h | 186

Re: Make strace correctly handle SIGTRAP produced by e.g.

2009-10-28 Thread Andreas Schwab
Roland McGrath rol...@redhat.com writes: Sorry, is there a current patch you are proposing? Since I have no idea what's wrong with the patch I cannot propose anything. Andreas. -- Andreas Schwab, sch...@redhat.com GPG Key fingerprint = D4E8 DBE3 3813 BB5D FA84 5EC7 45C6 250E 6F00 984E

Re: Make strace correctly handle SIGTRAP produced by e.g.

2009-11-02 Thread Andreas Schwab
)) { /* -- 1.6.5.1 Andreas. -- Andreas Schwab, sch...@redhat.com GPG Key fingerprint = D4E8 DBE3 3813 BB5D FA84 5EC7 45C6 250E 6F00 984E And now for something completely different. -- Come build

[PATCH] Make strace correctly handle SIGTRAP produced by e.g. kill(2) and by trapping instruction.

2009-12-14 Thread Andreas Schwab
) != ptrace_stop_sig) { + /* This isn't a ptrace stop. */ + if (WSTOPSIG(status) == SIGSTOP (tcp-flags TCB_SIGTRAPPED)) { /* -- 1.6.5.5 Andreas. -- Andreas Schwab, sch

[PATCH] Don't kill the process when detaching

2010-01-11 Thread Andreas Schwab
From 71ed53b3d56568e04c4ebeb487d6c92cbe20dc57 Mon Sep 17 00:00:00 2001 From: Andreas Schwab sch...@redhat.com Date: Mon, 11 Jan 2010 17:51:48 +0100 Subject: [PATCH] Don't kill the process when detaching * strace.c (detach): Call clearbpt when TCB_BPTSET is set. --- strace.c |2 +- 1 files

Re: [PATCH] Fix spurious failure of AC_STAT64 test

2010-01-25 Thread Andreas Schwab
Here is a better patch, pre-POSIX systems might need sys/types.h before sys/stat.h. Andreas. From 3de3d6bf5abdf410110aed1f844992304f6ae8b9 Mon Sep 17 00:00:00 2001 From: Andreas Schwab sch...@redhat.com Date: Mon, 25 Jan 2010 11:32:48 +0100 Subject: [PATCH] Fix spurious failure of AC_STAT64 test

Re: [PATCH] Fix spurious failure of AC_STAT64 test

2010-01-26 Thread Andreas Schwab
Dmitry V. Levin ldv-u2l5PoMzF/vg9huczpv...@public.gmane.org writes: On Mon, Jan 25, 2010 at 11:38:09AM +0100, Andreas Schwab wrote: Here is a better patch, pre-POSIX systems might need sys/types.h before sys/stat.h. I suppose the proposed change fixes a real spurious failure I'm not aware

[PATCH] Decode recvmmsg syscall

2010-02-12 Thread Andreas Schwab
(, ); + print_timespec(tcp, tcp-u_arg[4]); + } + return 0; +} +#endif + #endif /* HAVE_SENDMSG */ int -- 1.6.6.2 Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 And now for something

[PATCH] Try to use PTRACE_SETOPTIONS to handle non-ptrace SIGTRAP

2010-02-24 Thread Andreas Schwab
to interrupt now. */ if (interrupted) return 0; -- 1.7.0 -- Andreas Schwab, sch...@redhat.com GPG Key fingerprint = D4E8 DBE3 3813 BB5D FA84 5EC7 45C6 250E 6F00 984E And now for something completely different

Re: [PATCH] Try to use PTRACE_SETOPTIONS to handle non-ptrace SIGTRAP

2010-03-03 Thread Andreas Schwab
of process disappearing mid-flight. -- 1.7.0.1 Andreas. -- Andreas Schwab, sch...@redhat.com GPG Key fingerprint = D4E8 DBE3 3813 BB5D FA84 5EC7 45C6 250E 6F00 984E And now for something completely different. -- Download

Re: [PATCH] Try to use PTRACE_SETOPTIONS to handle non-ptrace SIGTRAP

2010-03-04 Thread Andreas Schwab
+ goto tracing; + } if (trace_syscall(tcp) 0 !tcp-ptrace_errno) { /* ptrace() failed in trace_syscall() with ESRCH. * Likely a result of process disappearing mid-flight. -- 1.7.0.1 Andreas. -- Andreas Schwab

Re: [PATCH] Try to use PTRACE_SETOPTIONS to handle non-ptrace SIGTRAP

2010-03-08 Thread Andreas Schwab
) Continuing. Breakpoint 1, is_ptrace_stop (tcp=0x661030, status=34175) at ../strace/strace.c:2282 2282if (!(tcp-flags TCB_PTRACE_OPTIONS)) (gdb) Continuing. ) = 0 Andreas. -- Andreas Schwab, sch...@redhat.com GPG Key fingerprint = D4E8 DBE3 3813 BB5D FA84 5EC7 45C6 250E 6F00 984E

Re: [PATCH] Try to use PTRACE_SETOPTIONS to handle non-ptrace SIGTRAP

2010-03-09 Thread Andreas Schwab
Roland McGrath rol...@redhat.com writes: Sorry, this answer is wholly inadequate. I have shown you how reality looks like. This is perfectly adequate. I wrote a small test program and posted it. It does not matter. What matters is how strace has to handle reality. Andreas. -- Andreas

Re: [PATCH] fix build on systems that do not implement statfs64

2010-03-29 Thread Andreas Schwab
to actually be with the AC_STAT64 macro: This is about stat*fs*64, not stat64. Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 And now for something completely different

Re: [PATCH] fix build on systems that do not implement statfs64

2010-03-30 Thread Andreas Schwab
Adrien Kunysz adr...@kunysz.be writes: the build system cannot find statfs64 That's what needs to be addressed, not doctoring the symptoms. Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 And now for something

[PATCH] Document -C/-D

2010-06-11 Thread Andreas Schwab
output while processes are running\n\ -f -- follow forks, -ff -- with output into separate files\n\ -F -- attempt to follow vforks, -h -- print help message\n\ -i -- print instruction pointer at time of syscall\n\ -- 1.7.1 -- Andreas Schwab, sch...@redhat.com GPG Key fingerprint = D4E8 DBE3 3813

Re: [PATCH] Document -C/-D

2010-06-23 Thread Andreas Schwab
. */ case 'D': daemonized_tracer = 1; break; -- 1.7.1 -- Andreas Schwab, sch...@redhat.com GPG Key fingerprint = D4E8 DBE3 3813 BB5D FA84 5EC7 45C6 250E 6F00 984E And now for something completely different

[PATCH] Add biarch support for powerpc64

2010-07-03 Thread Andreas Schwab
) #define restore_arg0(tcp, state, val) ((void) (state), 0) -- 1.7.1.1 -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 And now for something completely different

Re: [PATCH] Add biarch support for powerpc64

2010-07-06 Thread Andreas Schwab
decoding issues either way. Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 And now for something completely different. -- This SF.net email

Re: [PATCH] Add biarch support for powerpc64

2010-07-06 Thread Andreas Schwab
There is actually one case where the names differ: newfstatat vs. fstatat64. But that's the only one. Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 And now for something completely different

[PATCH/v2] Add biarch support for powerpc64

2010-07-12 Thread Andreas Schwab
); +# else tprintf([%08lx] , pc); +# endif # elif defined(M68K) long pc; -- 1.7.1.1 -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 And now for something completely different

[PATCH] Handle biarch get/setrlimit

2010-07-17 Thread Andreas Schwab
) + else if (current_personality == 1) + print_rlimit32(tcp); +# endif else if (umove(tcp, tcp-u_arg[1], rlim) 0) tprintf({...}); else { -- 1.7.1.1 -- Andreas Schwab, sch...@linux-m68k.org GPG Key

[PATCH] Try to use PTRACE_SETOPTIONS to handle non-ptrace SIGTRAP

2010-07-20 Thread Andreas Schwab
. -- 1.7.1.1 -- Andreas Schwab, sch...@redhat.com GPG Key fingerprint = D4E8 DBE3 3813 BB5D FA84 5EC7 45C6 250E 6F00 984E And now for something completely different. -- This SF.net email is sponsored by Sprint What will you do

Re: [PATCH] Try to use PTRACE_SETOPTIONS to handle non-ptrace SIGTRAP

2010-07-23 Thread Andreas Schwab
-execve trap, of course. Andreas. -- Andreas Schwab, sch...@redhat.com GPG Key fingerprint = D4E8 DBE3 3813 BB5D FA84 5EC7 45C6 250E 6F00 984E And now for something completely different. -- This SF.net email

Re: [PATCH] Try to use PTRACE_SETOPTIONS to handle non-ptrace SIGTRAP

2010-07-23 Thread Andreas Schwab
Please test your code and don't come back until you did. It is your duty to prove that your code works. Andreas. -- Andreas Schwab, sch...@redhat.com GPG Key fingerprint = D4E8 DBE3 3813 BB5D FA84 5EC7 45C6 250E 6F00 984E And now for something completely different

Re: [PATCH] ARM EABI: fix 64-bit syscall's arguments decoding

2011-05-25 Thread Andreas Schwab
] This rule also applies to syscall's arguments. strace is not aware about this difference. This patch fixes it. Five syscalls affected. Please take a look at printllval. Andreas. -- Andreas Schwab, sch...@redhat.com GPG Key fingerprint = D4E8 DBE3 3813 BB5D FA84 5EC7 45C6 250E 6F00 984E And now

[PATCH] Add support for statfs64.f_flags

2012-01-17 Thread Andreas Schwab
_STATFS_F_FRSIZE tprintf(, f_frsize=%llu, (unsigned long long)statbuf.f_frsize); #endif +#ifdef _STATFS_F_FLAGS + tprintf(, f_flags=%llu, (unsigned long long)statbuf.f_flags); +#endif tprints(}); } -- 1.7.8.3 -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7

[PATCH] Add support for compat_statfs64

2012-01-17 Thread Andreas Schwab
)) + printcompat_statfs64(tcp, tcp-u_arg[2]); else tprints({???}); } -- 1.7.8.3 -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 And now for something completely different

Re: RFC: better signal names?

2012-03-15 Thread Andreas Schwab
Denys Vlasenko dvlasenk-h+wxahxf7alqt0dzr+a...@public.gmane.org writes: Gosh. OF COURSE it is stopped by signal, there are no other methods to stop processes in Unix but signal. That's not true. It can also be stopped by I/O. Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key

Re: Q: can rlim_t be a long long type on linux

2012-03-16 Thread Andreas Schwab
Dmitry V. Levin ldv-u2l5PoMzF/vg9huczpv...@public.gmane.org writes: Is it correct that rlim_t cannot be a long long type on linux, or am I missing something? x32 is going to be the first. Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3

Re: bug in commit 20f6b54385d2462d858419f7c67509cb3d22d155

2012-03-26 Thread Andreas Schwab
we'd better use suffix=${file:1+$pfxlen}. This is not portable. Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 And now for something completely different

[PATCH] AArch64: Fix printing of long long value

2013-03-30 Thread Andreas Schwab
* util.c (printllval): Fix printing of long long values on AArch64. Signed-off-by: Andreas Schwab sch...@suse.de --- util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util.c b/util.c index fa552cc..d4314ab 100644 --- a/util.c +++ b/util.c @@ -185,7 +185,7 @@ printxval

[PATCH] Fix building outside source directory

2013-03-30 Thread Andreas Schwab
: Likewise. * linux/x86_64/ioctlent2.h: Likewise. Signed-off-by: Andreas Schwab sch...@suse.de --- linux/aarch64/ioctlent1.h | 2 +- linux/powerpc/ioctlent1.h | 2 +- linux/tile/ioctlent1.h| 2 +- linux/x32/ioctlent1.h | 2 +- linux/x86_64/ioctlent1.h | 2 +- linux/x86_64/ioctlent2.h | 2

Re: [PATCH] Rewrite signal mask decoding without sigset_t

2014-02-27 Thread Andreas Schwab
. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 And now for something completely different. -- Flow-based real-time traffic analytics software. Cisco

Re: strace changes behavior of the traced process

2014-07-28 Thread Andreas Schwab
gets a chance to trace the inferior (there can be only one tracer). A newer gdb complains that the program exited during startup. Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 And now for something completely different

Re: [PATCH v2] Fix crash in ipc_sem test

2015-03-22 Thread Andreas Schwab
Mike Frysinger vapier-abrp7r+bbdudnm+yrof...@public.gmane.org writes: On 22 Mar 2015 10:08, Andreas Schwab wrote: Mike Frysinger vapier-abrp7r+bbdudnm+yrofe0a-xmd5yjdbdmrexy1tmh2...@public.gmane.org writes: with the older ipc_sem (before 4ed340bae64c84897fa7e42f6142592ef899f0cd

Re: [PATCH] tests/ipc_sem: don't match address of sem buffer

2015-03-16 Thread Andreas Schwab
Dmitry V. Levin ldv-u2l5PoMzF/vg9huczpv...@public.gmane.org writes: On Thu, Mar 12, 2015 at 11:13:49AM +0100, Andreas Schwab wrote: Dmitry V. Levin ldv-u2l5PoMzF/vg9huczpvpmw-xmd5yjdbdmrexy1tmh2...@public.gmane.org writes: On Wed, Mar 11, 2015 at 01:07:15PM +0100, Andreas Schwab wrote

[PATCH v2] Fix crash in ipc_sem test

2015-03-16 Thread Andreas Schwab
'ipc_sem failed' - ;; - esac + fi } args='-eipc ./ipc_sem' -- 2.3.3 -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 And now for something completely different

[PATCH] tests/ipc_*: match IPC_64 flag

2015-03-16 Thread Andreas Schwab
) return 1; - printf(shmctl\\(%d, IPC_RMID, 0\\) += 0\n, id); + printf(shmctl\\(%d, (IPC_64\\|)?IPC_RMID, 0\\) += 0\n, id); return rc; fail: -- 2.3.3 -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7

Re: [PATCH v2] Fix crash in ipc_sem test

2015-03-17 Thread Andreas Schwab
Mike Frysinger vapier-abrp7r+bbdudnm+yrof...@public.gmane.org writes: the kernel is still broken, In which way? Andreas. -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 And now for something completely different

Re: FAIL: strace-k

2015-03-19 Thread Andreas Schwab
Masatake YAMATO yam...@redhat.com writes: About aarch64, could you try a patch at the end of this mail? UNW_EBADREG Andreas. -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 And now for something completely different

FAIL: strace-k

2015-03-19 Thread Andreas Schwab
] +++ exited with 0 +++ expected: getpid f3 f2 f1 f0 main result: getpid()= 21387 ../strace: Can't initiate libunwind: Input/output error Process 21387 detached Andreas. -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748

Re: [PATCH] Fix decoding of mmap2 for arm

2015-03-10 Thread Andreas Schwab
mishandles the mmap2 syscall. Andreas. -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 And now for something completely different. -- Dive into the World

[PATCH] m68k: fix sigreturn decoding

2015-03-12 Thread Andreas Schwab
); + tprintsigmask_addr(, mask); tprints(}); } #elif defined(ALPHA) -- 2.3.2 -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 And now for something completely different

[PATCH] tests/ipc_sem: match IPC_64 flag

2015-03-12 Thread Andreas Schwab
) return 1; - printf(semctl\\(%d, 0, IPC_RMID, 0\\) += 0\n, id); + printf(semctl\\(%d, 0, (IPC_64\\|)?IPC_RMID, 0\\) += 0\n, id); return rc; fail: -- 2.3.2 -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA

Re: [PATCH] m68k: fix sigreturn decoding

2015-03-12 Thread Andreas Schwab
Dmitry V. Levin ldv-u2l5PoMzF/vg9huczpv...@public.gmane.org writes: On Wed, Mar 11, 2015 at 03:10:34PM +0100, Andreas Schwab wrote: * sigreturn.c (sys_sigreturn) [M68K]: Fetch the words of the signal mask from the proper place. --- sigreturn.c | 14 +- 1 file changed, 13

[PATCH] m68k: define HAVE_SA_RESTORER

2015-03-11 Thread Andreas Schwab
/signal.c @@ -62,7 +62,7 @@ # define HAVE_SA_RESTORER 1 # endif #else /* !SA_RESTORER */ -# if defined SPARC || defined SPARC64 +# if defined SPARC || defined SPARC64 || defined M68K # define HAVE_SA_RESTORER 1 # else # define HAVE_SA_RESTORER 0 -- 2.3.2 -- Andreas Schwab, SUSE Labs, sch

[PATCH] tests/ipc_sem: don't match address of sem buffer

2015-03-11 Thread Andreas Schwab
; -- 2.3.2 -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 And now for something completely different. -- Dive into the World of Parallel Programming

[PATCH] Fix crash in ipc_sem test

2015-03-11 Thread Andreas Schwab
' - ;; - esac + fi } args='-eipc ./ipc_sem' -- 2.3.2 -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 And now for something completely different. -- Dive

[PATCH] aarch64: properly decode generic syscalls

2015-03-12 Thread Andreas Schwab
/syscallent1.h @@ -3,9 +3,6 @@ /* Arch-specific block, not used on AArch64 */ [244 ... 259] = { }, -/* Blank down to 1023 */ -[277 ... 1023] = { }, - /* Quote from asm-generic/unistd.h: * * All syscalls below here should go away really, -- 2.3.2 -- Andreas Schwab, SUSE Labs, sch...@suse.de

FAIL: stat64-v.test

2015-03-12 Thread Andreas Schwab
-06:26:08, st_mtime=1141709097/06/13-06:26:08, st_ctime=2015/03/12-16:24:36}, 0) = 0 Andreas. -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 And now for something completely different

[PATCH] aarch64: fix ioctl decoding

2015-03-12 Thread Andreas Schwab
+#include 64/ioctls_inc.h -- 2.3.2 -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 And now for something completely different. -- Dive into the World

[PATCH] tests/select.test: handle architectures using pselect6 syscall

2015-03-12 Thread Andreas Schwab
syscall does not behave as expected' -args='-eselect ./select' +args=-e$syscall ./select $STRACE -o $LOG $args || { cat $LOG fail_ $STRACE $args failed -- 2.3.2 -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7

Re: [PATCH] tests/ipc_sem: don't match address of sem buffer

2015-03-12 Thread Andreas Schwab
Dmitry V. Levin ldv-u2l5PoMzF/vg9huczpv...@public.gmane.org writes: On Wed, Mar 11, 2015 at 01:07:15PM +0100, Andreas Schwab wrote: On architectures where the semctl call is implemented by the ipc syscall the glibc wrapper passes a pointer to a local variable, so the value of the fourth

[PATCH] tests/ipc_sem: verify that all patterns match

2015-03-12 Thread Andreas Schwab
mismatch } -- 2.3.2 -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 And now for something completely different. -- Dive into the World of Parallel

FAIL: stat64-v.test

2015-03-12 Thread Andreas Schwab
/02/07-06:28:16, st_mtime=2106/02/07-06:28:16, st_ctime=2015/03/12-11:14:33}) = 0 Andreas. -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 And now for something completely different

[PATCH] Distribute linux/aarch64/arch_regs.h

2015-03-12 Thread Andreas Schwab
-- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 And now for something completely different. -- Dive into the World of Parallel Programming The Go Parallel

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

2015-04-25 Thread Andreas Schwab
] [26e8] --- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0x2000} --- Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 And now for something completely different

Re: [GSOC] 4.11, 4.12 build results on Open Build Service

2016-06-03 Thread Andreas Schwab
2), thus all tests are meaningless. Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different." -- What N

strace 4.13 testsuite failure on s390x

2016-07-29 Thread Andreas Schwab
atch SKIP: pc s390: si_addr is unreliable pc.test: skipped test: ./pc exited with code 77 -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53

Re: strace 4.13 testsuite failure on s390x

2016-07-29 Thread Andreas Schwab
total count.test: failed test: ../strace -cw ./sleep 1 output mismatch SKIP: pc s390: si_addr is unreliable pc.test: skipped test: ./pc exited with code 77 -- Andreas Schwab, sc

Re: [PATCH v3 2/2] tests: Workaroud for buggy glibc in ipc_msg test on ppc64

2016-09-13 Thread Andreas Schwab
ion fault (instead of EFAULT from kernel). Which is a perfectly valid thing to do, as passing an invalid pointer to msgctl (the libc function) invokes undefined behaviour. If you want to test the kernel behaviour you need to talk to the kernel directly. Andreas. -- Andreas Schwab, SUSE Labs, sch.

Re: [PATCH v3 2/2] tests: Workaroud for buggy glibc in ipc_msg test on ppc64

2016-09-13 Thread Andreas Schwab
On Sep 13 2016, Eugene Syromyatnikov <evgsyr-re5jqeeqqe8avxtiumw...@public.gmane.org> wrote: > On Tue, Sep 13, 2016 at 7:32 AM, Andreas Schwab > <schwab-l3a5bk7w...@public.gmane.org> wrote: >> On Sep 13 2016, Eugene Syromyatnikov >> <evgsyr-re5jqeeqq

Re: strace 4.14 released

2016-10-05 Thread Andreas Schwab
On Okt 05 2016, Eugene Syromyatnikov <evgsyr-re5jqeeqqe8avxtiumw...@public.gmane.org> wrote: > May be you have any ideas regarding possibilities of fixing the > environment in order to get nanosleep? What do you mean with "in order to get nanosleep"? Andreas. -- And

Re: strace 4.14 released

2016-10-05 Thread Andreas Schwab
. -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different." -- Check out the vibrant tech commun

[PATCH] m68k: switch to PTRACE_GETREGS

2016-11-12 Thread Andreas Schwab
v/null @@ -1,5 +0,0 @@ -static int -get_syscall_result_regs(struct tcb *tcp) -{ - return upeek(tcp->pid, 4 * PT_D0, _d0) < 0 ? -1 : 0; -} -- 2.10.2 -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerpr

[PATCH] Don't run old_mmap test on m68k

2016-11-12 Thread Andreas Schwab
t; +SKIP_MAIN_UNDEFINED("__NR_mmap && (__arm__ || __i386__" " || (__s390__ && !__s390x__))") #endif -- 2.10.2 -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756

strace-V test fails next year

2017-04-04 Thread Andreas Schwab
FAIL: strace-V == 2c2 < Copyright (C) 1991-2017 The strace developers <https://strace.io>. --- > Copyright (C) 1991-2018 The strace developers <https://strace.io>. strace-V.test: failed test: ../strace -V output mismatch Andreas. -- Andreas Schwab, SUSE Labs, sch.

strace 4.17 testsuite failures

2017-05-26 Thread Andreas Schwab
: trace_statfs_like.gen Here is the full log: https://build.opensuse.org/package/live_build_log/home:AndreasSchwab/strace/13.1/ppc64 Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely diff

clock_nanosleep failure

2017-06-05 Thread Andreas Schwab
ndreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different." -- Check out the vibrant tech community on one of

Re: strace 4.17 testsuite failures

2017-06-04 Thread Andreas Schwab
On Mai 26 2017, Andreas Schwab <sch...@linux-m68k.org> wrote: > I see the following failing tests on powerpc64: > > FAIL: clock.gen > FAIL: regex.gen > FAIL: sched.gen > FAIL: sendfile.gen > FAIL: trace_fstat.gen > FAIL: trace_fstatfs.gen > FAIL: trace_lstat.gen

Re: clock_nanosleep failure

2017-06-06 Thread Andreas Schwab
On Jun 06 2017, "Dmitry V. Levin" <l...@altlinux.org> wrote: > Why clock_nanosleep is restarted after being interrupted by a signal > handler? What kind of kernel is behaving this way? Indeed, this was a kernel bug. Thanks, Andreas. -- Andreas Schwab, sch...@