2003-05-25 13:20:49

by Steve G

[permalink] [raw]
Subject: [PATCH] sigprocmask and invalid how parameter

--- signal.c.orig 2003-05-25 07:12:46.000000000 -0400
+++ signal.c 2003-05-25 07:15:02.000000000 -0400
@@ -885,11 +885,13 @@
break;
}

+ if (error) {
+ spin_unlock_irq(&current->sigmask_lock);
+ goto out;
+ }
current->blocked = new_set;
recalc_sigpending(current);
spin_unlock_irq(&current->sigmask_lock);
- if (error)
- goto out;
if (oset)
goto set_old;
} else if (oset) {


Attachments:
inv_how.patch (409.00 B)
inv_how.patch