Commit Graph

468 Commits

Author SHA1 Message Date
pooka
839034650f * hang all mountpoints from rootvnode in our virtual mount hierarchy
* set VV_ROOT for the rootvnode to make getcwd realize it has met
  its journey's end
2008-11-27 16:40:40 +00:00
pooka
31b0163f0d Add nfs server rump library.
(not descended into on purpose)
2008-11-27 14:14:30 +00:00
pooka
35861926cc Link in a networking domain, required by nfs. 2008-11-27 11:31:59 +00:00
pooka
f50af27351 Move more vfs-related vm routines from rumpkern to rumpvfs. 2008-11-27 08:13:15 +00:00
pooka
2ee7b4e103 Remove the whole magic ubc window thingie. All file systems use
ubc_uiomove() now, so we can hook ourselves there.
2008-11-27 08:05:27 +00:00
pooka
23046e71b2 Add a few symbols required by nfsd 2008-11-26 15:04:02 +00:00
pooka
e40a46d006 regen 2008-11-26 15:02:05 +00:00
pooka
eaff187ca4 Add dummy pr_ctloutput. I'm sure I had one at some point, since
it's required for rump_nfs to work, but I guess I lost it somewhere.
(yes, it should actually be implemented also)
2008-11-26 07:19:48 +00:00
pooka
d6457e83e1 Make sockin radix-capable. 2008-11-25 20:42:01 +00:00
pooka
eebcd28057 Support PRU_BIND / PRU_LISTEN / PRU_ACCEPT in sockin. 2008-11-25 20:39:57 +00:00
pooka
50176705eb Take reference for proc0 rootdir vnode. 2008-11-25 20:35:46 +00:00
pooka
e346dcad76 "Manually" call rn_init() to make sure it's done. The real kernel
hooks it up with domain constructors in a fascinating way.
2008-11-25 18:44:05 +00:00
pooka
ec538307e6 fix comment (no functional change) 2008-11-25 18:38:08 +00:00
pooka
922d39c2b2 Heave-ho radix.c from librumpnet_net to librumpnet. 2008-11-25 18:36:08 +00:00
pooka
dbeec14d9d Make sure we write a positive length of data. 2008-11-21 18:02:17 +00:00
pooka
bedcc68e65 rump_vfs_load() is really rump_module_load(), so call it that and
move it from rumpvfs to rumpkern.
2008-11-21 06:09:51 +00:00
ad
92ce8c6a3d Make the emulations, exec formats, coredump, NFS, and the NFS server
into modules. By and large this commit:

- shuffles header files and ifdefs
- splits code out where necessary to be modular
- adds module glue for each of the components
- adds/replaces hooks for things that can be installed at runtime
2008-11-19 18:35:57 +00:00
pooka
e10fef6cd2 Split vfs out of rumpkern into rumpvfs. Non-fs rumps no longer
include the file system code.  File system rumps explicitly need
to include rumpvfs from now on.
2008-11-19 14:10:48 +00:00
ad
20514c29be +evcnt_detach 2008-11-19 12:20:40 +00:00
pooka
7fca80b0ff note rumpnet 2008-11-18 13:08:34 +00:00
pooka
72b66cb31e Pass biodone() to rumpuser as a callback instead of hardcoding it.
Also, explicitly init rumpuser async io thread.
2008-11-18 12:39:35 +00:00
pooka
48d146fba6 cwd is logically a vfs concept, so take it out from the bosom of
kern_descrip and into vfs_cwd.  No functional change.
2008-11-18 11:36:58 +00:00
pooka
d76a9369e5 Remove rump_vp locking interfaces, use RUMP_VOP instead. 2008-11-17 13:24:14 +00:00
pooka
11a6424f3c regen 2008-11-17 13:20:39 +00:00
pooka
b81cfcf61f adjust comments out of lock.h 2008-11-17 13:20:22 +00:00
pooka
a1e0d479f4 regen 2008-11-17 13:11:24 +00:00
pooka
aab859210b include those appetizing lockmanger flags 2008-11-17 13:10:44 +00:00
pooka
50cbbdb2d5 No need to .WAIT anymore: headers are done in a separate pass and
binaries are no longer in this subtree.
2008-11-17 10:21:44 +00:00
pooka
e349d81775 Tune CFLAGS to a consistent default. 2008-11-17 09:03:51 +00:00
pooka
fa86dc99d5 reregen to get those most important rcsids right 2008-11-17 08:59:33 +00:00
pooka
e45e5fef43 Descend into include/rump and install headers. 2008-11-17 08:54:39 +00:00
pooka
20a993658a Move rump public headers to include/rump 2008-11-17 08:53:12 +00:00
pooka
85eff24b94 regen 2008-11-17 08:52:18 +00:00
pooka
0a380919d5 Add script to statically generate rumpdefs.h instead of doing it buildtime. 2008-11-17 08:49:55 +00:00
pooka
e5da604114 Add more verbose commentage to the module thread non-creation. 2008-11-17 08:43:41 +00:00
pooka
80610738b1 Ignore the module unload thread. 2008-11-17 08:41:28 +00:00
pooka
98bf46c51a <sys/buf.h> police 2008-11-16 18:44:07 +00:00
pooka
9c3d490eb5 regen 2008-11-16 18:41:05 +00:00
pooka
ab7329f0f7 explicitly include <sys/buf.h> since we explicitly use it 2008-11-16 18:37:28 +00:00
pooka
e6f5280c8d Add comments on how to do tap and bridging required for sensible
full networking stack operation.
2008-11-14 14:24:00 +00:00
pooka
1941578e57 slap some sort of copyright here 2008-11-14 14:17:53 +00:00
pooka
fe762e15b2 Clearly state that VOP_BMAP panic in putpages is because I'm a lazy bum.
(although I can't really think of any scenario where VOP_BMAP could
legally fail)
2008-11-14 11:57:07 +00:00
christos
d296aa9163 fix compilation and lint warnings. 2008-10-30 01:54:24 +00:00
minskim
13a938dd6c Remove trailing whitespace. 2008-10-26 18:39:01 +00:00
apb
f46c1de7cb Use ${TOOL_SED} instead if plain sed in Makefiles. 2008-10-25 22:27:34 +00:00
pooka
afbf917f75 Alpha requires 8k pages for mbuf size calculation to work (maybe
sparc64 too?).  Make it so.
2008-10-16 22:05:12 +00:00
wrstuden
7e10f527c2 Regen syscall tables. I forgot to do it after revivesa. While pooka
did some, not all are regenerated. Do them all at once for consistency.
2008-10-16 20:12:23 +00:00
christos
75e8ce56c6 revert stack protector change. 2008-10-16 19:35:07 +00:00
pooka
7555810672 regen: ioctl 2008-10-16 19:33:11 +00:00
pooka
6d68e64d68 Add an example of how to configure the virtual interface address
and the default gateway.

(this will probably go into some library eventually, but now it'll
just sit here as an example)
2008-10-16 19:28:26 +00:00