glibc/sysdeps/unix/sysv/linux/s390
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
..
bits Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
fpu Use libm_alias_double for s390. 2017-11-28 17:18:20 +00:00
s390-32 S390: Always use svc 0 2022-08-30 10:54:46 +02:00
s390-64 S390: Always use svc 0 2022-08-30 10:54:46 +02:00
sys Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
configure Move architecture cases out of sysdeps/unix/sysv/linux/configure.ac. 2014-06-24 20:53:03 +00:00
configure.ac Move architecture cases out of sysdeps/unix/sysv/linux/configure.ac. 2014-06-24 20:53:03 +00:00
dl-cache.h Update. 2003-06-25 08:19:44 +00:00
dl-procinfo.h s390: Move hwcaps/platform names out of _rtld_global_ro 2022-08-25 21:33:12 +02:00
elision-conf.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
elision-conf.h Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
elision-lock.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
elision-timed.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
elision-trylock.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
elision-unlock.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
htm.h Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
Implies NPTL is no longer an add-on! 2014-07-07 09:29:06 -07:00
ipc_priv.h Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
jmp-unwind.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
kernel_sigaction.h s390: Use generic kernel_sigaction.h 2018-12-18 19:52:23 -02:00
kernel-features.h Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
ldconfig.h Assume only FLAG_ELF_LIBC6 suport 2022-08-04 09:09:48 -03:00
ldd-rewrite.sed Remove left over LD_LIBRARY_VERSION usages 2022-08-04 09:09:48 -03:00
libpthread-compat.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
localplt.data mtrace: Wean away from malloc hooks 2021-07-22 18:38:06 +05:30
longjmp_chk.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
Makefile nptl: Move elision implementations into libc 2021-02-23 14:59:34 +01:00
mmap_call.h Linux: Define MMAP_CALL_INTERNAL 2022-05-04 15:37:21 +02:00
nldbl-abi.h * math/divtc3.c: New file. 2006-02-01 03:02:06 +00:00
readelflib.c elf: Remove ldconfig kernel version check 2022-05-16 15:03:49 -03:00
rt-sysdep.S Update. 2004-04-18 02:37:56 +00:00
sa_len.c Clean up __libc_sa_len helper. 2013-08-27 10:34:16 -07:00
sigcontextinfo.h Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
sysconf.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
sysdep.h S390: Always use svc 0 2022-08-30 10:54:46 +02:00
tst-ptrace-singleblock.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
ucontext_i.sym S/390: Revert the jmp_buf/ucontext_t ABI change. 2014-07-31 20:04:54 +02:00
Versions nptl: Remove longjmp, siglongjmp from libpthread 2021-04-21 19:49:50 +02:00
xstatver.h Remove mknod wrapper functions, move them to symbols 2020-10-09 17:02:06 -03:00