um: wrong sigmask saved in case of multiple sigframes
commit5a30a798fb501429522a30b6027a603244d659b2
authorAl Viro <viro@zeniv.linux.org.uk>
Fri, 27 Apr 2012 03:25:06 +0000 (26 23:25 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Mon, 21 May 2012 18:20:27 +0000 (21 14:20 -0400)
tree17a0e45af5c3b32f0a7005a094ad613b20ec6d61
parentd50349b0c397407458ea8c57aee765d158e6f9ee
um: wrong sigmask saved in case of multiple sigframes

we can't just find oldmask once; if there are multiple signals
and we loop building sigframes for those, ->saved_mask will be
definitely wrong for all but the first one.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
arch/um/kernel/signal.c