This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH-for-2.21-and-2.22] s390-64: remove socketcall syscalls


On 31 Dec 2015 23:28, Aurelien Jarno wrote:
> I have found some times to investigate. It seems there is no issue, my
> bad. I just discovered that on s390x, syscalls numbers above 256 are
> actually a a call to syscall 0 with the syscall number passed in
> register %r1. My version of strace was not aware of the new syscalls 
> and presented them as syscall setup(). Sorry for the false alert.

is this a bug in strace ?  does it not handle `svc 0` insns correctly ?
if so, we should fix that.  i assumed the kernel would put the correct
NR into the r1 register regardless of how the syscall was invoked, but
maybe i'm being naive.
-mike

Attachment: signature.asc
Description: Digital signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]