Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys



Module Name:    src
Committed By:   ad
Date:           Sat Mar 21 14:41:30 UTC 2009

Modified Files:
        src/sys/arch/amd64/amd64: gdt.c machdep.c
        src/sys/arch/i386/i386: gdt.c kvm86.c locore.S machdep.c vector.S
        src/sys/arch/i386/include: pcb.h
        src/sys/arch/x86/include: pmap.h sysarch.h
        src/sys/arch/x86/x86: pmap.c sys_machdep.c
        src/sys/compat/linux/arch/i386: linux_machdep.c
        src/sys/kern: init_main.c

Log Message:
PR port-i386/40143 Viewing an mpeg transport stream with mplayer causes crash

Fix numerous problems:

1. LDT updates are not atomic.

2. Number of processes running with private LDTs and/or I/O bitmaps
   is not capped. System with high maxprocs can be paniced.

3. LDTR can be leaked over context switch.

4. GDT slot allocations can race, giving the same LDT slot to two procs.

5. Incomplete interrupt/trap frames can be stacked.

6. In some rare cases segment faults are not handled correctly.


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/sys/arch/amd64/amd64/gdt.c
cvs rdiff -u -r1.128 -r1.129 src/sys/arch/amd64/amd64/machdep.c
cvs rdiff -u -r1.46 -r1.47 src/sys/arch/i386/i386/gdt.c
cvs rdiff -u -r1.16 -r1.17 src/sys/arch/i386/i386/kvm86.c
cvs rdiff -u -r1.84 -r1.85 src/sys/arch/i386/i386/locore.S
cvs rdiff -u -r1.665 -r1.666 src/sys/arch/i386/i386/machdep.c
cvs rdiff -u -r1.44 -r1.45 src/sys/arch/i386/i386/vector.S
cvs rdiff -u -r1.46 -r1.47 src/sys/arch/i386/include/pcb.h
cvs rdiff -u -r1.21 -r1.22 src/sys/arch/x86/include/pmap.h
cvs rdiff -u -r1.7 -r1.8 src/sys/arch/x86/include/sysarch.h
cvs rdiff -u -r1.79 -r1.80 src/sys/arch/x86/x86/pmap.c
cvs rdiff -u -r1.16 -r1.17 src/sys/arch/x86/x86/sys_machdep.c
cvs rdiff -u -r1.142 -r1.143 src/sys/compat/linux/arch/i386/linux_machdep.c
cvs rdiff -u -r1.383 -r1.384 src/sys/kern/init_main.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



Home | Main Index | Thread Index | Old Index