[CRIU] [PATCH 07/10] check: check PTRACE_PEEKSIGINFO and sigqueueinfo with positive si_code
Pavel Emelyanov
xemul at parallels.com
Thu Mar 14 12:13:10 EDT 2013
sleep(1000);
> + exit(1);
> + }
> +
> + if (ptrace(PTRACE_ATTACH, pid, NULL, NULL) == -1)
> + return 1;
> +
> + waitpid(pid, NULL, 0);
Indentation.
> +
> + arg.flags = 0;
> + arg.off = 0;
> + arg.nr = 1;
> +
> + if (ptrace(PTRACE_PEEKSIGINFO, pid, &arg, &siginfo) != 0) {
> + pr_perror("Unable to dump pending signals\n");
> + ret = 1;
More information about the CRIU
mailing list