Subject: CVS commit: src/sys/rump
To: None <source-changes@NetBSD.org>
From: Antti Kantee <pooka@netbsd.org>
List: source-changes
Date: 08/20/2007 15:58:15
Module Name:	src
Committed By:	pooka
Date:		Mon Aug 20 15:58:15 UTC 2007

Modified Files:
	src/sys/rump/fs/bin/fsconsole: fsconsole.c
	src/sys/rump/fs/lib/libp2k: p2k.c
	src/sys/rump/fs/lib/libukfs: ukfs.c ukfs.h
	src/sys/rump/librump/rumpkern: Makefile emul.c genfs.c rump.c rump.h
	    specfs.c vfs.c vm.c
	src/sys/rump/librump/rumpuser: rumpuser.c rumpuser.h

Log Message:
Hide NetBSD kernel headers completely from ukfs.  This includes creating
accessors for:
  * struct mount & VFS ops
  * struct uio
  * struct vnode
  * struct vattr

and some namespace games for:
  * namei flags
  * VOPs
  * enum vtype

Also, split rump services into two categories: library private and public
(rump_private.h and rump.h, respectively).

As a result, it is now possible to compile and use the NetBSD kernel
file systems on Linux (and probably other systems too with very
little work), although the makefiles need a bit of work to make it
a pleasureable experience.


To generate a diff of this commit:
cvs rdiff -r1.3 -r1.4 src/sys/rump/fs/bin/fsconsole/fsconsole.c
cvs rdiff -r1.15 -r1.16 src/sys/rump/fs/lib/libp2k/p2k.c
cvs rdiff -r1.4 -r1.5 src/sys/rump/fs/lib/libukfs/ukfs.c \
    src/sys/rump/fs/lib/libukfs/ukfs.h
cvs rdiff -r1.11 -r1.12 src/sys/rump/librump/rumpkern/Makefile \
    src/sys/rump/librump/rumpkern/rump.h
cvs rdiff -r1.9 -r1.10 src/sys/rump/librump/rumpkern/emul.c
cvs rdiff -r1.14 -r1.15 src/sys/rump/librump/rumpkern/genfs.c
cvs rdiff -r1.7 -r1.8 src/sys/rump/librump/rumpkern/rump.c
cvs rdiff -r1.5 -r1.6 src/sys/rump/librump/rumpkern/specfs.c
cvs rdiff -r1.10 -r1.11 src/sys/rump/librump/rumpkern/vfs.c
cvs rdiff -r1.12 -r1.13 src/sys/rump/librump/rumpkern/vm.c
cvs rdiff -r1.5 -r1.6 src/sys/rump/librump/rumpuser/rumpuser.c
cvs rdiff -r1.3 -r1.4 src/sys/rump/librump/rumpuser/rumpuser.h

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