Skip to contentSkip to conversation

signal: Restrict signal_mask to file scope

PATCH Applied Mat Martineau 3 participants 3 messages Nov 14, 2018 – Nov 15, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 signal: Restrict signal_mask to file scope

---
 ell/signal.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
ell/signal.c +1 -1
index 710dc5c..36d6326 100644
@@ -64,7 +64,7 @@ struct signal_desc {
 
 static struct l_io *signalfd_io = NULL;
 static struct l_queue *signal_list = NULL;
-sigset_t signal_mask;
+static sigset_t signal_mask;
 
 static void handle_callback(struct signal_desc *desc)
 {
Signature · 1 line
2.19.1
#1 lore raw

Hi Mat,

Quoted 4 lines · Mat Martineau
---
  ell/signal.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

Whoops. Thanks for cleaning up after me.

Applied.

Regards,
-Denis

#2 lore raw

Hi Denis,

Quoted 7 lines
Quoted 3 lines
---
 ell/signal.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Whoops. Thanks for cleaning up after me.

Applied.

you might have forgotten to push your tree. So I picked up Mat’s patch and fixed the signal mask restore in case of signalfd failure.

Regards

Marcel