glibc/sysdeps/unix/sysv/linux/s390/s390-32
Stefan Liebler e57d8fc97b S390: Always use svc 0
On s390x syscalls are triggered by svc instruction. One can
pass the syscall number encoded in the instruction "svc 123"
or by storing it in r1:
lghi r1,123
svc 0

If the syscall number is encoded in the instruction, this can
cause broken syscall restarts.  Therefore this patch is now just
passing the syscall number in r1.

See also kernel-commit:
"s390/signal: switch to using vdso for sigreturn and syscall restart"
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/arch/s390/[%e2%80%a6]call.c?h=v6.0-rc1&id=df29a7440c4b5c65765c8f60396b3b13063e24e9

As information, the "svc 0" feature was introduced in kernel 2.5.62:
commit b5aad611393ef2e132e3648fa4c6e56a9cfa8708
2022-08-30 10:54:46 +02:00
..
____longjmp_chk.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
__makecontext_ret.S Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
arch-syscall.h Update syscall lists for Linux 5.17 2022-03-23 17:11:56 +00:00
c++-types.data
clone.S S390: Always use svc 0 2022-08-30 10:54:46 +02:00
getcontext.S S390: Always use svc 0 2022-08-30 10:54:46 +02:00
getutent_r.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
getutent.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
getutid_r.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
getutid.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
getutline_r.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
getutline.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
getutmp.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
getutxent.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
getutxid.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
getutxline.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
glob64-lstat-compat.c
kernel_stat.h
ld.abilist Fix glibc 2.34 ABI omission (missing GLIBC_2.34 in dynamic loader) 2022-01-27 18:52:05 +01:00
libanl.abilist
libBrokenLocale.abilist
libc_malloc_debug.abilist Move malloc_{g,s}et_state to libc_malloc_debug 2021-07-22 18:38:10 +05:30
libc.abilist stdlib: Add arc4random, arc4random_buf, and arc4random_uniform (BZ #4417) 2022-07-22 11:58:27 -03:00
libcrypt.abilist
libdl.abilist
libm.abilist math: Remove the error handling wrapper from hypot and hypotf 2021-12-13 10:08:46 -03:00
libnsl.abilist
libpthread.abilist
libresolv.abilist
librt.abilist
libthread_db.abilist
libutil-compat.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
libutil.abilist
login32.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
login.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
makecontext.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
Makefile
oldglob.c
posix_fadvise64.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
pututxline.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
setcontext.S S390: Always use svc 0 2022-08-30 10:54:46 +02:00
swapcontext.S S390: Always use svc 0 2022-08-30 10:54:46 +02:00
syscall.S Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
syscalls.list linux: Add prlimit64 C implementation 2021-11-30 13:13:03 -03:00
sysdep.h S390: Always use svc 0 2022-08-30 10:54:46 +02:00
sysdep.S Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
time64-compat.h
updwtmp.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
updwtmpx.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
utmp32.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
utmp32.h Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
utmp-compat.h Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
utmp-convert.h Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
utmpx32.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
utmpx32.h Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
utmpx-convert.h Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
Versions
vfork.S S390: Always use svc 0 2022-08-30 10:54:46 +02:00