patch-2.0.32 linux/fs/exec.c
Next file: linux/fs/inode.c
Previous file: linux/fs/buffer.c
Back to the patch index
Back to the overall index
- Lines: 20
- Date:
Fri Nov 7 09:57:30 1997
- Orig file:
v2.0.31/linux/fs/exec.c
- Orig date:
Wed Oct 15 14:56:43 1997
diff -u --recursive --new-file v2.0.31/linux/fs/exec.c linux/fs/exec.c
@@ -320,7 +320,7 @@
for (i = 0 ; i < MAX_ARG_PAGES ; i++) {
if (bprm->page[i]) {
free_page(bprm->page[i]);
- bprm->page[i]=NULL;
+ bprm->page[i] = 0;
}
}
}
@@ -411,8 +411,10 @@
return 0;
}
+ flush_cache_mm(current->mm);
exit_mmap(current->mm);
clear_page_tables(current);
+ flush_tlb_mm(current->mm);
return 0;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov