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:   chs
Date:           Wed Jul  7 01:30:38 UTC 2010

Modified Files:
        src/sys/arch/x86/x86: linux_trap.c
        src/sys/compat/aoutm68k: aoutm68k_exec.c
        src/sys/compat/darwin: darwin_exec.c
        src/sys/compat/freebsd: freebsd_exec.c
        src/sys/compat/ibcs2: ibcs2_exec.c
        src/sys/compat/irix: irix_exec.c
        src/sys/compat/linux/arch/alpha: files.linux_alpha linux_machdep.c
            syscalls.master
        src/sys/compat/linux/arch/amd64: linux_exec_machdep.c linux_machdep.c
            linux_machdep.h syscalls.master
        src/sys/compat/linux/arch/arm: linux_commons.c linux_machdep.c
            linux_ptrace.c linux_sys_machdep.c syscalls.master
        src/sys/compat/linux/arch/i386: linux_exec_machdep.c linux_machdep.c
            linux_machdep.h linux_ptrace.c syscalls.master
        src/sys/compat/linux/arch/m68k: files.linux_m68k linux_machdep.c
            syscalls.master
        src/sys/compat/linux/arch/mips: files.linux_mips linux_machdep.c
            syscalls.master
        src/sys/compat/linux/arch/powerpc: files.linux_powerpc
            linux_exec_powerpc.c linux_machdep.c syscalls.master
        src/sys/compat/linux/common: linux_emuldata.h linux_exec.c linux_exec.h
            linux_futex.c linux_futex.h linux_machdep.h linux_misc.c
            linux_misc_notalpha.c linux_sched.c linux_signal.c linux_sysctl.c
        src/sys/compat/linux32/arch/amd64: linux32_exec.h linux32_machdep.c
            linux32_types.h syscalls.master
        src/sys/compat/linux32/common: linux32_exec.c linux32_exec.h
            linux32_exec_elf32.c linux32_machdep.h linux32_misc.c linux32_mod.c
            linux32_sched.c linux32_sysctl.c linux32_time.c linux32_types.h
        src/sys/compat/mach: mach_exec.c mach_exec.h
        src/sys/compat/osf1: osf1_exec.c
        src/sys/compat/pecoff: pecoff_emul.c
        src/sys/compat/sunos: sunos_exec.c
        src/sys/compat/sunos32: sunos32_exec.c
        src/sys/compat/svr4: svr4_exec.c
        src/sys/compat/svr4_32: svr4_32_exec.c
        src/sys/compat/ultrix: ultrix_misc.c
        src/sys/kern: kern_exec.c kern_exit.c kern_fork.c kern_lwp.c
            kern_proc.c sys_lwp.c
        src/sys/sys: lwp.h proc.h

Log Message:
many changes for COMPAT_LINUX:
 - update the linux syscall table for each platform.
 - support new-style (NPTL) linux pthreads on all platforms.
   clone() with CLONE_THREAD uses 1 process with many LWPs
   instead of separate processes.
 - move the contents of sys__lwp_setprivate() into a new
   lwp_setprivate() and use that everywhere.
 - update linux_release[] and linux32_release[] to "2.6.18".
 - adjust placement of emul fork/exec/exit hooks as needed
   and adjust other emul code to match.
 - convert all struct emul definitions to use named initializers.
 - change the pid allocator to allow multiple pids to refer to the same proc.
 - remove a few fields from struct proc that are no longer needed.
 - disable the non-functional "vdso" code in linux32/amd64,
   glibc works fine without it.
 - fix a race in the futex code where we could miss a wakeup after
   a requeue operation.
 - redo futex locking to be a little more efficient.


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/sys/arch/x86/x86/linux_trap.c
cvs rdiff -u -r1.24 -r1.25 src/sys/compat/aoutm68k/aoutm68k_exec.c
cvs rdiff -u -r1.60 -r1.61 src/sys/compat/darwin/darwin_exec.c
cvs rdiff -u -r1.36 -r1.37 src/sys/compat/freebsd/freebsd_exec.c
cvs rdiff -u -r1.73 -r1.74 src/sys/compat/ibcs2/ibcs2_exec.c
cvs rdiff -u -r1.57 -r1.58 src/sys/compat/irix/irix_exec.c
cvs rdiff -u -r1.7 -r1.8 src/sys/compat/linux/arch/alpha/files.linux_alpha
cvs rdiff -u -r1.45 -r1.46 src/sys/compat/linux/arch/alpha/linux_machdep.c
cvs rdiff -u -r1.71 -r1.72 src/sys/compat/linux/arch/alpha/syscalls.master
cvs rdiff -u -r1.17 -r1.18 \
    src/sys/compat/linux/arch/amd64/linux_exec_machdep.c
cvs rdiff -u -r1.37 -r1.38 src/sys/compat/linux/arch/amd64/linux_machdep.c
cvs rdiff -u -r1.12 -r1.13 src/sys/compat/linux/arch/amd64/linux_machdep.h
cvs rdiff -u -r1.34 -r1.35 src/sys/compat/linux/arch/amd64/syscalls.master
cvs rdiff -u -r1.9 -r1.10 src/sys/compat/linux/arch/arm/linux_commons.c
cvs rdiff -u -r1.28 -r1.29 src/sys/compat/linux/arch/arm/linux_machdep.c
cvs rdiff -u -r1.15 -r1.16 src/sys/compat/linux/arch/arm/linux_ptrace.c
cvs rdiff -u -r1.13 -r1.14 src/sys/compat/linux/arch/arm/linux_sys_machdep.c
cvs rdiff -u -r1.43 -r1.44 src/sys/compat/linux/arch/arm/syscalls.master
cvs rdiff -u -r1.15 -r1.16 \
    src/sys/compat/linux/arch/i386/linux_exec_machdep.c
cvs rdiff -u -r1.148 -r1.149 src/sys/compat/linux/arch/i386/linux_machdep.c
cvs rdiff -u -r1.36 -r1.37 src/sys/compat/linux/arch/i386/linux_machdep.h
cvs rdiff -u -r1.25 -r1.26 src/sys/compat/linux/arch/i386/linux_ptrace.c
cvs rdiff -u -r1.102 -r1.103 src/sys/compat/linux/arch/i386/syscalls.master
cvs rdiff -u -r1.4 -r1.5 src/sys/compat/linux/arch/m68k/files.linux_m68k
cvs rdiff -u -r1.41 -r1.42 src/sys/compat/linux/arch/m68k/linux_machdep.c
cvs rdiff -u -r1.68 -r1.69 src/sys/compat/linux/arch/m68k/syscalls.master
cvs rdiff -u -r1.5 -r1.6 src/sys/compat/linux/arch/mips/files.linux_mips
cvs rdiff -u -r1.40 -r1.41 src/sys/compat/linux/arch/mips/linux_machdep.c
cvs rdiff -u -r1.37 -r1.38 src/sys/compat/linux/arch/mips/syscalls.master
cvs rdiff -u -r1.9 -r1.10 \
    src/sys/compat/linux/arch/powerpc/files.linux_powerpc
cvs rdiff -u -r1.21 -r1.22 \
    src/sys/compat/linux/arch/powerpc/linux_exec_powerpc.c
cvs rdiff -u -r1.41 -r1.42 src/sys/compat/linux/arch/powerpc/linux_machdep.c
cvs rdiff -u -r1.44 -r1.45 src/sys/compat/linux/arch/powerpc/syscalls.master
cvs rdiff -u -r1.16 -r1.17 src/sys/compat/linux/common/linux_emuldata.h
cvs rdiff -u -r1.113 -r1.114 src/sys/compat/linux/common/linux_exec.c
cvs rdiff -u -r1.47 -r1.48 src/sys/compat/linux/common/linux_exec.h
cvs rdiff -u -r1.25 -r1.26 src/sys/compat/linux/common/linux_futex.c
cvs rdiff -u -r1.3 -r1.4 src/sys/compat/linux/common/linux_futex.h
cvs rdiff -u -r1.18 -r1.19 src/sys/compat/linux/common/linux_machdep.h
cvs rdiff -u -r1.215 -r1.216 src/sys/compat/linux/common/linux_misc.c
cvs rdiff -u -r1.106 -r1.107 \
    src/sys/compat/linux/common/linux_misc_notalpha.c
cvs rdiff -u -r1.62 -r1.63 src/sys/compat/linux/common/linux_sched.c
cvs rdiff -u -r1.70 -r1.71 src/sys/compat/linux/common/linux_signal.c
cvs rdiff -u -r1.39 -r1.40 src/sys/compat/linux/common/linux_sysctl.c
cvs rdiff -u -r1.3 -r1.4 src/sys/compat/linux32/arch/amd64/linux32_exec.h
cvs rdiff -u -r1.23 -r1.24 \
    src/sys/compat/linux32/arch/amd64/linux32_machdep.c
cvs rdiff -u -r1.6 -r1.7 src/sys/compat/linux32/arch/amd64/linux32_types.h
cvs rdiff -u -r1.55 -r1.56 src/sys/compat/linux32/arch/amd64/syscalls.master
cvs rdiff -u -r1.19 -r1.20 src/sys/compat/linux32/common/linux32_exec.c
cvs rdiff -u -r1.6 -r1.7 src/sys/compat/linux32/common/linux32_exec.h
cvs rdiff -u -r1.10 -r1.11 src/sys/compat/linux32/common/linux32_exec_elf32.c
cvs rdiff -u -r1.2 -r1.3 src/sys/compat/linux32/common/linux32_machdep.h \
    src/sys/compat/linux32/common/linux32_mod.c
cvs rdiff -u -r1.18 -r1.19 src/sys/compat/linux32/common/linux32_misc.c
cvs rdiff -u -r1.8 -r1.9 src/sys/compat/linux32/common/linux32_sched.c
cvs rdiff -u -r1.12 -r1.13 src/sys/compat/linux32/common/linux32_sysctl.c
cvs rdiff -u -r1.33 -r1.34 src/sys/compat/linux32/common/linux32_time.c
cvs rdiff -u -r1.11 -r1.12 src/sys/compat/linux32/common/linux32_types.h
cvs rdiff -u -r1.72 -r1.73 src/sys/compat/mach/mach_exec.c
cvs rdiff -u -r1.33 -r1.34 src/sys/compat/mach/mach_exec.h
cvs rdiff -u -r1.42 -r1.43 src/sys/compat/osf1/osf1_exec.c
cvs rdiff -u -r1.23 -r1.24 src/sys/compat/pecoff/pecoff_emul.c
cvs rdiff -u -r1.52 -r1.53 src/sys/compat/sunos/sunos_exec.c
cvs rdiff -u -r1.31 -r1.32 src/sys/compat/sunos32/sunos32_exec.c
cvs rdiff -u -r1.64 -r1.65 src/sys/compat/svr4/svr4_exec.c
cvs rdiff -u -r1.25 -r1.26 src/sys/compat/svr4_32/svr4_32_exec.c
cvs rdiff -u -r1.120 -r1.121 src/sys/compat/ultrix/ultrix_misc.c
cvs rdiff -u -r1.298 -r1.299 src/sys/kern/kern_exec.c
cvs rdiff -u -r1.229 -r1.230 src/sys/kern/kern_exit.c
cvs rdiff -u -r1.177 -r1.178 src/sys/kern/kern_fork.c
cvs rdiff -u -r1.150 -r1.151 src/sys/kern/kern_lwp.c
cvs rdiff -u -r1.167 -r1.168 src/sys/kern/kern_proc.c
cvs rdiff -u -r1.51 -r1.52 src/sys/kern/sys_lwp.c
cvs rdiff -u -r1.135 -r1.136 src/sys/sys/lwp.h
cvs rdiff -u -r1.297 -r1.298 src/sys/sys/proc.h

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