Codebase list klibc / cdccd9c
s390: Define __sigreturn() on both s390 and s390x I now realise that I hadn't actually tested this patch at all before. So it's a good thing it only went to experimental. Ben Hutchings 3 years ago
2 changed file(s) with 8 addition(s) and 3 deletion(s). Raw diff Collapse all Expand all
0 klibc (2.0.8-3) UNRELEASED; urgency=medium
1
2 * s390: Define __sigreturn() on both s390 and s390x
3
4 -- Ben Hutchings <benh@debian.org> Sun, 23 Aug 2020 01:51:10 +0100
5
06 klibc (2.0.8-2) experimental; urgency=medium
17
28 * {alpha,s390,sparc}: Set sa_restorer for signals and disable executable
00 From: Ben Hutchings <ben@decadent.org.uk>
11 Date: Thu, 30 Apr 2020 03:38:34 +0100
22 Subject: [klibc] s390: Set sa_restorer for signals and disable executable stack
3 Origin: https://git.kernel.org/pub/scm/libs/klibc/klibc.git/commit?id=89d59ccf2d6ffede32c32b26eda57c24ec33b275
43
54 Add a __sigreturn stub and point sa_restorer to it by default, so
65 that the kernel doesn't create stack trampolines for signal return.
2625 +
2726 #endif /* _KLIBC_ARCHCONFIG_H */
2827 diff --git a/usr/klibc/SYSCALLS.def b/usr/klibc/SYSCALLS.def
29 index 461d9bf6..16faabcb 100644
28 index 461d9bf6..aa8a8e57 100644
3029 --- a/usr/klibc/SYSCALLS.def
3130 +++ b/usr/klibc/SYSCALLS.def
3231 @@ -228,6 +228,7 @@ int sigprocmask(int, const sigset_t *, sigset_t *);
3332 */
3433 <sh,sparc,alpha,ppc,sparc64> int sigsuspend::__sigsuspend_s(sigset_t);
3534 <arm,frv,i386,m68k,mn10300,s390,s390x> int sigsuspend::__sigsuspend_xxs(int, int, sigset_t);
36 +<s390> void sigreturn::__sigreturn();
35 +<s390,s390x> void sigreturn::__sigreturn();
3736 #endif
3837 int kill(pid_t, int);
3938 <?> unsigned int alarm(unsigned int);