From: Oleg Nesterov <oleg@redhat.com>
To: Stephen Rothwell <sfr@canb.auug.org.au>,
Tejun Heo <tj@kernel.org>, Matt Fleming <matt.fleming@intel.com>
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH] add EXPORT_SYMBOL(set_current_blocked)
Date: Thu, 25 Aug 2011 18:35:21 +0200 [thread overview]
Message-ID: <20110825163521.GA7883@redhat.com> (raw)
In-Reply-To: <20110825141212.4f82835beaad506553e291e8@canb.auug.org.au>
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
prev parent reply other threads:[~2011-08-25 16:38 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-25 4:12 linux-next: build failure after merge of the ptrace tree Stephen Rothwell
2011-08-25 14:37 ` Oleg Nesterov
2011-08-25 16:35 ` Oleg Nesterov [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20110825163521.GA7883@redhat.com \
--to=oleg@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=matt.fleming@intel.com \
--cc=sfr@canb.auug.org.au \
--cc=tj@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox