diff options
Diffstat (limited to 'kernel/kmod.c')
-rw-r--r-- | kernel/kmod.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/kmod.c b/kernel/kmod.c index ec0d85d32..4a7e3ebda 100644 --- a/kernel/kmod.c +++ b/kernel/kmod.c @@ -116,7 +116,7 @@ int request_module(const char * module_name) /* Block everything but SIGKILL/SIGSTOP */ spin_lock_irq(¤t->sigmask_lock); tmpsig = current->blocked; - siginitset(¤t->blocked, ~(sigmask(SIGKILL)|sigmask(SIGSTOP))); + siginitsetinv(¤t->blocked, sigmask(SIGKILL) | sigmask(SIGSTOP)); recalc_sigpending(current); spin_unlock_irq(¤t->sigmask_lock); |