patch-2.3.30 linux/fs/exec.c

Next file: linux/fs/ext2/acl.c
Previous file: linux/fs/efs/symlink.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.29/linux/fs/exec.c linux/fs/exec.c
@@ -371,6 +371,7 @@
 	if (mm) {
 		struct mm_struct *active_mm = current->active_mm;
 
+		init_new_context(current, mm);
 		current->mm = mm;
 		current->active_mm = mm;
 		activate_mm(active_mm, mm);

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)