summaryrefslogtreecommitdiff
path: root/samples/bpf/run_cookie_uid_helper_example.sh
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2020-05-17 19:20:40 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-06-22 10:31:21 +0300
commit0dcbc7d6cd2d358549fb2211f02ba4d1faeb6b37 (patch)
tree0a089010690f0bf2aa99b21aac65c378127ca6b0 /samples/bpf/run_cookie_uid_helper_example.sh
parentf2f18147c7dbb7a360697e83d3d8174c6449e104 (diff)
downloadlinux-0dcbc7d6cd2d358549fb2211f02ba4d1faeb6b37.tar.xz
sparc32: fix register window handling in genregs32_[gs]et()
commit cf51e129b96847f969bfb8af1ee1516a01a70b39 upstream. 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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'samples/bpf/run_cookie_uid_helper_example.sh')
0 files changed, 0 insertions, 0 deletions