Displaying 2 results from an estimated 2 matches for "4e38b1fd".
2020 Aug 27
0
[klibc:master] signal: Note another reason to define _KLIBC_NEEDS_SA_RESTORER
...cutable stack.
Signed-off-by: Ben Hutchings <ben at decadent.org.uk>
---
usr/include/klibc/sysconfig.h | 3 ++-
usr/klibc/sigaction.c | 2 --
2 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/usr/include/klibc/sysconfig.h b/usr/include/klibc/sysconfig.h
index c91d5b85..4e38b1fd 100644
--- a/usr/include/klibc/sysconfig.h
+++ b/usr/include/klibc/sysconfig.h
@@ -154,7 +154,8 @@
*
* Some architectures, like x86-64 and some i386 Fedora kernels,
* do not provide a default sigreturn, and therefore must have
- * SA_RESTORER set.
+ * SA_RESTORER set. On others, the default...
2020 Aug 27
0
[klibc:master] signal: Add sysconfig setting to force SA_SIGINFO on
...off-by: Ben Hutchings <ben at decadent.org.uk>
---
usr/include/klibc/sysconfig.h | 14 ++++++++++++++
usr/klibc/sigaction.c | 21 ++++++++++++++-------
2 files changed, 28 insertions(+), 7 deletions(-)
diff --git a/usr/include/klibc/sysconfig.h b/usr/include/klibc/sysconfig.h
index 4e38b1fd..5722e04f 100644
--- a/usr/include/klibc/sysconfig.h
+++ b/usr/include/klibc/sysconfig.h
@@ -162,6 +162,20 @@
#endif
+/*
+ * _KLIBC_NEEDS_SA_SIGINFO:
+ *
+ * On some architectures, the signal stack frame is set up for
+ * either sigreturn() or rt_sigreturn() depending on whether
+ * SA_SIGINFO...