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:Dmitry Safonov <dsafonov@virtuozzo.com> Reviewed-by:
Christopher Covington <cov@codeaurora.org> Signed-off-by:
Pavel Emelyanov <xemul@virtuozzo.com>
Showing
Please
register
or
sign in
to comment