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]>
---
 libc/signal.hh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libc/signal.hh b/libc/signal.hh
index 0699b80..c19246c 100644
--- 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;
-- 
2.7.4

-- 
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