Este sítio funciona melhor com JavaScript.
Página inicial
Explorar
帮助
返回水杉在线
登录水杉在线
登录水杉码园
10213903403
/
os_kernel_lab
Vigiar
1
Marcar como favorito
0
Derivar
0
Código
Questões
0
Pedidos de integração
0
Lançamentos
0
Wiki
Trabalho
Ver a proveniência
fix bug in do_fork function
main
chyyuu
há 8 anos
ascendente
8d0dbae554
cometimento
f8d953397b
1 ficheiros alterados
com
1 adições
e
1 eliminações
Visualização em 2 colunas
Opções das diferenças
Mostrar estatísticas
Descarregar ficheiro patch
Descarregar ficheiro diff
+1
-1
labcodes_answer/lab8_result/kern/process/proc.c
+ 1
- 1
labcodes_answer/lab8_result/kern/process/proc.c
Ver ficheiro
@ -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
)
;
Escrever
Pré-visualizar
Carregando…
Cancelar
Guardar