patch-2.1.109 linux/kernel/fork.c
Next file: linux/kernel/kmod.c
Previous file: linux/include/net/p8022trcall.h
Back to the patch index
Back to the overall index
- Lines: 11
- Date:
Tue Jul 7 10:37:07 1998
- Orig file:
v2.1.108/linux/kernel/fork.c
- Orig date:
Wed Jun 24 22:54:12 1998
diff -u --recursive --new-file v2.1.108/linux/kernel/fork.c linux/kernel/fork.c
@@ -308,6 +308,10 @@
if (clone_flags & CLONE_VM) {
mmget(current->mm);
+ /*
+ * Set up the LDT descriptor for the clone task.
+ */
+ copy_segments(nr, tsk, NULL);
SET_PAGE_DIR(tsk, current->mm->pgd);
return 0;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov