[PATCH] S390: Sync ptrace.h with kernel. [BZ #21539]
Andreas Schwab
schwab@suse.de
Tue Jun 6 10:44:00 GMT 2017
On Jun 06 2017, Stefan Liebler <stli@linux.vnet.ibm.com> wrote:
> Hi,
>
> this patch removes PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS
> and PTRACE_SETFPREGS as these requests does not exist on s390 kernel.
Since it is an API change it should probably get a NEWS entry.
> +static void
> +tracer_func (int pid)
> +{
> + unsigned long last_break;
> + ptrace_area parea;
> + gregset_t regs;
> + int status;
> +
> + while (1)
> + {
> + /* Wait for the tracee to be stopped or exited. */
> + wait (&status);
Doesn't that need to use WUNTRACED?
Andreas.
--
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."
More information about the Libc-alpha
mailing list