summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2011-01-10tweak previous; ok millertJason McIntyre
2011-01-10unbind-key -a is allowed no arguments.Nicholas Marriott
2011-01-10Back out rev 1.2 and use mkstemp(), not mktemp(). OK deraadt@Todd C. Miller
2011-01-10delete embarrasingly horrid use of mktemp() brought in from upstreamTheo de Raadt
ok millert
2011-01-10mkdtemp() is present in POSIX 1003.1-2008Todd C. Miller
Add a warning about using less than 6 Xs causing an error on some systems
2011-01-10If pf_test() was called recursively, the global variable pf_hdrsAlexander Bluhm
could be used multiple times for different packets. This happened when pflow(4) was used. Instead of a global variable, store the pf_headers in a local variable on the stack. david@ found the bug, narrowed it down and tested the fix. ok henning@
2011-01-10add the Buffalo WLI-UC-GNHP.Damien Bergamini
from Jordi Beltran Creix.
2011-01-10regenDamien Bergamini
2011-01-10add the Buffalo WLI-UC-GNHP.Damien Bergamini
from Jordi Beltran Creix.
2011-01-10Only use MMCFG extended PCIe config space. Gets us back the on-CPU PCI ↵Mark Kettenis
devices on AMD Family 0Fh processors.
2011-01-10Some nfe(4)/rlphy(4) combos don't work, because the PHY responds to allMark Kettenis
addresses on the mii bus. As a countereasure, only attach the first PHY we encounter. It is very unlikely we're going to ever see nfe(4) with multiple PHYs. The same is probably true for any modern NIC. ok mikeb@, deraadt@
2011-01-10Attach acpihpet only once. The matching code is changed because acpi busMike Belopuhov
can be enumerated which means match routine should do the right thing and prevent further attachments. With input from kettenis, deraadt, miod; ok deraadt, kettenis
2011-01-10have "non quiet" mode for pkg_info -r show something...Marc Espie
postpone locking: we don't need any locks for pkg_info -r.
2011-01-10Remove 2 empty lines.Claudio Jeker
2011-01-10Fix a bad heritage from ospfd. Make neighbors independent of interfaces.Claudio Jeker
They are not bound as strongly as in ospf and causes problems when the TCP connection is established from an not connected IP (e.g. a loopback). Use three RB trees to sort the neighbor list by id, addr and peerid. More cleanup is needed but this makes ldpd work against peers using loopback IPs. Problem found, reported and fix tested again by Marcel Wiget.
2011-01-10Make sure the tlv length is exactly the size we expect.Claudio Jeker
2011-01-10Implement optional parameter handling for initialization messages.Claudio Jeker
This will now correctly ignore TLV with U flag set -- like the FT extension used by JunOS. The function is built after tlv_decode_opt_hello_prms(). Problem reported and fix tested by Marcel Wiget.
2011-01-10Better optional parameter parsing. Ignore unknown TLVs that haveClaudio Jeker
the U flag set. Kill struct hello_opt_parms_tlv since it is now unused.
2011-01-10Rename struct fec_tlv to struct tlv since it is just the genericClaudio Jeker
TLV header which will be used in different places shortly. Cleanup the ldp.h header file a tiny bit.
2011-01-10DPFPRINTF already adds the "pf: ", no need to put it in the errorRyan Thomas McBride
string. ok henning dlg claudio
2011-01-10like in /etc/rc, talk to /dev/arandom as a single read or write.Theo de Raadt
in particular a single write will result in a single re-key event, rather than 64 writes causing 64 re-keys -- wasting the kernel's time.
2011-01-10talk to /dev/arandom as a single read or write.Theo de Raadt
in particular a single write will result in a single re-key event, rather than 64 writes causing 64 re-keys -- wasting the kernel's time. ok guenther
2011-01-10update the documentation regarding the *4 vs *6 decision for early RC4Theo de Raadt
stream discard. this continues to be under discussion... at least this moves the large-buffer transactions to using a *6 discard discussed at length with djm and kjell
2011-01-10move comment block regarding ARC4_MAIN_MAX_BYTESTheo de Raadt
2011-01-10randomread does its own rekeying now, so we don't need the large buf function.Ted Unangst
ok deraadt
2011-01-10OK, this is getting silly, but we might as well zero the entropy bufferTheo de Raadt
supplied by root (it can be large enough to overwhelm the entropy buffer, and we are doing a re-key almost immediately)
2011-01-10zero another intermediate key storage areaTheo de Raadt
2011-01-09be more careful with nanotime() calls in early entropy storage, sinceTheo de Raadt
at least sparc may not have the clock mapped (found by miod). while here, protect some more timeout_*() calls with timeout_initialized()
2011-01-09Continue loading acpiec even if _REG fails.. allows HP G62 to work properlyJordan Hargrave
Linux does the same with error message. _REG only notifies AML that acpiec config space is available. ok marco
2011-01-09Minor tweaks to nc(1) man page and usage.Jeremy Evans
OK jmc@, nicm@, tedu@
2011-01-09In ip6_forward() only one call to icmp6_error() was not protectedAlexander Bluhm
by an if (mcopy). The variable mcopy comes from m_copy() and could be NULL. Bring this call in line with all the other icmp6_error() calls. ok henning@, claudio@, markus@, mpf@
2011-01-09syncTheo de Raadt
2011-01-09Check in resettodr() if inittodr() has been called, otherwise we end upJasper Lievisse Adriaanse
resetting the clock when we don't need to. Found out with booting hppa64 kernels, and the problem also exists on hppa when booting with '-a' and hitting 'exit' when asked for the root filesystem. help & ok jsing@ also ok kettenis@ (who suggested naming the variable like amd64/i386 to prevent creating yet another variant of this code)
2011-01-09have netstat -w default to the first egress interface, which is usually moreTed Unangst
interesting than whatever happens to be the last interface. ok deraadt nicm
2011-01-09Remove a bit of text that makes exit-unattached description unclear.Nicholas Marriott
2011-01-09Add missing arguments to some options.Nicholas Marriott
2011-01-09check that lists lacking their end macro do not crash;Ingo Schwarze
related to mdoc_macro.c rev. 1.59
2011-01-09test font-alternating blocks in literal context;Ingo Schwarze
related to usr.bin/mandoc/man_term.c rev. 1.51
2011-01-09Remove an unused variable, and use int for array indices (not size_t);Ingo Schwarze
found by lint(1), fixed by kristaps@, no functional change.
2011-01-09Only .Bd -literal has 8-character tabs,Ingo Schwarze
while .Bd -unfilled has 5-character tabs just like normal text; from kristaps@.
2011-01-09radio temperature sensor is gone.Damien Bergamini
2011-01-09trust the Tx/Rx chains masks in ROM except for the 4965 and 5100Damien Bergamini
which are known to have broken ROMs.
2011-01-09cleanup; change the way opns are attached.Damien Bergamini
include a fix for Intel Centrino Advanced-N 6250 devices by Antonio R Nicolosi.
2011-01-09Add and install tbl(7);Ingo Schwarze
written by kristaps@, looked over by jmc@.
2011-01-09Sync tbl handling to bsd.lv release 1.10.9:Ingo Schwarze
* .T} can be followed by a delimiter, then more data. * Do not limit table column widths (improves terminfo(5)). * Let numerical cells respect explicitly specified minimum cell widths. * Let terminal output survive missing data cells. * Parse and ignore arguments in parentheses on layout cell specifications. * Move tbl_calc() into out.c such that it can be used by all frontends. * Give tables an HTML class. * Some cleanup in tbl -Thtml code. All code by kristaps@.
2011-01-09NYTProf now warns against $& in regexps, remove that one which doesn'tMarc Espie
serve any purpose...
2011-01-09Make sure coding errors cannot make us miss fatal parsing errorsIngo Schwarze
by assert(3)ing valid parser state in the main parsing functions; from kristaps@.
2011-01-09add yet another check: obviously in a @depend line, if the def part doesn'tMarc Espie
match the pattern, the package has something wrong. prevents some bogus tk LIB_DEPENDS from even packaging.
2011-01-09Sync to bsd.lv:Ingo Schwarze
* one additional pair of .Sx cross references * prefer .Dl over .D1 for code examples
2011-01-09Only use memory mapped extended PCIe config space access for the bussesMark Kettenis
advertised in the MCFG table, and fall back on the traditional method for other busses. Fixes issue reported by henning@.