Subject: CVS commit: src/sys/miscfs/procfs
To: None <source-changes@netbsd.org>
From: Christos Zoulas <christos@netbsd.org>
List: source-changes
Date: 01/03/2003 15:21:19
Module Name:	src
Committed By:	christos
Date:		Fri Jan  3 13:21:19 UTC 2003

Modified Files:
	src/sys/miscfs/procfs: files.procfs procfs.h procfs_subr.c
	    procfs_vfsops.c procfs_vnops.c
Added Files:
	src/sys/miscfs/procfs: procfs_fd.c

Log Message:
Implement /proc/<pid>/fd/<n>. This is work in progress. Questionable things:
    - Is it ok to convert DTYPE_PIPE to VFIFO and DTYPE_SOCKET to VSOCK?
    - XXX: Avoid locking issue in ls -Rl /proc by avoiding curproc
    - Does I/O to pipes work?
    - XXX: Are there security implications?


To generate a diff of this commit:
cvs rdiff -r1.2 -r1.3 src/sys/miscfs/procfs/files.procfs
cvs rdiff -r1.38 -r1.39 src/sys/miscfs/procfs/procfs.h
cvs rdiff -r0 -r1.1 src/sys/miscfs/procfs/procfs_fd.c
cvs rdiff -r1.41 -r1.42 src/sys/miscfs/procfs/procfs_subr.c
cvs rdiff -r1.43 -r1.44 src/sys/miscfs/procfs/procfs_vfsops.c
cvs rdiff -r1.90 -r1.91 src/sys/miscfs/procfs/procfs_vnops.c

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