Commit Graph

9857 Commits

Author SHA1 Message Date
plunky
ee76f29c49 rcconf_is_set takes a tuple of <script> <variable>, so add
in a couple of missing script names

	network ip6forwarding
	sysctl defcorename

and remove the trailing "sysctl"
2011-07-14 09:35:24 +00:00
plunky
0067012e91 introduce rcvar_is_enabled to test if a rcvar is enabled
use this instead of rcconf_is_set to warn about superseded
rc.d scripts, to silence spurious warnings produced before
/etc/defaults/rc.conf script was updated.

(spurious warnings noted by Martin Husemann)
2011-07-14 09:31:19 +00:00
dholland
2a4f285a6d Minor cosmetic fixes, no semantic changes. (object file diffs have been
checked)
2011-07-10 07:54:49 +00:00
dholland
edda69b9c3 tsort contents of file. 2011-07-10 07:31:48 +00:00
dholland
a958ceefc8 use __dead 2011-07-10 07:19:24 +00:00
kefren
e733a1c2f0 Mention that it doesn't support Path Vectors and Hop Counts
Mention RFC3037 and xref ldpd.conf
2011-07-07 05:20:16 +00:00
kefren
849a1cbddc return EXIT_SUCCESS and EXIT_FAILURE instead on 0 and -1 2011-07-02 18:17:12 +00:00
joerg
7293bf2d37 Replace malloc + incorrect memset with calloc. 2011-07-01 03:09:29 +00:00
joerg
a6bdeabc26 Fix memset usage. 2011-07-01 03:07:21 +00:00
mrg
1c1ba33ca6 apply some -Wno-strict-overflow for GCC >= 4.5 2011-07-01 02:42:10 +00:00
wiz
4cbd24b23f dependant -> dependent 2011-06-30 20:09:15 +00:00
mrg
b6d5d1aeec fix previous / -Wno-enum-compare is only valid for GCC 4.5. 2011-06-29 06:34:31 +00:00
mrg
667b3f39be -Wno-enum-compare is only valid for GCC 4.5. 2011-06-29 06:32:32 +00:00
mrg
90786c5ad2 apply some -Wno-enum-compare 2011-06-29 02:40:11 +00:00
plunky
976f402dd7 use appropriate types for uid/gid 2011-06-25 09:28:45 +00:00
enami
0b23c5aa3d Move inclusion of sys/endian.h from cd9660_eltorito.c to cd9660.h
since actual user is not cd9660_eltorito.c but iso.h and
cd9660_eltorito.h.

Actually, include order/place of sys/endian.h doesn't matter on
netbsd since it is always included by sys/types.h but it's not
true on other system.  This should fix cross build breakage on
freebsd introduced by rev. 1.16 of cd9660_eltorito.c.
Problem reported and fix suggested on twitter.
2011-06-23 02:35:56 +00:00
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