aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/tasks.py
diff options
context:
space:
mode:
authorJann Horn <[email protected]>2020-10-15 20:12:43 -0700
committerLinus Torvalds <[email protected]>2020-10-16 11:11:21 -0700
commitdf0c09c0117300cd03f6e8532527bf591d4eee65 (patch)
treeb77a1adcf9afeedfdf8932e79a7e03d796a2f879 /scripts/gdb/linux/tasks.py
parent8f942eea12ae8c5a7cde85c145234b25e38de959 (diff)
coredump: let dump_emit() bail out on short writes
dump_emit() has a retry loop, but there seems to be no way for that retry logic to actually be used; and it was also buggy, writing the same data repeatedly after a short write. Let's just bail out on a short write. Suggested-by: Linus Torvalds <[email protected]> Signed-off-by: Jann Horn <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Acked-by: Linus Torvalds <[email protected]> Cc: Christoph Hellwig <[email protected]> Cc: Alexander Viro <[email protected]> Cc: "Eric W . Biederman" <[email protected]> Cc: Oleg Nesterov <[email protected]> Cc: Hugh Dickins <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions