[PATCH openEuler-1.0-LTS 078/111] ptrace: make ptrace() fail if the tracee changed its pid unexpectedly