Commit Graph

176543 Commits

Author SHA1 Message Date
tsutsui
4f13ce5106 Use "-Os -freorder-blocks" as well as <sys.mk> for ramdisk build.
"-Os might cause compiler bugs on sh3" comment was for egcs or gcc3.
"-Os" might be also safe, but use the same one with the default sh3 build
for now.

Briefly tested on (not emulated but real) dreamcast.
2009-01-09 10:05:27 +00:00
apb
a61d570b55 Move explanatory text above the "dynamically-created" example,
to match other examples.
2009-01-09 09:39:05 +00:00
kardel
8e2fdb6d67 ntp 4.2.4p6 imported 2009-01-09 07:26:10 +00:00
tteras
a0b1dc6be0 Fix a CPPLAGS typo to CPPFLAGS which was intended 2009-01-09 06:31:38 +00:00
tteras
9df0ec5c7e Fix a CPPLAGS type to CPPFLAGS which was intended 2009-01-09 06:31:37 +00:00
pooka
6520945b68 Add a handcrafted assym.h to allow hp700 to build. This file should
really be autogenerated, but seems it's generally not required by
stuff in rump and guessing the location of the appropriate genassym.cf
is difficult without a major consultation.

Thanks to Havard for spotting the build failure.
2009-01-09 01:38:35 +00:00
bjh21
7dd482c240 Fix another bug in SUSP "CE" handling: when the SUSP records fit into
the System Use field with fewer then 28 bytes to spare, we were
remembering the wrong length for the System Use field and hence
emitting a corrupt directory entry.  This could be triggered by trying
to build a filesystem containing a regular file with a 120-byte name.
Now we're a little more careful.
2009-01-09 00:24:07 +00:00
bjh21
61773f97b8 When splitting a System Use Area between a System Use field and a
Continuation Area, be sure to insert the "CE" record at the correct
point in the chain of SUSP records.  Without this, makefs emits
an invalid image if any file needs a Continuation Area.  The bug
seems to have been introduced with the conversion to TAILQs.
2009-01-08 23:31:33 +00:00
bjh21
a9eb597f96 Typo: debuging -> debugging. 2009-01-08 22:28:45 +00:00
bjh21
72846fc11e If the user specifies a cd9660-specific option that needs an integer value
without supplying a value, complain at them instead of segfaulting.
Or, to put it another way, check that the value is non-NULL before calling
set_option().
2009-01-08 22:26:19 +00:00
christos
8b39f71df8 - when we close an se_fd, set it to -1
- fix int/ssize_t/size_t/socklen_t issues
- fix casts
- remove unused variables
- fix prototypes
- fix const
- remove unneeded casts
2009-01-08 21:37:20 +00:00
simonb
04c85f4b11 NTP 4.2.4p6 is out. 2009-01-08 21:25:31 +00:00
dsl
a4f183d445 Fix PR bin/1443 properly!
Ignore '=' and ' ' inside {} and () when looking for an assignment operator.
Also require the operator be immediately after any whitespace.
XXX mismatched (){} in variable modifiers will not DTRT.
2009-01-08 21:12:09 +00:00
kardel
300f8f3036 merge ntp 4.2.4p6 2009-01-08 20:09:03 +00:00
pooka
53313f280c Add comment requesting modifications to __archivebuild be reflected
in the rump build.
2009-01-08 20:03:59 +00:00
pooka
f72740e2d9 Add Makefile.rump to DPSRCS. Should solve issues with UPDATE=1 builds. 2009-01-08 20:00:12 +00:00
kardel
0fee6ba94f Import ntp 4.2.4p6 2009-01-08 19:17:53 +00:00
pooka
2a81341f7a Remove vax MD source which is now brought in automatically via libkern. 2009-01-08 19:14:37 +00:00
jakllsch
0f24b5edb2 Use ${VERSIONFILE} instead of ${.ALLSRC} to match Makefile.boot.
This change stops the full path of newvers_stand.sh from showing up in
pxeboot_ia32.bin.
2009-01-08 19:02:12 +00:00
christos
313780f726 PR/40339: Ed Ravin: make ftpd log both the hostname and numeric address. 2009-01-08 18:47:49 +00:00
pooka
73cbbc614e For applications which naughtily reach over to the rump kernel
namespace without using proper interfaces, do a little namespace
compensation.
2009-01-08 18:44:31 +00:00
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