Re: [PATCH 29/41] tile: Use set_current_blocked()

Chris Metcalf
2011-08-11T17:10:13Z

On 8/11/2011 9:57 AM, Matt Fleming wrote:
> From: Matt Fleming <matt.fleming@intel.com>
>
> As described in e6fa16ab ("signal: sigprocmask() should do
> retarget_shared_pending()") the modification of current->blocked is
> incorrect as we need to check whether the signal we're about to block
> is pending in the shared queue.
>
> Cc: Oleg Nesterov <oleg@redhat.com>
> Cc: Chris Metcalf <cmetcalf@tilera.com>
> Cc: Arnd Bergmann <arnd@arndb.de>
> Signed-off-by: Matt Fleming <matt.fleming@intel.com>
> ---
> arch/tile/kernel/compat_signal.c | 5 +----
> arch/tile/kernel/signal.c | 16 ++++++----------
> 2 files changed, 7 insertions(+), 14 deletions(-)

Acked-by: Chris Metcalf <cmetcalf@tilera.com>

--
Chris Metcalf, Tilera Corp.