[SCM] strace branch, master, updated. v4.10-25-g8497b62

Dmitry V. Levin ldv at altlinux.org
Tue Mar 24 02:13:13 UTC 2015


On Tue, Mar 24, 2015 at 03:49:10AM +0300, Dmitry V. Levin wrote:
> On Mon, Mar 23, 2015 at 05:50:39AM +0300, Dmitry V. Levin wrote:
> > On Sat, Mar 21, 2015 at 05:06:32PM +0000, Denys Vlasenko wrote:
> > [...]
> > > commit 8497b6222ed8ef606996d0ceb2bae260d82f95e2
> > > Author: Denys Vlasenko <dvlasenk at redhat.com>
> > > Date:   Sat Mar 21 17:51:52 2015 +0100
> > > 
> > >     Show the syscall name in "resuming interrupted call" message
[...]
> BTW, this "resuming interrupted system call" feature is broken on SPARC:
> 
> $ sleep 2 & sleep 1; ./strace -p $!
> [1] 24450
> Process 24450 attached
> syscall: unknown syscall trap 1a800004 f7ebea10
> syscall_516(0, 0x14980, 0x117e0, 0x1, 0x2, 0xffaef328) = 0
> close(1)                                = 0
> close(2)                                = 0
> exit_group(0)                           = ?
> +++ exited with 0 +++
> [1]+  Done                    sleep 2
> 
> ERESTART_RESTARTBLOCK is 516; what a coincidence! :)

It also doesn't work on alpha and s390/s390x:

$ sleep 2 & sleep 1; ./strace -erestart_syscall -p $!
[1] 12345
Process 12345 attached
restart_syscall(<... resuming interrupted unknown ...>) = 0
+++ exited with 0 +++
[1]+  Done                    sleep 2

syscall number "unknown" is (surpise!) 516 on alpha and -516 on s390/s390x.


-- 
ldv
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20150324/554326ab/attachment.bin>


More information about the Strace-devel mailing list