summaryrefslogtreecommitdiff
path: root/kernel/fork.c
diff options
context:
space:
mode:
authorAndrew Morton <akpm@osdl.org>2003-07-17 19:25:55 -0700
committerLinus Torvalds <torvalds@home.osdl.org>2003-07-17 19:25:55 -0700
commit04af9e586441d7a7de50675140a9b78a3d902ae3 (patch)
treec6057e9db9e18086eca0dfec21b11e5aa98e42e7 /kernel/fork.c
parent5773262567608d397ec0aa41b250db1e3bb5e694 (diff)
[PATCH] is_devfsd_or_child() deadlock fix
From: Andrey Borzenkov <arvidjaar@mail.ru> The code that did proper check existed in 2.4 and was removed in 2.5 for whatever reason. The patch restores it slightly modified as below. 2.4 code looks somewhat unclean in that - it traverses task list without lock. - it starts from current->real_parent but nothing prevents current be init_task itself. This hung for me on 2.5 during boot. May be 2.4 does something differently.
Diffstat (limited to 'kernel/fork.c')
0 files changed, 0 insertions, 0 deletions