Subject: CVS commit: src/sys
To: None <source-changes@NetBSD.org>
From: Pavel Cahyna <pavel@netbsd.org>
List: source-changes
Date: 02/17/2007 22:31:46
Module Name:	src
Committed By:	pavel
Date:		Sat Feb 17 22:31:45 UTC 2007

Modified Files:
	src/sys/arch/acorn26/ioc: ioc_fiq_util.S
	src/sys/arch/alpha/alpha: db_trace.c
	src/sys/arch/amd64/amd64: db_trace.c genassym.cf linux32_syscall.c
	    locore.S machdep.c netbsd32_machdep.c netbsd32_syscall.c
	    vm_machdep.c
	src/sys/arch/arm/arm: db_trace.c
	src/sys/arch/i386/i386: db_trace.c genassym.cf locore.S
	    process_machdep.c
	src/sys/arch/ia64/ia64: genassym.cf
	src/sys/arch/m68k/m68k: db_trace.c
	src/sys/arch/mips/mips: db_trace.c
	src/sys/arch/pc532/pc532: process_machdep.c
	src/sys/arch/powerpc/powerpc: db_trace.c process_machdep.c
	src/sys/arch/sh5/sh5: db_trace.c
	src/sys/arch/sparc/sparc: db_trace.c
	src/sys/arch/sparc64/sparc64: db_trace.c machdep.c netbsd32_machdep.c
	    process_machdep.c sunos32_machdep.c syscall.c vm_machdep.c
	src/sys/arch/vax/vax: machdep.c pmap.c
	src/sys/arch/xen/i386: genassym.cf locore.S
	src/sys/compat/darwin: darwin_sysctl.c
	src/sys/compat/hpux: hpux_file.c hpux_sig.c
	src/sys/compat/linux/arch/amd64: linux_machdep.c
	src/sys/compat/linux32/arch/amd64: linux32_machdep.c
	src/sys/compat/mach: mach_task.c
	src/sys/compat/ndis: nbcompat.c
	src/sys/compat/osf1: osf1_signal.c
	src/sys/dev/sun: event.c
	src/sys/kern: exec_script.c init_main.c init_sysctl.c kern_core.c
	    kern_descrip.c kern_event.c kern_exec.c kern_exit.c kern_fork.c
	    kern_ktrace.c kern_lwp.c kern_proc.c kern_prot.c kern_sig.c
	    kern_sleepq.c kern_subr.c kern_synch.c kern_systrace.c
	    sys_generic.c sys_lwp.c sys_process.c sys_sig.c vfs_lookup.c
	src/sys/miscfs/procfs: procfs_cmdline.c procfs_map.c procfs_status.c
	    procfs_subr.c procfs_vnops.c
	src/sys/netsmb: smb_trantcp.c
	src/sys/secmodel/bsd44: secmodel_bsd44_suser.c
	src/sys/sys: lwp.h proc.h sysctl.h userret.h
	src/sys/ufs/ffs: ffs_softdep.c
	src/sys/uvm: uvm_glue.c uvm_meter.c

Log Message:
Change the process/lwp flags seen by userland via sysctl back to the
P_*/L_* naming convention, and rename the in-kernel flags to avoid
conflict. (P_ -> PK_, L_ -> LW_ ). Add back the (now unused) LSDEAD
constant.

Restores source compatibility with pre-newlock2 tools like ps or top.

Reviewed by Andrew Doran.


To generate a diff of this commit:
cvs rdiff -r1.1 -r1.2 src/sys/arch/acorn26/ioc/ioc_fiq_util.S
cvs rdiff -r1.18 -r1.19 src/sys/arch/alpha/alpha/db_trace.c
cvs rdiff -r1.7 -r1.8 src/sys/arch/amd64/amd64/db_trace.c
cvs rdiff -r1.6 -r1.7 src/sys/arch/amd64/amd64/genassym.cf
cvs rdiff -r1.8 -r1.9 src/sys/arch/amd64/amd64/linux32_syscall.c
cvs rdiff -r1.19 -r1.20 src/sys/arch/amd64/amd64/locore.S
cvs rdiff -r1.47 -r1.48 src/sys/arch/amd64/amd64/machdep.c
cvs rdiff -r1.32 -r1.33 src/sys/arch/amd64/amd64/netbsd32_machdep.c
cvs rdiff -r1.14 -r1.15 src/sys/arch/amd64/amd64/netbsd32_syscall.c
cvs rdiff -r1.16 -r1.17 src/sys/arch/amd64/amd64/vm_machdep.c
cvs rdiff -r1.11 -r1.12 src/sys/arch/arm/arm/db_trace.c
cvs rdiff -r1.52 -r1.53 src/sys/arch/i386/i386/db_trace.c
cvs rdiff -r1.47 -r1.48 src/sys/arch/i386/i386/genassym.cf
cvs rdiff -r1.45 -r1.46 src/sys/arch/i386/i386/locore.S
cvs rdiff -r1.60 -r1.61 src/sys/arch/i386/i386/process_machdep.c
cvs rdiff -r1.1 -r1.2 src/sys/arch/ia64/ia64/genassym.cf
cvs rdiff -r1.45 -r1.46 src/sys/arch/m68k/m68k/db_trace.c
cvs rdiff -r1.30 -r1.31 src/sys/arch/mips/mips/db_trace.c
cvs rdiff -r1.17 -r1.18 src/sys/arch/pc532/pc532/process_machdep.c
cvs rdiff -r1.41 -r1.42 src/sys/arch/powerpc/powerpc/db_trace.c
cvs rdiff -r1.22 -r1.23 src/sys/arch/powerpc/powerpc/process_machdep.c
cvs rdiff -r1.18 -r1.19 src/sys/arch/sh5/sh5/db_trace.c
cvs rdiff -r1.24 -r1.25 src/sys/arch/sparc/sparc/db_trace.c
cvs rdiff -r1.34 -r1.35 src/sys/arch/sparc64/sparc64/db_trace.c
cvs rdiff -r1.194 -r1.195 src/sys/arch/sparc64/sparc64/machdep.c
cvs rdiff -r1.66 -r1.67 src/sys/arch/sparc64/sparc64/netbsd32_machdep.c
cvs rdiff -r1.18 -r1.19 src/sys/arch/sparc64/sparc64/process_machdep.c
cvs rdiff -r1.20 -r1.21 src/sys/arch/sparc64/sparc64/sunos32_machdep.c
cvs rdiff -r1.19 -r1.20 src/sys/arch/sparc64/sparc64/syscall.c
cvs rdiff -r1.68 -r1.69 src/sys/arch/sparc64/sparc64/vm_machdep.c
cvs rdiff -r1.155 -r1.156 src/sys/arch/vax/vax/machdep.c
cvs rdiff -r1.141 -r1.142 src/sys/arch/vax/vax/pmap.c
cvs rdiff -r1.10 -r1.11 src/sys/arch/xen/i386/genassym.cf
cvs rdiff -r1.23 -r1.24 src/sys/arch/xen/i386/locore.S
cvs rdiff -r1.47 -r1.48 src/sys/compat/darwin/darwin_sysctl.c
cvs rdiff -r1.31 -r1.32 src/sys/compat/hpux/hpux_file.c
cvs rdiff -r1.32 -r1.33 src/sys/compat/hpux/hpux_sig.c
cvs rdiff -r1.17 -r1.18 src/sys/compat/linux/arch/amd64/linux_machdep.c
cvs rdiff -r1.5 -r1.6 src/sys/compat/linux32/arch/amd64/linux32_machdep.c
cvs rdiff -r1.64 -r1.65 src/sys/compat/mach/mach_task.c
cvs rdiff -r1.4 -r1.5 src/sys/compat/ndis/nbcompat.c
cvs rdiff -r1.28 -r1.29 src/sys/compat/osf1/osf1_signal.c
cvs rdiff -r1.18 -r1.19 src/sys/dev/sun/event.c
cvs rdiff -r1.54 -r1.55 src/sys/kern/exec_script.c
cvs rdiff -r1.294 -r1.295 src/sys/kern/init_main.c
cvs rdiff -r1.96 -r1.97 src/sys/kern/init_sysctl.c
cvs rdiff -r1.2 -r1.3 src/sys/kern/kern_core.c
cvs rdiff -r1.150 -r1.151 src/sys/kern/kern_descrip.c
cvs rdiff -r1.35 -r1.36 src/sys/kern/kern_event.c
cvs rdiff -r1.237 -r1.238 src/sys/kern/kern_exec.c
cvs rdiff -r1.166 -r1.167 src/sys/kern/kern_exit.c
cvs rdiff -r1.131 -r1.132 src/sys/kern/kern_fork.c
cvs rdiff -r1.114 -r1.115 src/sys/kern/kern_ktrace.c
cvs rdiff -r1.55 -r1.56 src/sys/kern/kern_lwp.c
cvs rdiff -r1.101 -r1.102 src/sys/kern/kern_proc.c
cvs rdiff -r1.97 -r1.98 src/sys/kern/kern_prot.c
cvs rdiff -r1.245 -r1.246 src/sys/kern/kern_sig.c
cvs rdiff -r1.4 -r1.5 src/sys/kern/kern_sleepq.c
cvs rdiff -r1.151 -r1.152 src/sys/kern/kern_subr.c
cvs rdiff -r1.177 -r1.178 src/sys/kern/kern_synch.c
cvs rdiff -r1.66 -r1.67 src/sys/kern/kern_systrace.c
cvs rdiff -r1.98 -r1.99 src/sys/kern/sys_generic.c
cvs rdiff -r1.3 -r1.4 src/sys/kern/sys_lwp.c src/sys/kern/sys_sig.c
cvs rdiff -r1.120 -r1.121 src/sys/kern/sys_process.c
cvs rdiff -r1.81 -r1.82 src/sys/kern/vfs_lookup.c
cvs rdiff -r1.25 -r1.26 src/sys/miscfs/procfs/procfs_cmdline.c
cvs rdiff -r1.28 -r1.29 src/sys/miscfs/procfs/procfs_map.c
cvs rdiff -r1.30 -r1.31 src/sys/miscfs/procfs/procfs_status.c
cvs rdiff -r1.76 -r1.77 src/sys/miscfs/procfs/procfs_subr.c
cvs rdiff -r1.148 -r1.149 src/sys/miscfs/procfs/procfs_vnops.c
cvs rdiff -r1.27 -r1.28 src/sys/netsmb/smb_trantcp.c
cvs rdiff -r1.35 -r1.36 src/sys/secmodel/bsd44/secmodel_bsd44_suser.c
cvs rdiff -r1.48 -r1.49 src/sys/sys/lwp.h
cvs rdiff -r1.236 -r1.237 src/sys/sys/proc.h
cvs rdiff -r1.166 -r1.167 src/sys/sys/sysctl.h
cvs rdiff -r1.10 -r1.11 src/sys/sys/userret.h
cvs rdiff -r1.82 -r1.83 src/sys/ufs/ffs/ffs_softdep.c
cvs rdiff -r1.99 -r1.100 src/sys/uvm/uvm_glue.c
cvs rdiff -r1.45 -r1.46 src/sys/uvm/uvm_meter.c

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