public
/
FUZIX.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6e2eafe
)
dragon: fork() must return zero to child
author
Tormod Volden
<debian.tormod@gmail.com>
Sun, 19 Apr 2015 16:43:42 +0000
(18:43 +0200)
committer
Alan Cox
<alan@linux.intel.com>
Sun, 19 Apr 2015 17:45:51 +0000
(18:45 +0100)
Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
Kernel/platform-dragon/tricks.s
patch
|
blob
|
history
diff --git
a/Kernel/platform-dragon/tricks.s
b/Kernel/platform-dragon/tricks.s
index
b23ee49
..
7dd86f5
100644
(file)
--- a/
Kernel/platform-dragon/tricks.s
+++ b/
Kernel/platform-dragon/tricks.s
@@
-148,6
+148,7
@@
_dofork:
; runticks = 0;
clr _runticks
; in the child process, fork() returns zero.
+ ldx #0
;
; And we exit, with the kernel mapped, the child now being deemed
; to be the live uarea. The parent is frozen in time and space as