diff options
author | Roland McGrath <roland@redhat.com> | 2008-01-16 23:41:47 +0200 |
---|---|---|
committer | Adrian Bunk <bunk@kernel.org> | 2008-01-16 23:41:47 +0200 |
commit | 7e628a288e4046f92892406a5a4dc86610035ecc (patch) | |
tree | 147b256421758d4673d4d7f9091ab76563394e0b /include/asm-parisc/elf.h | |
parent | 51828e03b3b5627ef6a102f75c565bec85cab040 (diff) |
wait_task_stopped: Check p->exit_state instead of TASK_TRACED (CVE-2007-5500)
patch a3474224e6a01924be40a8255636ea5522c1023a in mainline
The original meaning of the old test (p->state > TASK_STOPPED) was
"not dead", since it was before TASK_TRACED existed and before the
state/exit_state split. It was a wrong correction in commit
14bf01bb0599c89fc7f426d20353b76e12555308 to make this test for
TASK_TRACED instead. It should have been changed when TASK_TRACED
was introducted and again when exit_state was introduced.
Signed-off-by: Roland McGrath <roland@redhat.com>
Signed-off-by: Adrian Bunk <bunk@kernel.org>
Diffstat (limited to 'include/asm-parisc/elf.h')
0 files changed, 0 insertions, 0 deletions