Skip to content
Commit ac21d417 authored by Dmitry Safonov's avatar Dmitry Safonov Committed by Pavel Emelyanov
Browse files

restore: compare whole k_rtsigset on inherite check



k_rtsigset_t has two words on ARM32.
That for-cycle should be optimized to no-op on other archs by compiler
where _KNSIG_WORDS is 1.

So, if a child blocks the signal which number is > 32 in this mask,
and other signals properties are the same - it will not have it blocked
after C/R.

Impact: fix for signals restoring on ARM32.

Cc: Christopher Covington <cov@codeaurora.org>
Cc: Cyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: default avatarDmitry Safonov <dsafonov@virtuozzo.com>
Reviewed-by: default avatarChristopher Covington <cov@codeaurora.org>
Signed-off-by: default avatarPavel Emelyanov <xemul@virtuozzo.com>
parent 8fa70268
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment