aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/decode_stacktrace.sh
diff options
context:
space:
mode:
authorJann Horn <[email protected]>2019-05-29 11:31:57 +0000
committerEric W. Biederman <[email protected]>2019-06-11 20:08:28 +0000
commitf6581f5b55141a95657ef5742cf6a6bfa20a109f (patch)
treea0ccd00874d67118ab48624da6ecb633da8c6536 /scripts/decode_stacktrace.sh
parentsignal/ptrace: Don't leak unitialized kernel memory with PTRACE_PEEK_SIGINFO (diff)
downloadkernel-f6581f5b55141a95657ef5742cf6a6bfa20a109f.tar.gz
kernel-f6581f5b55141a95657ef5742cf6a6bfa20a109f.zip
ptrace: restore smp_rmb() in __ptrace_may_access()
Restore the read memory barrier in __ptrace_may_access() that was deleted a couple years ago. Also add comments on this barrier and the one it pairs with to explain why they're there (as far as I understand). Fixes: bfedb589252c ("mm: Add a user_ns owner to mm_struct and fix ptrace permission checks") Cc: [email protected] Acked-by: Kees Cook <[email protected]> Acked-by: Oleg Nesterov <[email protected]> Signed-off-by: Jann Horn <[email protected]> Signed-off-by: Eric W. Biederman <[email protected]>
Diffstat (limited to 'scripts/decode_stacktrace.sh')
0 files changed, 0 insertions, 0 deletions