summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2021-12-21 02:16:34 +0100
committerEric W. Biederman <ebiederm@xmission.com>2022-01-08 19:43:57 +0100
commit2d18f7f456209ed8a8fc138b8bc535dbdaf84695 (patch)
treedbffe8276260bbe286eae3ac7cac35d17d433afa /kernel
parentexit: Fix the exit_code for wait_task_zombie (diff)
downloadlinux-2d18f7f456209ed8a8fc138b8bc535dbdaf84695.tar.xz
linux-2d18f7f456209ed8a8fc138b8bc535dbdaf84695.zip
exit: Use the correct exit_code in /proc/<pid>/stat
Since do_proc_statt was modified to return process wide values instead of per task values the exit_code calculation has never been updated. Update it now to return the process wide exit_code when it is requested and available. History-Tree: https://git.kernel.org/pub/scm/linux/kernel/git/tglx/history.git Fixes: bf719d26a5c1 ("[PATCH] distinct tgid/tid CPU usage") Link: https://lkml.kernel.org/r/20220103213312.9144-4-ebiederm@xmission.com Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions