Fixed 69.4. Bug, call with PID=2 stops the system process thereby freezing the entire system!
git-svn-id: svn://kolibrios.org@8534 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
e7ed413a55
commit
44a5c1b211
@ -83,11 +83,15 @@ debug_terminate:
|
|||||||
debug_suspend:
|
debug_suspend:
|
||||||
; in: ecx=pid
|
; in: ecx=pid
|
||||||
; destroys eax,ecx
|
; destroys eax,ecx
|
||||||
cli
|
; { Patch by Coldy (rev. 7125), reason: http://board.kolibrios.org/viewtopic.php?f=1&t=1712&p=75957#p75957
|
||||||
mov eax, ecx
|
; cli
|
||||||
call pid_to_slot
|
; mov eax, ecx
|
||||||
shl eax, 5
|
; call pid_to_slot
|
||||||
jz .ret
|
; shl eax, 5
|
||||||
|
; jz .ret
|
||||||
|
call get_debuggee_slot
|
||||||
|
jc .ret
|
||||||
|
; } End patch
|
||||||
mov cl, [CURRENT_TASK+eax+TASKDATA.state] ; process state
|
mov cl, [CURRENT_TASK+eax+TASKDATA.state] ; process state
|
||||||
test cl, cl
|
test cl, cl
|
||||||
jz .1
|
jz .1
|
||||||
|
Loading…
Reference in New Issue
Block a user