jruoho
37f05f2dfb
Clarifications. Improvements to wording and markup. Also follow the common
...
conventions and split the NOTES into CAVEATS (all these really highlight the
work-in-progress nature of the modules). Split the note about security into
SECURITY CONSIDERATIONS. Add an EXAMPLE on how to manually update modules.
2010-12-13 19:22:01 +00:00
pooka
e8de1d91d0
be a happy crunch build
2010-12-13 19:19:10 +00:00
njoly
6c19f9ea7b
op_read return value is a ssize_t, not an int.
2010-12-13 19:17:20 +00:00
pooka
c7202418cd
+rump.envstat
2010-12-13 18:02:04 +00:00
pooka
3d4766ce57
RUMP_ACTION -> RUMPPRG
2010-12-13 18:00:38 +00:00
pooka
3731ffce96
add fresh rump clients
2010-12-13 17:51:39 +00:00
pooka
f9740ada7f
RUMP_ACTION -> RUMPPRG
2010-12-13 17:42:17 +00:00
pooka
e3d9b779d8
Convert from RUMP_ACTION to RUMPPRG.
2010-12-13 17:39:47 +00:00
pooka
8603230f7e
Define PROG here since Makefile.inc no longer defines it.
2010-12-13 17:35:31 +00:00
pooka
a415ef09e9
Convert from the .ifdef RUMP_ACTION stuff to RUMPPRG.
2010-12-13 17:35:08 +00:00
pooka
84d9317cb6
Define RUMPPRG, which is just like PROG, except it additionally
...
builds a rump client with the name rump.${PROG}. The rump client
is not installed suid/sgid by default even if BINMODE is defined.
2010-12-13 17:22:26 +00:00
christos
63cfe07dab
PR/44229: Henning Petersen: Remove dup check for whitespace.
2010-12-13 16:54:04 +00:00
christos
fc494df71d
- no casts for malloc and free
...
- malloc(type) -> malloc(*value)
- malloc+strcpy -> strdup
2010-12-13 16:52:53 +00:00
matt
4f2934afef
Change definition of pc_bus_maxdevs to get a void * instead a pci_chipset_tag_t
...
to match its use in pci_bus_maxdevs. This makes it the same as pci_conf_read
and pci_conf_write.
Change all struct device * to device_t.
[Obviously nothing ever used the first argument to pc_bus_maxdevs since it
could have never worked because it wasn't being passed a pci_chipset_tag_t.]
2010-12-13 16:19:02 +00:00
pooka
dde3f793dc
Also support ld syntax in -l.
...
was: -l librumpvfs.so
now: -lrumpvfs
2010-12-13 14:26:22 +00:00
matt
2c1217a227
Back out rev that shouldn't have been committed.
2010-12-13 14:18:50 +00:00
pooka
2f36209c20
Mirror sysctlgetmibinfo RUMP_ACTION change.
2010-12-13 14:17:11 +00:00
pooka
d3ab3ede2e
Add -m which can be used to load modules (which is a completely
...
different code path than using dlopen() before rump_init(), since
the former uses the in-kernel linker and the latter links the object
in rtld).
So:
golem> ./rump_server -l librumpvfs.so -m /sys/modules/tmpfs/tmpfs.kmod unix:///tmp/commsuck
==>
golem> env RUMP_SERVER=unix:///tmp/commsuck rump.modstat
NAME CLASS SOURCE REFS SIZE REQUIRES
suser secmodel builtin 0 - -
tmpfs vfs filesys 0 16713 -
wapbl vfs builtin 0 - -
Source is filesys instead of builtin, as expected.
Notably, for -m you *must* use -l librumpvfs.so. This is because
you need VFS in your kernel to be able to load modules from the
file system. In a regular kernel "librumpvfs.so" is linked at
kernel build time and loaded by the bootloader. Here we use dlopen()
for both effects (the other choices would have been to link
rump_server with -lrumpvfs, but that would limit the flexibility,
or link tmpfs.kmod directly into the binary, but that would limit
the flexibility even more).
2010-12-13 14:13:21 +00:00
pooka
92050ae959
stubs to make life easier
2010-12-13 14:03:59 +00:00
pooka
ae428f9a60
directory not used anymore
2010-12-13 13:41:41 +00:00
pooka
73b0b48907
Retire h_simpleserver and use rump_server instead.
2010-12-13 13:39:42 +00:00
pooka
bfedfec98d
+rump_server
2010-12-13 13:38:18 +00:00
pooka
ac0678fe1e
Handle -l which dlopens libs. This is more applicable to rump_server
...
than rump_allserver.
So if I do:
golem> rump_server unix:///tmp/commsuck
==>
golem> env RUMP_SERVER=unix:///tmp/commsuck rump.modstat
NAME CLASS SOURCE REFS SIZE REQUIRES
suser secmodel builtin 0 - -
and:
golem> rump_server -l librumpvfs.so unix:///tmp/commsuck
==>
golem> env RUMP_SERVER=unix:///tmp/commsuck rump.modstat
NAME CLASS SOURCE REFS SIZE REQUIRES
suser secmodel builtin 0 - -
wapbl vfs builtin 0 - -
golem> rump_server -l librumpvfs.so -l librumpfs_ffs.so unix:///tmp/commsuck
==>
golem> env RUMP_SERVER=unix:///tmp/commsuck rump.modstat
NAME CLASS SOURCE REFS SIZE REQUIRES
ffs vfs builtin 0 - -
suser secmodel builtin 0 - -
wapbl vfs builtin 0 - -
Well, you get the picture...
2010-12-13 13:32:25 +00:00
pooka
53fb74fd7e
Add rump_server which is just like rump_allserver with the exception
...
that it links in only -lrump instead of everything. The startup
time difference (especially when attaching a debugger) is noticeable.
2010-12-13 13:29:15 +00:00
cegger
10cb97e079
PR bin/44230: Missing close.
2010-12-13 11:51:23 +00:00
jruoho
05a9f55544
Xref module(4).
2010-12-13 10:07:46 +00:00
pooka
33c6814d7a
document abortop. part of PR kern/44208
2010-12-13 09:06:51 +00:00
kiyohara
5d76b58f56
Fix PR#43911.
2010-12-13 07:29:12 +00:00
mrg
66d8b6ae79
add definitions for T_DATA_MMU_MISS, T_FAST_ECC_ERROR, T_DC_PAR_ERR
...
and T_IC_PAR_ERR, all are >= USIII only.
2010-12-13 06:40:13 +00:00
mrg
670d7ed693
trap 0x70 is a "+fast ECC error".
2010-12-13 06:35:03 +00:00
mrg
d541f2b66d
reinstall awk.texi.
2010-12-13 06:30:44 +00:00
mrg
7246249458
re-add gawk 3.1.3's awk.texi
2010-12-13 06:21:53 +00:00
dholland
75724edb45
typo in comment
2010-12-13 05:01:56 +00:00
dholland
a0bf60f562
Tables used by parser logic should be const.
2010-12-13 03:36:39 +00:00
dholland
0b6f5dd2c0
Remove stray extern definition that's already in jobs.h.
2010-12-13 03:35:13 +00:00
dholland
460acf6f5e
Cosmetic: declare types before variables, group variables by role,
...
update some comments, format comments properly, etc. No functional
change intended.
2010-12-13 03:32:25 +00:00
dholland
e8acbf7847
Add const necessary for clean non-native build.
2010-12-13 01:48:50 +00:00
christos
f4dfcf5469
warns=4
2010-12-13 01:45:38 +00:00
christos
976857bd1b
fix build.
2010-12-13 01:44:25 +00:00
christos
38a17f8f2b
fix possibly uninitialized variable
2010-12-13 01:25:19 +00:00
riz
b7560d46dc
PR bin/44209 is now fixed, expect failure -> expect success.
2010-12-12 22:50:42 +00:00
riz
d365bee0c8
Remove bogus check which is not actually testing anything useful,
...
and depending on file system data, can actually be a false error.
Fixes what I was actually testing for in bin/44209, though the
actual problem was not what I originally described.
2010-12-12 22:48:59 +00:00
joerg
230ccda64c
Don't bother with SCCS or the other RCSID conditionals.
2010-12-12 22:34:44 +00:00
pgoyette
778ab9e884
Fix another reference to LKM, and update author's name.
2010-12-12 22:14:19 +00:00
wiz
26a33d6cdb
Split "filesystem", and remove superfluous Pp.
2010-12-12 22:11:02 +00:00
christos
b3ddcb3ea2
errlist.c is automatically generated now.
2010-12-12 20:22:48 +00:00
joerg
b4eb5d9c57
Kill double .TP
2010-12-12 20:20:43 +00:00
joerg
1a85759af0
Kill double .TP
2010-12-12 20:19:41 +00:00
christos
5eeef29dbe
remove comment
2010-12-12 20:16:09 +00:00
christos
91083d6e86
Automatically generate the error list.
2010-12-12 20:08:27 +00:00