Commit Graph

21 Commits

Author SHA1 Message Date
pooka
d9c038d4fe Adjust for explicit errno parameter removal from rump syscalls 2009-01-23 19:36:01 +00:00
pooka
0d2e9d5345 Add #ifdef to disable pthread linkage requirement at compile-time. 2009-01-23 15:06:48 +00:00
pooka
2758ac8cf1 Update per rump_sys call __RENAME(). 2009-01-13 22:33:10 +00:00
christos
461a86f9bd merge christos-time_t 2009-01-11 02:45:45 +00:00
pooka
e605194ace Nuke macros which haven't been used since the advent of RUMP_VOPs. 2008-12-31 00:35:00 +00:00
stacktic
69a3e4d4ea Closing file in ukfs_release 2008-12-30 10:31:22 +00:00
pooka
d0303b2f28 Return ENODEV instead of ENOENT if the file system is not available. 2008-11-24 05:54:39 +00:00
pooka
945e7d735e rump_vfs_load -> rump_module_load 2008-11-21 06:10:15 +00:00
pooka
9c035d43d1 dlerror() resets the error message, so save it since we want to
access it twice.
2008-11-21 06:07:23 +00:00
pooka
57f1031888 Use RUMP_VOP instead of prehistoric rump_vp. 2008-11-17 13:22:15 +00:00
pooka
f455f7ee91 * use advisory file locks to avoid multiple mounts on the same device
(multiple rdonly mounts are still allowed)
* shuffle some assignments to avoid leaking resources in error branches
2008-11-07 00:18:33 +00:00
pooka
5877c6dc5e Embed library build version into the init call and refuse to init
if they don't match.  In other words, this is a lightweight library
major number.
2008-10-07 23:16:59 +00:00
pooka
10f58aee6b adapt to RUMPCRED_SUSER change 2008-09-30 19:26:23 +00:00
pooka
d93a348b24 remove verbosity attack 2008-09-29 15:59:54 +00:00
pooka
10b4d05961 Fix rump_vfs_sync() credarg also. 2008-08-14 15:24:18 +00:00
pooka
190154b4de Fix arg to RUMP_VOP_READDIR, NULL no longer works there. 2008-08-14 15:22:41 +00:00
pooka
44053cbe13 Avoid pid 0
XXX: pid allocation should not be done here.
2008-08-08 14:16:24 +00:00
pooka
541195ef5d Introduce ukfs_vfstypes() which returns the available file system
types loaded into rump.  Now it is possible to iterate over all
file system types supported by a rump program in an attempt to
access an unknown file system image instead of having to know
beforehand which type of file system is on the image.
2008-08-01 19:52:10 +00:00
pooka
c19f1a2afd Support ukfs_modload(), which dlopens and vfs_attaches rump file
system modules for use.  Sneakily this solves the problem with the
dynamic linker not wanting to handle the modules link set for
binaries where more than one file system library is included during
the link phase and therefore only one of the file systems getting
vfs_attach()ed in rump "boot".  But more importantly, this is really
TRTTD, since now applications can be built, linked and shipped
completely independently of the file systems they support.

tested by Arnaud Ysmal
2008-08-01 14:47:28 +00:00
pooka
db96f8c4cc fix pasto 2008-07-29 21:11:17 +00:00
pooka
bdf6e0b034 Install rump libraries and utilities to the base system and remove the
private non-installed build infrastructure from sys/rump.

breakdown of commit:
  * install relevant headers into /usr/include/rump
  * build sys/rump/librump/rumpuser and sys/rump/librump/rumpkern
    from src/lib and install as librumpuser and librump, respectively
    + this retains the ability to test a librump build with just the
      kernel sources at hand
  * move sys/rump/fs/lib/libukfs and sys/rump/fs/lib/libp2k to src/lib
    for general consumption, they are not kernel-space dwellers anyway
  * build and install sys/rump/fs/lib/lib$fs as librumpfs_$fs
  * add chapter 3 manual pages for rump, rumpuser, ukfs and p2k
  * build and install userspace kernel file system daemons if MKPUFFS=yes
    is spexified
  * retire fsconsole for now, it will make a comeback with an actually
    implemented version shortly
2008-07-29 13:17:40 +00:00