Commit Graph

8921 Commits

Author SHA1 Message Date
plunky 8d16a25319 The "Service Availability" value in the SDP record should be a number
from 0-255 indicating how much availability the service has, rather
than the "Load Factor (0-7)" as used in the "Class of Device" setting.
2009-01-24 17:29:28 +00:00
mschuett c998ee30ad PR/40438: Takahiro Hayashi: syslogd(8) refers freed area 2009-01-22 21:10:52 +00:00
lukem 64d3f79556 sign-compare fixes for amd64 2009-01-22 10:45:35 +00:00
bjh21 9d5675794b Bump date for last change. 2009-01-20 20:47:25 +00:00
christos 962e67cdc0 fix version ioctl 2009-01-19 00:53:15 +00:00
he fddc3457b2 Change the use of formally undocumented features, which have now been
made to fail.  Specifically, change
.ifdef(SYMBOL) -> .ifdef SYMBOL or .if defined(SYMBOL),
and corresponding for .ifndef.

Also correct one error in lib/libm/Makefile (.ifdef (${MKCOMPLEX} != "no")?!?).
2009-01-18 20:42:11 +00:00
lukem c5eb4ab601 fix -Wsign-compare issues 2009-01-18 11:56:51 +00:00
lukem b118202501 fix -Wsign-compare issues 2009-01-18 10:39:17 +00:00
lukem 7e0b2295e7 fix -Wsign-compare issues 2009-01-18 10:35:26 +00:00
lukem 3cafe960ea fix -Wsign-compare issues 2009-01-18 10:10:47 +00:00
lukem 29f2e1ce01 fix -Wsign-compare issues 2009-01-18 10:01:34 +00:00
lukem f5a433a737 fix -Wsign-compare issues 2009-01-18 09:57:26 +00:00
lukem e7dd2c7514 fix -Wsign-compare issues 2009-01-18 09:46:59 +00:00
he 38068400a9 Avoid casting an uisigned to a signed value, thereby invoking formally
undefined behaviour.  Instead go via u_int and print with %u.
2009-01-17 22:01:32 +00:00
pooka aeac8f5107 Move fs-specific stuff in Makefile to fs/Makefile.inc to clarify
top-level Makefile.
2009-01-16 19:39:52 +00:00
pooka 9857fb8cb2 remove fsopts asserts - the parameter is unused, so we don't care here 2009-01-16 18:02:24 +00:00
jmmv 9b08dc4841 Make sure that the database version is correct if we are updating a single
record; otherwise, bail out early to avoid leaving the database in an
inconsistent state (some old-format records, one new-format record).
2009-01-16 10:42:36 +00:00
junyoung 555ffa79b2 Fix one more build breakage ("warning: 'er' may be used uninitialized in
this function").
2009-01-16 10:24:20 +00:00
junyoung 121584256f Fix build error (hi christos). 2009-01-16 07:09:09 +00:00
haad f42e53f384 Add lvm script to the lists. 2009-01-16 01:58:32 +00:00
plunky c2336815fa use msg_flags field to determine
a. if the PDU is truncated, close client fd
    b. if a control message is truncated, ignore it
2009-01-15 23:17:00 +00:00
christos 651aa5ccda - remove errmsg; we all have strerror() these days.
- sanitize error printing. Try to print the system error or a reason for
  the message.
2009-01-15 15:58:42 +00:00
christos 19540887f2 - Don't use TOOL_SED; we are not a regular Makefile
- PREFIX defaults to /usr/pkg
- use -g
- delete errmsg.c
2009-01-15 15:57:18 +00:00
christos 5f47ffa430 Oops, forgot to merge this. 2009-01-14 23:18:57 +00:00
he 434b1b61b6 Add a cast to make this build again (no sense in doing PRIu64 when we
& with 7 right after).
2009-01-14 22:57:48 +00:00
reed 26542189a9 Improve -G documentation. It may be repeated.
And value may be comman-delimited list of groups.
16 maximum groups.
2009-01-14 02:18:28 +00:00
christos 4cc87f6053 set the event protocol version. 2009-01-13 18:09:19 +00:00
pooka f604838fff Remove -I${NETBSDSRCDIR}/sys. I have no idea why it was there, but
it sure creates some interesting side-effects.
2009-01-12 20:43:29 +00:00
wiz 140f24c96f regen. 2009-01-11 22:03:15 +00:00
wiz 9492e5b9bf Make ready for HTML output, add comma. 2009-01-11 22:03:10 +00:00
wiz eaae165147 Mark up arguments with Ar and drop trailing whitespace. 2009-01-11 22:02:38 +00:00
pooka 317dcf1496 regen: mount -o rump 2009-01-11 21:15:31 +00:00
pooka 4c643b2022 Note mount -o rump support. 2009-01-11 21:15:07 +00:00
pooka bbf08a8acb Default to threading, non-threaded debug mode can be compiled separately.
Useful if running this from fstab.
2009-01-11 20:31:03 +00:00
bjh21 f8474b32a7 Add support for encoding RISC OS metadata into ISO 9660 filesystems.
This is done by adding the general ability to stuff non-SUSP data into
the end of the System Use field of a Directory Record, which required
some amount of rewriting of the SUSP support.  I think the result is
at least as good as what came before, and I've fixed at least one bug
along the way.  Tested against RISC OS 3.70 on my Risc PC.

Oh, why do we want it?  It should allow us to make acorn{26,32} CDs that
can be booted directly from RISC OS without mucking around copying the
bootloader to a native filing system.
2009-01-10 22:06:29 +00:00
pooka 29d7878897 Don't compile diagnostic code which accesses kernel symbols directly.
Will fail now since not all archs have the same symbol names.
2009-01-10 20:21:15 +00:00
he 8309b1bdfc Initialize a local variable to get rid of a "may be used uninitialized"
warning (turned into error by -Werror).
2009-01-10 11:04:36 +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
kardel 300f8f3036 merge ntp 4.2.4p6 2009-01-08 20:09:03 +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
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
pooka a378ac816b Put syspuffs_glueinit in the rump kernel namespace. 2009-01-08 03:27:10 +00:00
lukem c13322daaf Add rndctl to do_rc().
Thanks to Geoff Wing on current-users.
2009-01-08 02:05:15 +00:00
pooka 4e41c02e05 malloc(9) -> kern_malloc(9): we don't need --wrap anymore. 2009-01-05 21:45:35 +00:00