Developing sig action handling in kernel