Re: [PATCH 3/6] avr32: fix handling of blocked signals

From: Hans-Christian Egtvedt
Date: Mon Nov 01 2010 - 04:06:52 EST


On Tue, 2010-09-28 at 03:57 +0100, Al Viro wrote:
> We do _not_ want to block anything on failure to set sigframe up
> and we do not want to ignore sa_mask even when SA_NODOFER is set.
>
> Signed-off-by: Al Viro <viro@xxxxxxxxxxxxxxxxxx>
> ---
> arch/avr32/kernel/signal.c | 26 +++++++++++---------------
> 1 files changed, 11 insertions(+), 15 deletions(-)
>
> diff --git a/arch/avr32/kernel/signal.c b/arch/avr32/kernel/signal.c
> index 8c481fb..52affae 100644
> --- a/arch/avr32/kernel/signal.c
> +++ b/arch/avr32/kernel/signal.c
> @@ -231,28 +231,24 @@ handle_signal(unsigned long sig, struct k_sigaction *ka, siginfo_t *info,
> /*
> * Set up the stack frame
> */
> - ret = setup_rt_frame(sig, ka, info, oldset, regs);

Nuke the local ret variable in the same go.

<snipp>

--
Hans-Christian Egtvedt

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/