Commit Graph

176522 Commits

Author SHA1 Message Date
pooka
e39b6ca29f Disable static linking against kernel modules and always use shared
libraries.  Kernel module support will require some more happy days
with the kernel linker.
2009-01-08 18:43:28 +00:00
pooka
ed610ecd69 Rename symbols in rump kernel libraries to always belong to a "rump"
symbol namespace.  This has several implications:
  * no symbols are accidentally linked against host platform libraries
  * all host platform access is done via rumpuser, and hence the
    portability of rump is now well defined
  * functionality such as proplib can now exist within the rump virtual
    kernel and the application using it

Thanks to uwe for originally suggesting the bulk renaming approach
over a pint of what I believe was very crisp, curious and untypical
stout.  It had an almost acidic characteristic with fruity notes
and lacking dark and roasted flavours.

And thanks to lukem for pointing me in the right direction with make.
2009-01-08 18:42:42 +00:00
jakllsch
0ccde41dde Move the 'dhcp' example so it doesn't disrput flow
into the note about use of 'create'.
bump date.
2009-01-08 18:33:47 +00:00
christos
5fe5dff0de PR/40340: Ed Ravin: Print the numeric address in addition to the hostname. 2009-01-08 18:29:43 +00:00
christos
ef3c9e6675 Print the numeric address of the host. 2009-01-08 18:08:10 +00:00
drochner
bba265ee2d try to fix CVE-2009-0021 (incorrect check of EVP_VerifyFinal()'s
return value)
(This is not an official patch and possible incomplete.)
2009-01-08 14:50:56 +00:00
drochner
bf744d30ef try to fix CVE-2009-0025 (incorrect check of DSA_do_verify()'s
return value
(This is not an official patch and possible incomplete.)
2009-01-08 14:49:46 +00:00
reinoud
a0d3b4c9bf Fix the mess i made with the iso partitioning reading due to the fact that
disk_read_sector() wants DEV_BLKSIZE blkno's BUT sectorsize unit lengths
specified... how `logical'.

Real fixup pending on discussion on tech-kern/source-changes.
2009-01-08 14:06:50 +00:00
njoly
16cef148ad Restore expected FUTEX_WAIT behaviour with NULL timeout argument,
which was broken in my recent timespec cleanup/fix.
2009-01-08 12:46:23 +00:00
apb
578d3b717e Add rndctl 2009-01-08 12:12:38 +00:00
uwe
8cbbe584c6 Put symbolsize calculation under the same #if condition that is used
to load symbols.  While here sort the terms of that condition
consistently.  This unbreaks the build w/out ksyms, DDB and MODULAR.

Pointed out by joerg@
2009-01-08 06:40:44 +00:00
pooka
a378ac816b Put syspuffs_glueinit in the rump kernel namespace. 2009-01-08 03:27:10 +00:00
lukem
bbdbf3e294 fix some sign comparison warnings 2009-01-08 02:28:08 +00:00
lukem
5fcf39a9f8 Cast a value to time_t (not unsigned) when comparing to timespec tv_sec 2009-01-08 02:19:48 +00:00
lukem
006b668ed0 attempt to make the NOTE a bit more prominent 2009-01-08 02:07:28 +00:00
lukem
c13322daaf Add rndctl to do_rc().
Thanks to Geoff Wing on current-users.
2009-01-08 02:05:15 +00:00
matt
60d7f59687 When allocating a KMPAGE and it has multiple colors, make sure to flush them.
Add some more KASSERTs for multiple colors (or lack thereof).
2009-01-08 01:42:48 +00:00
pooka
77fce09067 missed this in previous commit:
Explicitly pass a pointer to the kernel lock/unlock routines in
rumpuser init instead of magically relying on the linker giving us
the symbols.

thanks to uwe for pointing out
2009-01-08 01:30:33 +00:00
pooka
e99d5fab49 Sprinkle comments explaining purpose of kobj_machdep(), per email from ad.
no functional change
2009-01-08 01:03:24 +00:00
taca
b695a77e21 BIND 9.5.1-P1/9.6.0-P1 and OpenSSL 0.9.8j has released. 2009-01-07 23:57:52 +00:00
bjh21
583bfaa708 Autoconfiguration cleanup for arcvideo(4):
- Use device_t and cfdata_t rather than explicit structure pointers.
- Use device_private() rather than a cast to convert device_t to a softc.
- Use device_*() to get at the innards of device_t.
device/softc split not done yet because of worrying about bootstrap console
stuff.
2009-01-07 23:14:40 +00:00
bjh21
a3551a3ce2 Autoconfiguration cleanup for arcpp(4):
- Split device_t out of softc.
- Use device_t and cfdata_t rather than explicit structure pointers.
- Use device_*() rather than accessing parts of device_t directly.
- Use aprint_*() rather than printf().
Also ANSIfy arcpppushbytes.
2009-01-07 23:05:46 +00:00
christos
10c9b70baa Correct error checking for DSA and ECDSA keys (from FreeBSD) 2009-01-07 23:05:07 +00:00
bjh21
60f9cd19b7 Add arcpp(4) and eca(4) since they are aren't horribly broken. 2009-01-07 23:01:53 +00:00
bjh21
5ddd0631a0 Rework the bootstrap IIC stuff used by cmos_read() so that it works
properly, albeit only after iociic0 has been attached.  Happily,
cmos_read() isn't needed before that anyway.
2009-01-07 22:58:38 +00:00
pooka
15509962b4 Explicitly pass a pointer to the kernel lock/unlock routines in
rumpuser init instead of magically relying on the linker giving us
the symbols.
2009-01-07 22:50:08 +00:00
uwe
533bbdff7e These copy of gcc millicode routines is now included in librump (that
sucks in all libkern sources), so mark them ".hidden".  I'm not sure
if this is the best course of action (dropping millicode from librump
might be a better idea), but it's the quickest fix to get sh3 builds
going again for now.
2009-01-07 22:15:18 +00:00
pooka
5fc66a37cf _rump_init() - > rump__init() 2009-01-07 21:12:30 +00:00
pooka
39c896dd00 ksyms_init() 2009-01-07 21:11:19 +00:00
pooka
12a1e5010a provide kern_realloc 2009-01-07 21:06:53 +00:00
pooka
150e5cca0b Missed realloc in previous. Ride 5.99.6 bump. 2009-01-07 21:06:31 +00:00
bjh21
12052c1959 Make Econet code compile again. 2009-01-07 20:56:40 +00:00
pooka
913883b2cd more namespacing: rua -> rumpuser_aio 2009-01-07 20:34:32 +00:00
pooka
0150192ebb Remove linux compat no longer necessary now that libkern is included
in librump.  Previously we relied on the symbols being magically
satisfied by libc.
2009-01-07 20:24:12 +00:00
pooka
4465a9263d Rename _rumpuser_malloc to rumpuser__malloc so that all exported
rumpuser symbols start with "rumpuser".
(no major bumps or compat will be provided)
2009-01-07 19:49:48 +00:00
jnemeth
cb3aa28dce mention fdc 2009-01-07 09:12:38 +00:00
mrg
32ae7959e8 make sure we set LIBISPRIVATE.
fixes build issues reported by moof.
2009-01-07 07:52:28 +00:00
ahoka
805568190e Implement the required ioctls for running Xorg through /dev/ttyE0.
Reviewed by macallan@
2009-01-07 01:31:01 +00:00
jnemeth
f050d39171 regen 2009-01-07 00:40:51 +00:00
jnemeth
8c8c552278 fix typo in LUCENT ET1301 2009-01-07 00:40:09 +00:00
mrg
9b688fed42 - rework this a bunch to make it work inside /rescue/ldd.
- fix alpha build.
2009-01-07 00:39:23 +00:00
bjh21
d5602e8683 Autoconfiguration cleanup for latches(4):
- Split struct device out of the softc.
- Use device_t and cfdata_t rather than explicit structure pointers.
- Use aprint_*() rather than printf().
- Use device_private() to convert device_t into softc.
2009-01-07 00:09:24 +00:00
bjh21
4c6ac02e21 Autoconfiguration cleanup for iociic(4):
- Use device_t and cfdata_t rather than explicit structure pointers.
- Use aprint_*() rather than printf().
- Pass "self" to config_found_ia rather than &sc->sc_dev.
Also an amount of KNF.
I haven't actually split the device structure off from the softc because
iociic_bootstrap_cookie() expects to allocate fake versions of both at once,
and I've not yet decided what it's best to do about that.
2009-01-07 00:06:59 +00:00
bjh21
06d5a26fdb Autoconfiguration cleanup for arckbd(4):
- Use device_t and cfdata_t rather than explicit structure pointers.
- Split device and (non-existent) softc for arcwskbd and arcwsmouse.
- Use aprint_*() rather than printf().
- Use device_*() to access fields of device_t.
- Use device_private() rather than a cast to convert from device_t to softc.
device/softc split not done for arckbd(4) itself because there are lots
of void* cookies that get treated as arckbd_softc at one end and device_t
at the other, and they'll need a little thought to clean up.
2009-01-06 23:58:00 +00:00
bjh21
25e4eb23f4 Autoconfiguration cleanup for upc(4) at iobus(4):
- Use device_t and cfdata_t rather than explicit structure pointers.
- Use device_*() to access parts of device_t.
- Use device_private() to convert device_t into a softc.
device and softc not split because that will involve venturing outside
sys/arch/acorn26 and I want to get that cleaned up first.
2009-01-06 23:51:34 +00:00
bjh21
8cb474f8d5 Autoconfiguration cleanup for ioc(4):
- Use aprint_*() rather than printf().
- Use device_t and cfdata_t rather than explicit pointer types.
- Use device_* to get at parts of device_t.
- Use device_private to convert device_t into ioc_softc *.
Note that I haven't yet separated the softc from the device structure because
this driver will need a little care in doing that.
2009-01-06 23:48:30 +00:00
bjh21
493a701000 Autoconfiguration cleanup:
- Use aprint_*() rather than printf().
- Split device_t from iobus_softc and remove the latter since it's empty.
- Use device_t and cfdata_t rather than explicit structure pointers.
2009-01-06 23:44:27 +00:00
bjh21
8c2f284250 Autoconfiguration cleanup:
- Use aprint_*() rather than printf().
- Split device_t out of cpu_softc, then remove the latter entirely since that
  left it empty.
- Use device_t and cfdata_t rather than explicit structure types.
2009-01-06 23:41:28 +00:00
bjh21
5e231a9502 Replace the local current_spl with the ARM-wide curcpu()->ci_cpl, since
otherwise a DEBUG kernel panics at the first AST, though I don't think
any non-DEBUG code cares.
2009-01-06 23:35:39 +00:00
haad
0501d89c35 Remove error prints which are not fatal on NetBSD. 2009-01-06 23:21:16 +00:00