diff options
author | Oleg Nesterov <[email protected]> | 2024-06-25 16:03:11 +0200 |
---|---|---|
committer | Andrew Morton <[email protected]> | 2024-07-04 23:43:09 -0700 |
commit | 1e3fa25fca48b25e0483c95bec626dd1007a9adf (patch) | |
tree | 5cc80a57d3afcb095739a5bca20dbfb1bbc41c88 /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | 2a49c8b6b6d0dba9c5a4e921f07fbd7a8ad7a5f1 (diff) |
coredump: simplify zap_process()
After commit 0258b5fd7c71 ("coredump: Limit coredumps to a single thread
group") zap_process() doesn't need the "task_struct *start" arg,
zap_threads() can pass "signal_struct *signal" instead.
This simplifies the code and allows to use __for_each_thread() which
is slightly more efficient.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Oleg Nesterov <[email protected]>
Cc: Christian Brauner <[email protected]>
Cc: Eric W. Biederman <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions