From: Szabolcs Nagy <nsz@port70.net>
To: musl@lists.openwall.com
Subject: [PATCH 3/4] add SS_AUTODISARM sigaltstack ss_flags from linux v4.7 to signal.h
Date: Sat, 20 Aug 2016 17:04:44 +0200 [thread overview]
Message-ID: <86f4e624cfcf290d79a9804612af8495b4342789.1471700655.git.nsz@port70.net> (raw)
In-Reply-To: <cover.1471700655.git.nsz@port70.net>
only matters if swapcontext is used in a signal handler running on an
altstack, new in linux commit 2a74213838104a41588d86fd5e8d344972891ace
---
include/signal.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/include/signal.h b/include/signal.h
index a16094c..2c8b3d5 100644
--- a/include/signal.h
+++ b/include/signal.h
@@ -239,6 +239,8 @@ void (*sigset(int, void (*)(int)))(int);
#define POLL_HUP 6
#define SS_ONSTACK 1
#define SS_DISABLE 2
+#define SS_AUTODISARM (1U << 31)
+#define SS_FLAG_BITS SS_AUTODISARM
#endif
#if defined(_BSD_SOURCE) || defined(_GNU_SOURCE)
--
2.8.1
next prev parent reply other threads:[~2016-08-20 15:04 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-20 15:03 [PATCH 0/4] linux v4.7 update Szabolcs Nagy
2016-08-20 15:04 ` [PATCH 1/4] add PF_QIPCRTR, AF_QIPCRTR from linux v4.7 to sys/socket.h Szabolcs Nagy
2016-08-20 15:04 ` [PATCH 2/4] add UDP_ENCAP_GTP0, UDP_ENCAP_GTP1U from linux v4.7 to netinet/udp.h Szabolcs Nagy
2016-08-20 15:04 ` Szabolcs Nagy [this message]
2016-08-20 15:05 ` [PATCH 4/4] microblaze: add syscall numbers from linux v4.7 Szabolcs Nagy
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=86f4e624cfcf290d79a9804612af8495b4342789.1471700655.git.nsz@port70.net \
--to=nsz@port70.net \
--cc=musl@lists.openwall.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/musl/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).