From: Benoit Canet <[email protected]>
Committer: Nadav Har'El <[email protected]>
Branch: master

signal: Make room for 64th signal

The last signal of the list didn't have enough room for
him because signal numbers start at 1.
Make him some room so sigaction won't fail for him
when go lib execute.

Reviewed-by: BenoĆ®t Canet <[email protected]>
Message-Id: <[email protected]>

---
diff --git a/libc/signal.hh b/libc/signal.hh
--- a/libc/signal.hh
+++ b/libc/signal.hh
@@ -14,7 +14,7 @@

 namespace osv {

-static const unsigned nsignals = 64;
+static const unsigned nsignals = 65;

 struct sigset {
     std::bitset<nsignals> mask;

--
You received this message because you are subscribed to the Google Groups "OSv 
Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to