Subject: CVS commit: src/sys
To: None <>
From: Christos Zoulas <>
List: source-changes
Date: 11/30/2004 04:25:44
Module Name:	src
Committed By:	christos
Date:		Tue Nov 30 04:25:44 UTC 2004

Modified Files:
	src/sys/compat/svr4: svr4_net.c
	src/sys/compat/svr4_32: svr4_32_net.c
	src/sys/dev/dmover: dmover_io.c
	src/sys/kern: kern_descrip.c kern_event.c kern_systrace.c sys_pipe.c
	    tty_ptm.c uipc_syscalls.c vfs_syscalls.c vfs_vnops.c
	src/sys/miscfs/fdesc: fdesc_vnops.c
	src/sys/miscfs/portal: portal_vnops.c
	src/sys/opencrypto: cryptodev.c
	src/sys/sys: errno.h file.h

Log Message:
Cloning cleanup:
1. make fileops const
2. add 2 new negative errno's to `officially' support the cloning hack:
    - EDUPFD (used to overload ENODEV)
    - EMOVEFD (used to overload ENXIO)
3. Created an fdclone() function to encapsulate the operations needed for
   EMOVEFD, and made all cloners use it.
4. Centralize the local noop/badop fileops functions to:
   fnullop_fcntl, fnullop_poll, fnullop_kqfilter, fbadop_stat

To generate a diff of this commit:
cvs rdiff -r1.36 -r1.37 src/sys/compat/svr4/svr4_net.c
cvs rdiff -r1.10 -r1.11 src/sys/compat/svr4_32/svr4_32_net.c
cvs rdiff -r1.14 -r1.15 src/sys/dev/dmover/dmover_io.c
cvs rdiff -r1.126 -r1.127 src/sys/kern/kern_descrip.c
cvs rdiff -r1.20 -r1.21 src/sys/kern/kern_event.c
cvs rdiff -r1.41 -r1.42 src/sys/kern/kern_systrace.c
cvs rdiff -r1.61 -r1.62 src/sys/kern/sys_pipe.c
cvs rdiff -r1.3 -r1.4 src/sys/kern/tty_ptm.c
cvs rdiff -r1.88 -r1.89 src/sys/kern/uipc_syscalls.c
cvs rdiff -r1.212 -r1.213 src/sys/kern/vfs_syscalls.c
cvs rdiff -r1.82 -r1.83 src/sys/kern/vfs_vnops.c
cvs rdiff -r1.81 -r1.82 src/sys/miscfs/fdesc/fdesc_vnops.c
cvs rdiff -r1.57 -r1.58 src/sys/miscfs/portal/portal_vnops.c
cvs rdiff -r1.11 -r1.12 src/sys/opencrypto/cryptodev.c
cvs rdiff -r1.34 -r1.35 src/sys/sys/errno.h
cvs rdiff -r1.50 -r1.51 src/sys/sys/file.h

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