Subject: CVS commit: src/sys
To: None <>
From: Jaromir Dolecek <>
List: source-changes
Date: 09/13/2003 08:32:20
Module Name:	src
Committed By:	jdolecek
Date:		Sat Sep 13 08:32:19 UTC 2003

Modified Files:
	src/sys/compat/darwin: darwin_sysctl.c
	src/sys/compat/svr4: svr4_net.c
	src/sys/dev/dmover: dmover_io.c
	src/sys/kern: kern_descrip.c kern_systrace.c vfs_syscalls.c
	src/sys/miscfs/fdesc: fdesc_vnops.c
	src/sys/miscfs/portal: portal_vnops.c
	src/sys/sys: lwp.h

Log Message:
move dupfd from struct proc to struct lwp - it's per-LWP, not per-process; we
use curlwp where the lwp is not directly available, i.e. in device open

briefly discussed on tech-kern

To generate a diff of this commit:
cvs rdiff -r1.15 -r1.16 src/sys/compat/darwin/darwin_sysctl.c
cvs rdiff -r1.34 -r1.35 src/sys/compat/svr4/svr4_net.c
cvs rdiff -r1.12 -r1.13 src/sys/dev/dmover/dmover_io.c
cvs rdiff -r1.111 -r1.112 src/sys/kern/kern_descrip.c
cvs rdiff -r1.31 -r1.32 src/sys/kern/kern_systrace.c
cvs rdiff -r1.193 -r1.194 src/sys/kern/vfs_syscalls.c
cvs rdiff -r1.78 -r1.79 src/sys/miscfs/fdesc/fdesc_vnops.c
cvs rdiff -r1.49 -r1.50 src/sys/miscfs/portal/portal_vnops.c
cvs rdiff -r1.9 -r1.10 src/sys/sys/lwp.h

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