Commit Graph

59 Commits

Author SHA1 Message Date
sevan
6b31f116cc With the removal of HAVE_REGISTER_T from rumpuser_port.h, _KERNTYPES does not
need to be defined. This allows register_t to be typedef'd to RUMP_REGISTER_T
without conflict, as highlighted in PR kern/52206.
2017-05-11 04:33:14 +00:00
sevan
979875ac74 Revert previous change so builds can resume.
_KERNTYPES needs to be defined for NetBSD builds to succeed.
_KERNTYPES must not be defined for buildrum.sh builds to succeed.
2017-05-10 08:48:46 +00:00
sevan
9204518573 Do not define _KERNTYPES as this breaks build with buildrump.sh due to
conflicting types for register_t.
Closes PR kern/52206
Steered in the right direction by christos.
2017-05-10 01:11:51 +00:00
christos
ffeb8dbf4e Define _KERNTYPES for things that need it. 2016-01-23 21:22:45 +00:00
wiz
f46449d46b Sort options in SYNOPSIS.
Order is: 0123.9AaBbCc...Zz;
options without arguments in a block first, then the ones with arguments.
2015-11-05 14:02:07 +00:00
ozaki-r
a0fb6b682b Add missing options to SYNOPSIS and sort 2015-11-05 09:28:30 +00:00
pooka
6ee4aeae8e Accept 0 size for -d type=reg, it grows dynamically anyway.
(though perhaps there should be some way to limit that)
2015-04-16 10:05:43 +00:00
pooka
23dfcd7408 Use autoconf for rump kernel posix hypercall layer.
This gets rid of homegrown hacks and puts all probes in one place.

Tested for NetBSD (build.sh + anita) and Linux (buildrump.sh)
2014-11-04 19:05:17 +00:00
pooka
401f0b87d5 Remove LD_DYNAMIC_WEAK whine, by large it's not necessary anymore. 2014-04-27 15:26:05 +00:00
pooka
3f0878753a On glibc systems, issue a warning if LD_DYNAMIC_WEAK is not 2014-03-21 16:26:30 +00:00
pooka
c06e5f9624 alleviate may-be-used-unused 2014-01-16 02:20:50 +00:00
pooka
77666f11e0 terminology audit 2014-01-16 00:32:48 +00:00
pooka
5304903c03 Attempt to load all components even if they are not given in
dependency order.
2014-01-16 00:31:39 +00:00
pooka
4b870e3771 Use signal.h instead of sys/signal.h. The latter is not standard
and does not exist at least on systems with musl libc.

from Justin Cormack
2013-12-31 00:23:56 +00:00
pooka
a1ee0e7eea Actually, nevermind with the whole LD_DYNAMIC_WEAK business, forgot
to unset it from the shell before testing.
2013-12-18 20:56:32 +00:00
pooka
e51a22a59b Set LD_DYNAMIC_WEAK, required by glibc ld.so for -l params.
(this accidentally slipped in the previous commit already, but
I'm recommitting it to get cvs annotate right)
2013-12-18 20:50:30 +00:00
pooka
57d34ab9b0 Use rumperr to print correct error strings on !NetBSD. 2013-12-18 20:48:31 +00:00
bad
a88c18e5e2 Don't hold back, tell us how you really feel when dlopen() fails. 2013-12-16 23:27:33 +00:00
pooka
cbdf0ef490 Support disklabel partitions on all platforms.
also addresses buildrump.sh issue #41 (github)
2013-11-13 17:47:27 +00:00
pooka
8b205e8660 make -m available on all platforms 2013-11-13 16:43:38 +00:00
pooka
d5e9a0d652 Not all systems sport err.h, so redo those bits using the die() routine
we need to have hanging around anyway for proper error reporting from
a daemonizing server.  le sigh
2013-09-10 20:36:08 +00:00
pooka
7066c11a5f <sys/cdefs.h> comes from rumpuser_port.h 2013-09-10 19:42:32 +00:00
pooka
22882349e0 Need bsd.own.mk for mk.conf, include it at an opportune place. 2013-09-10 18:28:46 +00:00
pooka
ff8534b0b9 Make it possible to omit libutil from the link. It's used only for
disklabel stuff, and is only harmful on platforms that don't currently
provide user namespace disklabel interfaces.
2013-09-10 18:22:55 +00:00
pooka
4e5f4292e3 Make this work on platforms without disklabels, modules, etc. 2013-09-10 17:59:52 +00:00
pooka
56651ceb36 Do like the comment suggests and don't sanity-check the -c parameter here,
since we can't do it properly.
2013-09-10 17:13:29 +00:00
joerg
6818646ac8 Use __dead 2011-09-16 15:39:25 +00:00
pooka
72867841aa adjust wording in previous 2011-03-04 09:13:23 +00:00
pooka
2c06d51fbf Add note about block device properties.
From discussion with <riz>.
2011-03-04 09:10:33 +00:00
pooka
56905440b6 .Xr rump_sp 7 2011-02-23 19:59:18 +00:00
pooka
b6c13d8580 * at least try to query size of non-regular size=host files too,
give up if we get 0
* fix a few error messages
2011-02-22 15:51:59 +00:00
pooka
29d11b7713 add command line options for kernel memory allocation limit and bootverbose 2011-02-21 18:50:21 +00:00
pooka
090a5e7d74 Use "host" instead of the slightly more cryptic "e" to indicate
that the size of the mapping should be taken from the host file
size.
2011-02-18 09:54:03 +00:00
pooka
f6adb4bdd8 Use "size=e" as a way say "if the underlying file is preexisting
regular file, use whatever size it has".
2011-02-17 16:59:46 +00:00
pooka
aaf2cb63d0 Make it possible to specify the type of file (blk/chr/reg) that a
mapped file (-d) is exposed as within the rump kernel.
2011-02-17 16:03:05 +00:00
pooka
74135a6c04 Allow to specify -d hostpath offset,size with disklabel. 2011-02-04 20:06:23 +00:00
pooka
a9061c30c5 Create backing image with mode 0644 instead of 0755 & document this. 2011-02-03 11:25:27 +00:00
pooka
53c3cffec5 whoopsie, bump date 2011-02-03 11:21:43 +00:00
pooka
ed37916e33 * make it possible to specify an offset in -d
* truncate -d hostpath only if it's a regular file and smaller
  than offset+size
2011-02-03 11:21:16 +00:00
pooka
3c2830fb5d BUGS is gone (and on its way out it inquired about the doctor's status) 2011-01-08 09:36:26 +00:00
wiz
23e235307b Fix usage (8th bit begone!) 2011-01-03 12:18:25 +00:00
pooka
6fd00c3f62 Add -c to control the number of CPUs configured in the kernel. 2011-01-03 10:44:40 +00:00
pooka
bd7256bb7c Guard against supplying the same parameter multiple times in one -d argument. 2010-12-15 19:07:43 +00:00
pooka
f258e5074a language fix. sniped by wizd 2010-12-15 18:42:59 +00:00
pooka
8457e85a38 document the current syscall bug with rump_server and -l 2010-12-15 16:23:55 +00:00
wiz
77b9f93f9e Sort options in usage same as in man page.
While here, replace \xa0 with ' '. Where do you get these from?
2010-12-15 09:40:21 +00:00
pooka
b6c04e07af Add an example for a server listening on a tcp port.
also, bump date to avoid problems with wizd
2010-12-14 19:52:14 +00:00
pooka
dbc10b5a41 Add -d which can be used to register host-backed block devices in
the rump kernel.

It would be cool if this, and the other options, could be specified
in a config file (plist or other).
2010-12-14 16:40:05 +00:00
wiz
d5dca2a9ff Fix Xr and use Sx. 2010-12-14 09:39:53 +00:00
pooka
78f20aa8ef manpage 2010-12-13 19:36:34 +00:00