linux-yocto/fs/proc
Oleg Nesterov 32caa50275 fs/proc: do_task_stat: use __for_each_thread()
commit 7904e53ed5 upstream.

do/while_each_thread should be avoided when possible.

Link: https://lkml.kernel.org/r/20230909164501.GA11581@redhat.com
Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Cc: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Stable-dep-of: 7601df8031 ("fs/proc: do_task_stat: use sig->stats_lock to gather the threads/children stats")
Cc: stable@vger.kernel.org
[ mheyne: adjusted context ]
Signed-off-by: Maximilian Heyne <mheyne@amazon.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2025-07-17 18:30:47 +02:00
..
array.c fs/proc: do_task_stat: use __for_each_thread() 2025-07-17 18:30:47 +02:00
base.c fs/procfs: fix the comment above proc_pid_wchan() 2025-04-10 14:32:02 +02:00
bootconfig.c
cmdline.c
consoles.c
cpuinfo.c
devices.c
fd.c
fd.h
generic.c proc: fix UAF in proc_get_inode() 2025-04-10 14:31:55 +02:00
inode.c fix proc_sys_compare() handling of in-lookup dentries 2025-07-17 18:30:46 +02:00
internal.h proc: fix UAF in proc_get_inode() 2025-04-10 14:31:55 +02:00
interrupts.c
Kconfig
kcore.c
kmsg.c
loadavg.c
Makefile
meminfo.c
namespaces.c
nommu.c
page.c
proc_net.c
proc_sysctl.c fix proc_sys_compare() handling of in-lookup dentries 2025-07-17 18:30:46 +02:00
proc_tty.c
root.c
self.c
softirqs.c proc/softirqs: replace seq_printf with seq_put_decimal_ull_width 2024-12-14 19:50:41 +01:00
stat.c
task_mmu.c fs/proc/task_mmu: indicate PM_FILE for PMD-mapped file THP 2024-08-19 05:45:09 +02:00
task_nommu.c
thread_self.c
uptime.c
util.c
version.c
vmcore.c fs/proc: fix softlockup in __read_vmcore (part 2) 2025-01-23 17:16:02 +01:00