arm: protect state after signal handler95/295/1
commit3045d2870b0b35f1ded037b4ef79bcfcd7ae5e43
authorBen Gras <ben@minix3.org>
Tue, 5 Feb 2013 16:17:19 +0000 (5 17:17 +0100)
committerBen Gras <ben@minix3.org>
Tue, 5 Feb 2013 16:25:38 +0000 (5 17:25 +0100)
treec18920aa0277ef6cdbb165ef8c0df4b32e3293df
parent298b41b52327711ea55805d23e26e8c918afae51
arm: protect state after signal handler

. set MF_CONTEXT_SET after signal handler state
  is set so it doesn't get clobbered by the kernel
  afterwards (i.e. by delivermsg()).

fixes at least test41.

Change-Id: I7e5e0e9311c8bbc1c0a9c7ca466ceddd9edfa03f
kernel/system/do_sigsend.c