Subject: Re: CVS commit: src/sys/miscfs/procfs
To: None <christos@netbsd.org>
From: Jaromir Dolecek <jdolecek@netbsd.org>
List: source-changes
Date: 01/04/2003 19:09:04
What is this for? Linux emulation?

Jaromir

Christos Zoulas wrote:
> 
> 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.
> 


-- 
Jaromir Dolecek <jdolecek@NetBSD.org>            http://www.NetBSD.org/
-=- We should be mindful of the potential goal, but as the tantric    -=-
-=- Buddhist masters say, ``You may notice during meditation that you -=-
-=- sometimes levitate or glow.   Do not let this distract you.''     -=-