diff options
author | Oleg Nesterov <oleg@redhat.com> | 2024-06-25 16:03:11 +0200 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2024-07-04 23:43:09 -0700 |
commit | 1e3fa25fca48b25e0483c95bec626dd1007a9adf (patch) | |
tree | 5cc80a57d3afcb095739a5bca20dbfb1bbc41c88 /security/smack | |
parent | 2a49c8b6b6d0dba9c5a4e921f07fbd7a8ad7a5f1 (diff) | |
download | linux-1e3fa25fca48b25e0483c95bec626dd1007a9adf.tar.gz linux-1e3fa25fca48b25e0483c95bec626dd1007a9adf.tar.bz2 linux-1e3fa25fca48b25e0483c95bec626dd1007a9adf.zip |
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/20240625140311.GA20787@redhat.com
Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Cc: Christian Brauner <brauner@kernel.org>
Cc: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'security/smack')
0 files changed, 0 insertions, 0 deletions