Tämä sivusto toimii paremmin JavaScriptillä.
Etusivu
Tutki
帮助
返回水杉在线
登录水杉在线
登录水杉码园
10213903403
/
os_kernel_lab
Tarkkaile
1
Äänestä
0
Fork
0
Koodi
Ongelmat
0
Pull-pyynnöt
0
Julkaisut
0
Wiki
Toiminta
Selaa lähdekoodia
fix bug in do_fork function
main
chyyuu
8 vuotta sitten
vanhempi
8d0dbae554
commit
f8d953397b
1 muutettua tiedostoa
jossa
1 lisäystä
ja
1 poistoa
Jaettu näkymä
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
labcodes_answer/lab8_result/kern/process/proc.c
+ 1
- 1
labcodes_answer/lab8_result/kern/process/proc.c
Näytä tiedosto
@ -484,7 +484,7 @@ do_fork(uint32_t clone_flags, uintptr_t stack, struct trapframe *tf) {
goto
bad_fork_cleanup_kstack
;
}
if
(
copy_mm
(
clone_flags
,
proc
)
!
=
0
)
{
goto
bad_fork_cleanup_
kstack
;
goto
bad_fork_cleanup_
fs
;
}
copy_thread
(
proc
,
stack
,
tf
)
;
Kirjoita
Esikatselu
Ladataan…
Peruuta
Tallenna