patch-2.3.99-pre9 linux/arch/i386/kernel/ldt.c
Next file: linux/arch/i386/kernel/mpparse.c
Previous file: linux/arch/i386/kernel/irq.c
Back to the patch index
Back to the overall index
- Lines: 8
- Date:
Sat May 20 10:39:58 2000
- Orig file:
v2.3.99-pre8/linux/arch/i386/kernel/ldt.c
- Orig date:
Tue Aug 3 12:10:35 1999
diff -u --recursive --new-file v2.3.99-pre8/linux/arch/i386/kernel/ldt.c linux/arch/i386/kernel/ldt.c
@@ -93,6 +93,7 @@
mm->segments = vmalloc(LDT_ENTRIES*LDT_ENTRY_SIZE);
if (!mm->segments)
goto out_unlock;
+ memset(mm->segments, 0, LDT_ENTRIES*LDT_ENTRY_SIZE);
if (atomic_read(&mm->mm_users) > 1)
printk(KERN_WARNING "LDT allocated for cloned task!\n");
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)