security fix: check that cancel/rsyscall signal was sent by the process itself