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:   rmind
Date:           Thu Jul  1 02:38:31 UTC 2010

Modified Files:
        src/sys/arch/alpha/alpha: db_trace.c
        src/sys/arch/amd64/amd64: db_trace.c
        src/sys/arch/arm/arm: db_trace.c
        src/sys/arch/hppa/hppa: db_trace.c
        src/sys/arch/m68k/m68k: db_trace.c
        src/sys/arch/mips/mips: db_trace.c
        src/sys/arch/powerpc/powerpc: db_trace.c
        src/sys/arch/sparc/sparc: db_trace.c
        src/sys/arch/sparc64/sparc64: db_trace.c
        src/sys/arch/vax/vax: db_machdep.c
        src/sys/compat/darwin: darwin_sysctl.c
        src/sys/compat/irix: irix_prctl.c irix_syssgi.c
        src/sys/compat/linux/arch/arm: linux_ptrace.c
        src/sys/compat/linux/arch/i386: linux_ptrace.c
        src/sys/compat/linux/arch/powerpc: linux_ptrace.c
        src/sys/compat/linux/common: linux_file.c linux_futex.c linux_sched.c
        src/sys/compat/mach: mach_task.c
        src/sys/compat/sa: compat_sa.c
        src/sys/compat/svr4: svr4_misc.c
        src/sys/compat/svr4_32: svr4_32_misc.c
        src/sys/dev/wscons: wsdisplay_compat_usl.c
        src/sys/external/bsd/drm/dist/bsd-core: drm_irq.c
        src/sys/kern: init_sysctl.c kern_descrip.c kern_event.c kern_exit.c
            kern_ktrace.c kern_lwp.c kern_proc.c kern_prot.c kern_resource.c
            kern_sig.c sys_process.c sys_pset.c sys_sched.c sys_sig.c tty.c
        src/sys/miscfs/procfs: procfs_subr.c procfs_vnops.c
        src/sys/sys: proc.h

Log Message:
Remove pfind() and pgfind(), fix locking in various broken uses of these.
Rename real routines to proc_find() and pgrp_find(), remove PFIND_* flags
and have consistent behaviour.  Provide proc_find_raw() for special cases.
Fix memory leak in sysctl_proc_corename().

COMPAT_LINUX: rework ptrace() locking, minimise differences between
different versions per-arch.

Note: while this change adds some formal cosmetics for COMPAT_DARWIN and
COMPAT_IRIX - locking there is utterly broken (for ages).

Fixes PR/43176.

To generate a diff of this commit:
cvs rdiff -u -r1.26 -r1.27 src/sys/arch/alpha/alpha/db_trace.c
cvs rdiff -u -r1.17 -r1.18 src/sys/arch/amd64/amd64/db_trace.c
cvs rdiff -u -r1.21 -r1.22 src/sys/arch/arm/arm/db_trace.c
cvs rdiff -u -r1.8 -r1.9 src/sys/arch/hppa/hppa/db_trace.c
cvs rdiff -u -r1.55 -r1.56 src/sys/arch/m68k/m68k/db_trace.c
cvs rdiff -u -r1.38 -r1.39 src/sys/arch/mips/mips/db_trace.c
cvs rdiff -u -r1.51 -r1.52 src/sys/arch/powerpc/powerpc/db_trace.c
cvs rdiff -u -r1.32 -r1.33 src/sys/arch/sparc/sparc/db_trace.c
cvs rdiff -u -r1.43 -r1.44 src/sys/arch/sparc64/sparc64/db_trace.c
cvs rdiff -u -r1.55 -r1.56 src/sys/arch/vax/vax/db_machdep.c
cvs rdiff -u -r1.62 -r1.63 src/sys/compat/darwin/darwin_sysctl.c
cvs rdiff -u -r1.50 -r1.51 src/sys/compat/irix/irix_prctl.c \
cvs rdiff -u -r1.14 -r1.15 src/sys/compat/linux/arch/arm/linux_ptrace.c
cvs rdiff -u -r1.24 -r1.25 src/sys/compat/linux/arch/i386/linux_ptrace.c
cvs rdiff -u -r1.22 -r1.23 src/sys/compat/linux/arch/powerpc/linux_ptrace.c
cvs rdiff -u -r1.98 -r1.99 src/sys/compat/linux/common/linux_file.c
cvs rdiff -u -r1.24 -r1.25 src/sys/compat/linux/common/linux_futex.c
cvs rdiff -u -r1.61 -r1.62 src/sys/compat/linux/common/linux_sched.c
cvs rdiff -u -r1.69 -r1.70 src/sys/compat/linux/common/linux_signal.c
cvs rdiff -u -r1.71 -r1.72 src/sys/compat/mach/mach_task.c
cvs rdiff -u -r1.13 -r1.14 src/sys/compat/sa/compat_sa.c
cvs rdiff -u -r1.150 -r1.151 src/sys/compat/svr4/svr4_misc.c
cvs rdiff -u -r1.69 -r1.70 src/sys/compat/svr4_32/svr4_32_misc.c
cvs rdiff -u -r1.46 -r1.47 src/sys/dev/wscons/wsdisplay_compat_usl.c
cvs rdiff -u -r1.11 -r1.12 src/sys/external/bsd/drm/dist/bsd-core/drm_irq.c
cvs rdiff -u -r1.174 -r1.175 src/sys/kern/init_sysctl.c
cvs rdiff -u -r1.202 -r1.203 src/sys/kern/kern_descrip.c
cvs rdiff -u -r1.69 -r1.70 src/sys/kern/kern_event.c
cvs rdiff -u -r1.228 -r1.229 src/sys/kern/kern_exit.c
cvs rdiff -u -r1.152 -r1.153 src/sys/kern/kern_ktrace.c
cvs rdiff -u -r1.149 -r1.150 src/sys/kern/kern_lwp.c
cvs rdiff -u -r1.166 -r1.167 src/sys/kern/kern_proc.c
cvs rdiff -u -r1.109 -r1.110 src/sys/kern/kern_prot.c
cvs rdiff -u -r1.156 -r1.157 src/sys/kern/kern_resource.c
cvs rdiff -u -r1.305 -r1.306 src/sys/kern/kern_sig.c
cvs rdiff -u -r1.155 -r1.156 src/sys/kern/sys_process.c
cvs rdiff -u -r1.14 -r1.15 src/sys/kern/sys_pset.c
cvs rdiff -u -r1.34 -r1.35 src/sys/kern/sys_sched.c
cvs rdiff -u -r1.27 -r1.28 src/sys/kern/sys_sig.c
cvs rdiff -u -r1.236 -r1.237 src/sys/kern/tty.c
cvs rdiff -u -r1.95 -r1.96 src/sys/miscfs/procfs/procfs_subr.c
cvs rdiff -u -r1.179 -r1.180 src/sys/miscfs/procfs/procfs_vnops.c
cvs rdiff -u -r1.296 -r1.297 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