Changeset View
Changeset View
Standalone View
Standalone View
sys/kern/kern_exit.c
Show First 20 Lines • Show All 162 Lines • ▼ Show 20 Lines | clear_orphan(struct proc *p) | ||||
} | } | ||||
LIST_REMOVE(p, p_orphan); | LIST_REMOVE(p, p_orphan); | ||||
p->p_treeflag &= ~P_TREE_ORPHANED; | p->p_treeflag &= ~P_TREE_ORPHANED; | ||||
} | } | ||||
/* | /* | ||||
* exit -- death of process. | * exit -- death of process. | ||||
*/ | */ | ||||
void | int | ||||
sys_sys_exit(struct thread *td, struct sys_exit_args *uap) | sys_exit(struct thread *td, struct exit_args *uap) | ||||
imp: syscall master has void, but you changed to int, why?
| |||||
Done Inline Actionssyscalls.master had int in it originally and I lost it in the rebase. I've restored it. brooks: syscalls.master had int in it originally and I lost it in the rebase. I've restored it. | |||||
{ | { | ||||
exit1(td, uap->rval, 0); | exit1(td, uap->rval, 0); | ||||
/* NOTREACHED */ | /* NOTREACHED */ | ||||
} | } | ||||
/* | /* | ||||
* Exit: deallocate address space and other resources, change proc state to | * Exit: deallocate address space and other resources, change proc state to | ||||
▲ Show 20 Lines • Show All 1,182 Lines • Show Last 20 Lines |
syscall master has void, but you changed to int, why?