summaryrefslogtreecommitdiffstats
path: root/kernel/kmod.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/kmod.c')
-rw-r--r--kernel/kmod.c2
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(&current->sigmask_lock);
tmpsig = current->blocked;
- siginitset(&current->blocked, ~(sigmask(SIGKILL)|sigmask(SIGSTOP)));
+ siginitsetinv(&current->blocked, sigmask(SIGKILL) | sigmask(SIGSTOP));
recalc_sigpending(current);
spin_unlock_irq(&current->sigmask_lock);