glibc/sysdeps
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
..
aarch64 csu: Change start code license to have link exception 2022-08-26 09:14:53 +01:00
alpha alpha: Remove _dl_skip_args usage 2022-05-30 16:32:22 -03:00
arc csu: Change start code license to have link exception 2022-08-26 09:14:53 +01:00
arm arm: Remove nested functionf rom relocate_pc24 2022-08-12 09:46:22 -03:00
csky csky: Remove _dl_skip_args usage 2022-05-30 16:32:33 -03:00
generic Revert "Detect ld.so and libc.so version inconsistency during startup" 2022-08-25 18:46:43 +02:00
gnu Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
hppa hppa: Remove _dl_skip_args usage (BZ# 29165) 2022-05-30 16:32:35 -03:00
htl htl: Make pthread*_cond_timedwait register wref before releasing mutex 2022-08-22 22:27:24 +02:00
hurd hurd: Fix pthread_kill on exiting/ted thread 2022-01-15 15:11:54 +01:00
i386 i386: Use cmpl instead of cmp 2022-08-05 09:28:39 -03:00
ia64 grep: egrep -> grep -E, fgrep -> grep -F 2022-06-05 12:09:02 -07:00
ieee754 Ensure calculations happen with desired rounding mode in y1lf128 2022-08-18 12:32:18 +12:00
loongarch LoongArch: Use __builtin_{fmax,fmaxf,fmin,fminf} with GCC >= 13 2022-08-30 11:59:15 +08:00
m68k m68k: optimize RTLD_START 2022-06-25 00:22:02 +02:00
mach hurd: Fix vm_size_t incoherencies 2022-08-29 01:42:47 +02:00
microblaze microblaze: Remove _dl_skip_args usage 2022-05-30 16:33:14 -03:00
mips mips: Remove _dl_skip_args usage 2022-05-30 16:33:16 -03:00
nios2 Remove remnant reference to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA 2022-06-15 13:02:17 -07:00
nptl libio: Improve performance of IO locks 2022-08-11 16:47:45 +01:00
or1k csu: Change start code license to have link exception 2022-08-26 09:14:53 +01:00
posix Merge _GL_UNUSED C23 patch from Gnulib 2022-08-23 21:58:39 -07:00
powerpc arc4random: simplify design for better safety 2022-07-27 08:58:27 -03:00
pthread nptl: Fix __libc_cleanup_pop_restore asynchronous restore (BZ#29214) 2022-06-08 09:23:02 -03:00
riscv riscv: Update rv64 libm test ulps 2022-07-27 10:50:20 -03:00
s390 s390: Move hwcaps/platform names out of _rtld_global_ro 2022-08-25 21:33:12 +02:00
sh sh: Remove _dl_skip_args usage 2022-05-30 16:33:28 -03:00
sparc Makeconfig: Set pie-ccflag to -fPIE by default [BZ# 29514] 2022-08-29 09:03:00 -04:00
unix S390: Always use svc 0 2022-08-30 10:54:46 +02:00
wordsize-32 Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
wordsize-64 Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
x86 x86: Add support to build strcmp/strlen/strchr with explicit ISA level 2022-07-16 03:07:59 -07:00
x86_64 x86: Fix #define STRCPY guard in strcpy-sse2.S 2022-08-09 17:00:03 +08:00