Messages in this thread Patch in this message | | | Date | Thu, 25 Aug 2011 18:35:21 +0200 | From | Oleg Nesterov <> | 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@canb.auug.org.au> Signed-off-by: Oleg Nesterov <oleg@redhat.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
| |