MCPcopy Create free account
hub / github.com/F-Stack/f-stack / exec_cleanup

Function exec_cleanup

freebsd/kern/kern_exec.c:974–983  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

972}
973
974void
975exec_cleanup(struct thread *td, struct vmspace *oldvmspace)
976{
977 if ((td->td_pflags & TDP_EXECVMSPC) != 0) {
978 KASSERT(td->td_proc->p_vmspace != oldvmspace,
979 ("oldvmspace still used"));
980 vmspace_free(oldvmspace);
981 td->td_pflags &= ~TDP_EXECVMSPC;
982 }
983}
984
985int
986exec_map_first_page(struct image_params *imgp)

Callers 3

post_execveFunction · 0.85
do_execveFunction · 0.85
start_initFunction · 0.85

Calls 1

vmspace_freeFunction · 0.85

Tested by

no test coverage detected