From: Matt Fleming Date: Fri, 11 May 2012 00:58:04 +0000 (+1000) Subject: microblaze: fix signal masking X-Git-Tag: v3.5-rc1~105^2~44 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bcb8c8d0b7131df1b5aad011db33e17f8def5d0b;p=pandora-kernel.git microblaze: fix signal masking There are a couple of problems with the current signal code, 1. If we failed to setup the signal stack frame then we should not be masking any signals. 2. ka->sa.sa_mask is only added to the current blocked signals list if SA_NODEFER is set in ka->sa.sa_flags. If we successfully setup the signal frame and are going to run the handler then we must honour sa_mask. Acked-by: Oleg Nesterov Acked-by: Michal Simek Signed-off-by: Matt Fleming Signed-off-by: Andrew Morton Signed-off-by: Al Viro --- Reading git-diff-tree failed