fvdl
046051d487
Fix a sign warning for WARNS=3.
2005-08-13 01:49:35 +00:00
jmmv
38501db2ff
Drop extra word from comment.
2005-08-12 22:31:51 +00:00
he
1bb5735b5e
Check the return value from mktime() and pass any error up.
...
*tp > LONG_MAX is never true, so replace that check with a test
for strtol() setting errno == ERANGE (oddly, some ports' build
swallowed this without warning).
There's no guarantee that a time_t stores the same number of bits
as a long, so check for an overflow there as well, and pass any
error up.
Discussed with christos, martin and mrg.
2005-08-12 21:40:35 +00:00
ginsbach
9992d68aff
Make sure the get command always exits non-zero on error. This makes things
...
like the following work as expected.
#!/bin/sh
if ! route -sn get default >/dev/null 2>&1; then
echo default gateway not set
exit 1
fi
echo default gateway set
Handle routing socket write(2) errors when they occur. This produces
better diagnostics by allowing for handling of the special route errno
values ESRCH, EBUSY, and ENOBUFS even with the quiet (-q) option or
when doing a get command.
2005-08-12 21:23:06 +00:00
riz
9f6e077029
Add snj and riz to Release Engineering team.
2005-08-12 20:47:32 +00:00
ginsbach
9c8def382d
Trim the local domain name in routename() for INET6 lookups; similar to
...
INET lookups.
2005-08-12 16:29:06 +00:00
macallan
87c196d064
revert previous version, will create a device node in the boot loader instead
2005-08-12 16:28:14 +00:00
christos
91b1a8d112
patch from Liam Foy to add a -F option to force a user to change her's/his
...
password at the next login.
2005-08-12 16:22:05 +00:00
christos
622690226a
If called from syn_cache_add, we need to initialize t_state before calling
...
tcp_dooptions. Pointed out by yamt.
2005-08-12 14:41:00 +00:00
elad
bbf85a429b
Use PRIxPTR when printing a pointer.
2005-08-12 14:08:16 +00:00
macallan
332916f171
For Krups only - attach audiocs at ebus even if there's no sound node in the
...
device tree. Works only as long as the cs4231 driver doesn't attempt to use
the node since we can't really supply one.
Tested on a Krups with OF 3.11.10
2005-08-12 12:46:17 +00:00
yamt
d1f3bf1181
pmap_enter: fix an uninitialized variable bug which can cause
...
"TLB IPI rendezvous failed".
2005-08-12 10:04:24 +00:00
yamt
03661e8f33
include callout.h explicitly.
2005-08-12 10:02:31 +00:00
hubertf
a72fe4e4bf
Clarify comment that "the protocol specification dated September, 1981"
...
is really RFC 793.
2005-08-12 04:19:22 +00:00
junyoung
b0c452fd1f
Make microcode loading work on big endian machines.
...
Reported and patch supplied by yongari@freebsd a long time ago.
2005-08-12 01:07:16 +00:00
christos
5910d08b05
Don't process TCP options in SYN packets after the connection has
...
been established. (FreeBSD-SA-05:15.tcp)
2005-08-11 22:25:18 +00:00
rpaulo
aaf548920f
Explained the '-h' option.
2005-08-11 20:56:57 +00:00
rpaulo
630caafc65
Added a new ifconfig flag, -h, allowing, in conjunction with -v, the display
...
of interface I/O bytes in human-format.
Reviewed by Christos Zoulas and Jason Thorpe.
2005-08-11 20:56:05 +00:00
cube
9f1eb3e30f
Change all archs that did:
...
#define clockframe somethingelse
to:
struct clockframe {
struct somethingelse cf_se;
};
and change access macros accordingly.
That means that, at least for that very issue, things will not go
ka-boomy if you don't have the actual definition of struct clockframe
before including systm.h.
2005-08-11 20:32:55 +00:00
drochner
bbc1e050c5
imported dhcp-3.0.3
2005-08-11 17:22:35 +00:00
drochner
9fbefaf7c9
merge dhcp-3.0.3
2005-08-11 17:13:21 +00:00
drochner
1b6f9e91ef
import ISC dhcp-3.0.3 onto the vendor branch
2005-08-11 16:54:17 +00:00
yamt
3a2482b78f
fr_check_wrapper6: handle M_CSUM_TCPv6|M_CSUM_UDPv6.
2005-08-11 13:01:38 +00:00
yamt
bbfb2033ff
pfil6_wrapper: handle M_CSUM_TCPv6|M_CSUM_UDPv6.
2005-08-11 13:01:24 +00:00
yamt
2edce77c87
document pmap_procwr.
2005-08-11 11:20:48 +00:00
pooka
9157daca51
apply cosmetics to VOP_MK/RMDIR prototypes
2005-08-11 10:49:47 +00:00
pooka
304eed6ad2
document the flags O_ALT_IO and O_NOCTTY
2005-08-11 10:35:24 +00:00
pooka
f219942c2b
match section on read/write ioflags with current reality
...
(bump date!)
2005-08-11 10:06:38 +00:00
elad
3df38a6c89
Make inpath work like strstr again. :)
2005-08-10 21:53:01 +00:00
elad
9d164b22bc
Add comments.
2005-08-10 21:33:36 +00:00
rpaulo
cccbf666c8
Query the v6 sockets only if USE_INET6 != "no". Patch provided by Jukka Salmi
...
on PR#30963.
ok atatat@
2005-08-10 20:32:57 +00:00
rpaulo
0459285527
Fix a typo in the islistening() routine. Patch provided by Jukka Salmi
...
on PR#30963.
2005-08-10 20:21:14 +00:00
xtraeme
cf10ca7b98
Add vnconfig(8). ok christos
2005-08-10 20:04:40 +00:00
rpaulo
07b524b43f
Added a missing '-' in score list output.
2005-08-10 19:21:21 +00:00
elad
e4088913b5
Separate constructing the path to the policy away from systrace_addpolicy() and
...
into systrace_getpolicyfilename().
2005-08-10 18:19:21 +00:00
rpaulo
b0282a1ea0
Pass lint(1).
2005-08-10 17:53:28 +00:00
rpaulo
16a8e8c2e7
Enable WARNS=3.
2005-08-10 17:52:56 +00:00
rpaulo
279b6fba65
Fixed an output bug where a new-line was added due the usage of puts(3).
2005-08-10 16:10:51 +00:00
macallan
b97218831c
add uni_n, 2nd ki2c, iic, deq, hardware monitors.
2005-08-10 15:57:32 +00:00
macallan
f869dc7da4
added uni_n, deq, attachments for adt7467c and adm1030c, additional attachment for ki2c
2005-08-10 14:39:25 +00:00
macallan
d9f9caa094
- don't call ki2c private functions anymore, use iic_exec() to be a good i2c citizen
...
- use the deq driver to find the mixer device
- add controls for bass and treble
2005-08-10 14:32:08 +00:00
macallan
98735d6c6c
dummy driver to represent the uni-n node in OF and attach its children
2005-08-10 14:30:15 +00:00
macallan
f5c3157174
split from ki2c.c
2005-08-10 14:29:08 +00:00
macallan
19df969aa4
dummy driver to represent the deq node in OF, marks the equalizer/mixer chip used by snapper
2005-08-10 14:28:22 +00:00
macallan
40f380a1cb
allow to attach a normal iic bus, implements only iic_exec() and locking functions so far.
2005-08-10 14:26:46 +00:00
macallan
9e54758862
glue to attach thermal monitor chips directly to ki2c
2005-08-10 14:20:44 +00:00
macallan
d0c6868c13
added drivers for Analog Devices ADT7467 and ADM1030 thermal monitor / fan controller chips found in various Apple laptops and probably other machines.
2005-08-10 14:18:28 +00:00
rpaulo
e58060915c
Pass lint(1).
2005-08-10 14:02:26 +00:00
rpaulo
2c43d92fd8
Enable WARNS=3.
2005-08-10 14:02:10 +00:00
peter
ad9c34ce5c
Changes suggested by lukem:
...
1. Order pf to start before the network is configured.
2. If the pf_rules cannot be found at boot time, abort the boot (from the
ipfilter script).
2005-08-10 13:52:05 +00:00