[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20110825163521.GA7883@redhat.com>
Date: Thu, 25 Aug 2011 18:35:21 +0200
From: Oleg Nesterov <oleg@...hat.com>
To: Stephen Rothwell <sfr@...b.auug.org.au>, Tejun Heo <tj@...nel.org>,
Matt Fleming <matt.fleming@...el.com>
Cc: linux-kernel@...r.kernel.org
Subject: [PATCH] add EXPORT_SYMBOL(set_current_blocked)
Export set_current_blocked() for modules. We have the code which
wrongly plays with ->blocked, and sigprocmask() should be avoided.
Reported-by: Stephen Rothwell <sfr@...b.auug.org.au>
Signed-off-by: Oleg Nesterov <oleg@...hat.com>
---
kernel/signal.c | 1 +
1 file changed, 1 insertion(+)
--- 3.1/kernel/signal.c~export_set_current_blocked 2011-08-25 18:23:42.000000000 +0200
+++ 3.1/kernel/signal.c 2011-08-25 18:24:02.000000000 +0200
@@ -2463,6 +2463,7 @@ void set_current_blocked(const sigset_t
__set_task_blocked(tsk, newset);
spin_unlock_irq(&tsk->sighand->siglock);
}
+EXPORT_SYMBOL(set_current_blocked);
/*
* This is also useful for kernel threads that want to temporarily
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists