Re: [PATCH] um: Correctly check for PTRACE_GETRESET/SETREGSET

From: Richard Weinberger
Date: Fri Jul 07 2017 - 05:34:32 EST

On Thu, Jul 6, 2017 at 9:35 AM, Richard Weinberger <richard@xxxxxx> wrote:
> When checking for PTRACE_GETRESET/SETREGSET, make sure that
> the correct header file is included. We need linux/ptrace.h
> which contains all ptrace UAPI related defines.
> Otherwise #if defined(PTRACE_GETRESET) is always false.
> Cc: Florian Fainelli <f.fainelli@xxxxxxxxx>
> Signed-off-by: Richard Weinberger <richard@xxxxxx>