]> Git Repo - linux.git/commit
um: Correctly check for PTRACE_GETRESET/SETREGSET
authorRichard Weinberger <[email protected]>
Thu, 6 Jul 2017 07:35:27 +0000 (09:35 +0200)
committerRichard Weinberger <[email protected]>
Mon, 10 Jul 2017 20:58:06 +0000 (22:58 +0200)
commit61e8d462457f202bf0c6393133425ad387825e22
tree21dabc717e6042e69bb3ff35803e08dc29be24ef
parent94df7fe0d3e6418113783ff646507287c233e1e3
um: Correctly check for PTRACE_GETRESET/SETREGSET

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 <[email protected]>
Signed-off-by: Richard Weinberger <[email protected]>
arch/x86/um/user-offsets.c
This page took 0.055825 seconds and 4 git commands to generate.