aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/bpf/prog_tests/autoload.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2020-05-17 12:20:40 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2020-05-20 13:29:37 -0400
commitcf51e129b96847f969bfb8af1ee1516a01a70b39 (patch)
tree4311086f82c37df73c174cc71c3a8849079a84a5 /tools/testing/selftests/bpf/prog_tests/autoload.c
parentsparc64: fix misuses of access_process_vm() in genregs32_[sg]et() (diff)
downloadlinux-cf51e129b96847f969bfb8af1ee1516a01a70b39.tar.gz
linux-cf51e129b96847f969bfb8af1ee1516a01a70b39.zip
sparc32: fix register window handling in genregs32_[gs]et()
It needs access_process_vm() if the traced process does not share mm with the caller. Solution is similar to what sparc64 does. Note that genregs32_set() is only ever called with pos being 0 or 32 * sizeof(u32) (the latter - as part of PTRACE_SETREGS handling). Cc: stable@kernel.org Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions