Commit Graph

9841 Commits

Author SHA1 Message Date
mrg
5ed322d90a apply some -Wno-error/-Wno-enum-compare/-Wno-array-bounds.
this should be looked at more closely.
2011-06-22 05:23:53 +00:00
mrg
33c01d32fc remove some always true if () checks GCC 4.5.3 picks up. 2011-06-22 04:03:23 +00:00
mrg
62f88af12a fix the length argument to a memcpy() to refer to the size of the
destination, not the size of the pointer.  real bug on 64 bit platforms.
2011-06-22 04:02:46 +00:00
mrg
c111245a78 apply some -Wno-error and/or -fno-strict-aliasing.
all of this should be looked at closer, but some of them are not
very trivial.
2011-06-22 02:49:41 +00:00
mrg
2c77b0841d avoid code that looks like this:
x = x = y;
since GCC 4.5 complains about it having sequence point issues.
2011-06-21 09:36:46 +00:00
enami
7a059b3bd9 Now need to use own buffer for klog read due to previous change. 2011-06-20 08:27:15 +00:00
mrg
75e42fa7da remove most of the remaining HAVE_GCC tests that are always true in
the modern world.
2011-06-20 07:43:56 +00:00
enami
9394c08bbe Defer the processing of incomplete line at the end of buffer so that
kernel printf messages logged to /var/log/messages become always
easier to read.
2011-06-20 00:42:11 +00:00
wiz
d7b84b20f6 New sentence, new line. Fix some typos and an xref. Bump date. 2011-06-17 18:20:40 +00:00
manu
448e1c49b2 Add mount -o extattr option to enable extended attributs (corrently only
for UFS1).
Remove kernel option for EA backing store autocreation and do it by
default. Add a sysctl so that autocreated attriutr size can be modified.
2011-06-17 14:23:50 +00:00
kefren
d4ba594c90 Correct prefixlen->sockaddr calculation. Now ldpd may finally allow MPLS
forwarding for default route.
2011-06-16 20:42:15 +00:00
kefren
c2db1af7a2 obey RFC3036 3.5.2 regarding holdtimes
wire SIGINT
2011-06-16 14:48:30 +00:00
kefren
e043db3b96 Introduce 'show labels' command that reports about labels received from
unsolicited label-maps. Statify.
2011-06-16 08:27:28 +00:00
kefren
7102910ef8 shorten some execution paths related to check_route() and get_route()
statify a bit
don't assume AF_INET in a debug message
2011-06-16 07:11:51 +00:00
kefren
4671a6ac8d clear the error condition
KNF a little bit
2011-06-16 06:05:47 +00:00
kefren
0c4a44d22f we need to add mapping even if there is no route for the prefix 2011-06-15 18:16:48 +00:00
kefren
374dea10e0 simplify the rtsock read sequence
apply a little bit of KNF
2011-06-15 13:24:48 +00:00
kefren
9b733c1c9d * add no-default-route option into configuration file and check it before
rejecting default-route
* exit process in case of error into the main loop
* complete FSM for RTM_CHANGE
* Check if we overflow pollfd array
2011-06-14 11:28:51 +00:00
kefren
298f340a61 Use IN_LOOPBACKNET where is the case
Don't forget to freeifaddrs() in case of error
Update a couple of debug messages
2011-06-14 11:23:02 +00:00
matt
b418df248c A small bit of constification 2011-06-14 05:35:08 +00:00
joerg
d45d65aa1c Input function is not used 2011-06-09 13:09:42 +00:00
pgoyette
eaed4c6e56 Instead of relying on the want-percent attribute, use the sensor
type to restrict value-based limits from Battery-capacity sensors.
2011-06-08 16:11:25 +00:00
wiz
8fb66db3ec Sync usage with man page. 2011-06-08 12:49:45 +00:00
wiz
20e3a8d382 Sort options. New sentence, new line. 2011-06-08 12:47:51 +00:00
drochner
89c8725c96 add support for the interesting parts of ISO-2 and KOI8-R fonts
to the vga(4) driver
2011-06-08 10:25:21 +00:00
wiz
c8bcdb2bd2 Sort sections. 2011-06-07 17:47:24 +00:00
pgoyette
40470b7ff0 Add a BUGS section to point out that the statistic "average" is an
average only of the current, minimum, and maximum values, and not a
running average of all displayed current values.
2011-06-07 17:28:59 +00:00
pgoyette
83a2ecf6cc Zero is a valid value for some sensors so update statistics code to
handle that.
2011-06-07 17:24:32 +00:00
bouyer
a3a7248ce7 Fix bad cut'n'paste in copyright. Pointed out by dyoung@ 2011-06-07 14:56:12 +00:00
pgoyette
c84ec94ab0 1. Don't print blank for Integer sensors with value of zero
2. Properly print percentages in -T statistics mode
3. Always set Sensor Type (units) to a non-NULL value
4. Enable printing of percentages for Integer sensors
2011-06-06 20:48:56 +00:00
drochner
2125f0d5e4 make this work again after routing socket alignment changes 2011-06-06 16:50:46 +00:00
pgoyette
dec626b5e2 Since there is no longer a value-avg property, remove the code that
extracts it.
2011-06-04 13:29:02 +00:00
christos
c5cc5da37b a little undocumented debugging. 2011-05-31 03:37:02 +00:00
manu
26381d518d Use SOCK_SEQPACKET in perfuse if available. This fix file operations hangs
where the FUSE filesyste replied to an operation and got an ENOBUFS it did
not handle.

We now are also able to cleanly unmount
2011-05-30 14:50:08 +00:00
joerg
28050549eb Ignore warnings when building with clang for now. 2011-05-30 14:41:26 +00:00
dyoung
4b2c4b100e It's not necessary to #include both <machine/bus.h> and <sys/bus.h>,
because <sys/bus.h> will do: <sys/bus.h> #includes <machine/bus.h>.
2011-05-30 01:15:30 +00:00
tsutsui
79fcae9efc Apply fixes for PR bin/44114 (makefs(8) -t cd9660 -o rockridge creates
corrupted cd9660fs):
 - makefs/cd9660.c:
  - cd9660_rrip_move_directory() should also update lenght[0] and
    name_len[0] in dir->isoDirRecord
 - makefs/cd9660/iso9660_rrip.c:
  - cd9660_rrip_finalize_node() should check rr_real_parent in node->parent,
    not in node itself in RRIP_PL case
  - cd9660_rrip_initialize_node() should update only node passed as arg
    so handle RRIP_PL in DOTDOT case

Fixes malformed dotdot entries in deep (more than 8 level) directories
moved into .rr_moved dir.

Should be pulled up to netbsd-5.
(no official ISO has such deep dirs, but cobalt restorecd is affected)
2011-05-29 17:07:57 +00:00
tsutsui
72050b117c - remove unnecessary (pasto?) line on RRIP PL handling for moved dir
- RRIP RE length should be 4, not 0
2011-05-28 11:59:29 +00:00
plunky
b52bb12959 provide a new 'bluetooth' rc.d script, to handle Bluetooth configuration
in a simpler manner. This replaces btattach, btconfig, bthcid, btdevctl
and sdpd scripts, and also should not require any configuration settings
other than "bluetooth=YES", though the full range of configurations is
still possible.
2011-05-27 09:28:41 +00:00
joerg
a216da57a6 Default to -Wno-sign-compare -Wno-pointer-sign for clang.
Push -Wno-array-bounds down to the cases that depend on it.
Selectively disable warnings for 3rd party software or non-trivial
issues to be reviewed later to get clang -Werror to build most of the
tree.
2011-05-26 12:56:24 +00:00
dholland
0c53a1f2e4 Don't print uninitialized values off the stack, even as debug messages. 2011-05-25 04:59:22 +00:00
dholland
ef192e52d5 When checking if /var/yp/binding/foo.ypservers exists, use the domain
name of the domain being checked instead of the default domain name. Duh.
Necessary for PR 43900.
2011-05-25 04:33:52 +00:00
joerg
5b79cac715 No input needed 2011-05-24 13:41:53 +00:00
joerg
9d62088ad4 Properly use format strings 2011-05-24 13:26:41 +00:00
joerg
b7d3c3b035 Explicitly mark a NEWREF as unused 2011-05-24 13:26:04 +00:00
joerg
aeb74a68bf Properly use format strings 2011-05-24 13:25:25 +00:00
joerg
ea580acd89 Use proper format string 2011-05-24 13:19:55 +00:00
joerg
77a6772536 Kill redundant () 2011-05-24 13:08:16 +00:00
joerg
e4a1756060 Packed pointers are non-sense 2011-05-24 13:03:19 +00:00
joerg
0f19a96b11 Kill redundant externs 2011-05-24 13:02:37 +00:00