summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2006-04-13Remove unused variable.Ray Lai
Found by lint. OK xsa@
2006-04-13Currently rcs_getopt spits out a generic error message if you doRay Lai
`ci -m file'. This changes it so if -m is given without an argument a customized error message is printed. While I was there I sorted the optstring according to style(9). ``Oh, I see it now.'' niallo@
2006-04-13clean up temporary files when we finish running.Joris Vink
"cool" niallo@
2006-04-13Coverity ID 2311: in auixp_allocate_dma_chain() free dma variable ifBrad Smith
we are unable to allocate hardware dma descriptors. From NetBSD ok dlg@
2006-04-13free mem if attach fails; netbsd coverity cid 2329Jolan Luff
ok dlg@
2006-04-13Use PAGE_SIZE rather than NBPG.Brad Smith
From NetBSD ok martin@ miod@
2006-04-13Don't use NBPG.Brad Smith
From NetBSD ok martin@ miod@
2006-04-13fix some typosNiall O'Higgins
2006-04-13regression tests for "local"Hans-Joerg Hoexer
2006-04-13Add support for "local" to ike rules. Allows to specify the local IP to beHans-Joerg Hoexer
used on a multi-homed machine. Also, relax order of peer/local keywords. ok markus@
2006-04-13various changes to the table-driven code as a result of conversationsTheo de Raadt
with wilfried. unfortunately days have gone by without him (or others) saying that it works fine. in it goes. maybe it will crash for someone?
2006-04-13Regression tests for ci and co for revision-less RCS files.Ray Lai
OK joris@
2006-04-13Somehow the regression tests and commit message were both gone fromRay Lai
the last commit. This adds the missing symbols regression tests. Also includes an rcsclean regression test. Previous commit, which included these tests, OK joris@
2006-04-13correctly handle RCS files without any revisions;Joris Vink
original diff from ray@, crafted into shape by myself. okay ray@
2006-04-13Change maxsize to type off_t.David Hill
Add a cast for portability's sake. "Right..." @deraadt
2006-04-13Change how hw.sensors prints. Much simpler format, easier to read. WhileTheo de Raadt
there, stick to printing temperature measurements in just one sane unit. ok various people, no objections for the latter
2006-04-13*** empty log message ***Ray Lai
2006-04-13fix more signal races; ok moritzTheo de Raadt
2006-04-13put "dump: filename " at the start of each ^T message...Theo de Raadt
2006-04-12Better match GNU behavior for rcs -l and rcs -u.Ray Lai
Save 2 bytes of newlines. OK joris@
2006-04-12regenMark Kettenis
2006-04-12Add Atheros AR5424 PCI Express mini WLAN.Mark Kettenis
2006-04-12If /dev/apm does not respond, use a fake (pre-built) response packetTheo de Raadt
that can be printed. This makes apm(8) act the same whether talking to apmd(8) or directly to a (potentially non-functioning) /dev/apm. ok kettenis
2006-04-12do not pass uninitialized variable cpuspeed up; ok kettenisTheo de Raadt
2006-04-12document that tunnel and transport mode can be specified for SAs.Hans-Joerg Hoexer
2006-04-12yet another missing break;Xavier Santolaria
2006-04-12messages on the routing socket have different headers - rt_msghdr,Henning Brauer
if_msghdr, etc. they only share the first 3 fields, and then differ. this leads to a bug in RTM_IFINFO handling. We did abort on rtm->rtm_errno != 0, but if_msghdr has no errno, so we look at something in the data part instead. Surprising that this didn't bite us before! So we must only do these checks for RTM_ADD/CHANGE/DELETE that actually use rt_msghdr. found whiel checking strange behaviour tony sarendal <dualcyclone@gmail.com> saw, and then totally strange behaviour on my amd64 hackbox. claudio ok
2006-04-12add a few words about how groups of interfaces can be used.Alexandre Anriot
help and ok henning@ jmc@
2006-04-12missing break; "Yeah, obvious" ray@.Xavier Santolaria
2006-04-12connect tests for transport modeHans-Joerg Hoexer
2006-04-12tests for transport mode, not connected yetHans-Joerg Hoexer
2006-04-12It is no longer allowed to change attributes in place. This corrupts theClaudio Jeker
attribute cache. Instead remove attribute and readd it after beeing changed. This should fix the "att_diff: equal attributes encountered" error seen by Tony Sarendal. OK henning@
2006-04-12check for inflateReset() and deflateReset() return values; OK niallo@.Xavier Santolaria
2006-04-12make rthreads compile againHenning Brauer
pthreads header changed, char * -> const char *
2006-04-12delintDavid Hill
ok beck@
2006-04-12use "/bypass" instead of "/permit" when showing bypass flowsHans-Joerg Hoexer
ok henning claudio
2006-04-12spacesTheo de Raadt
2006-04-12document ESRCH; from kristaps johnson (pr #5074)Jason McIntyre
description lifted from kill(2), as pointed out by deraadt ok deraadt
2006-04-12Clean up <rev> handling. Whenever a revision is specified after aRay Lai
flag, it calls one of two new functions: rcs_setrevstr() or rcs_setrevstr2(). rcs_setrevstr() sets a string to another string, and complains if it was set more than once. rcs_setrevstr2() takes two strings, sets one after the other, and fatal()s if more than two strings were given. All <rev> handling is now done in the loop that goes through each argv. This is necessary for parsing symbols, which will be much easier after this. Along the way a lot of memory leaks were cleaned up. There is one area where rcs_set_rev() is called, which allocates a RCSNUM and stores it in pb.newrev, but it segfaults whenever I try to rcsnum_free() it. I put an /* XXX */ comment there for now. Passes regression tests and the code is less complicated in some ways (to me). Suggestions and OK xsa@
2006-04-12xmalloc(); memset(); -> xcalloc();Ray Lai
OK xsa@
2006-04-12when the interrupt handler has run out of work to do it shouldnt return 0David Gwynne
from the work loop. instead it should break from it so the spl can be lowered and any work that has been done can be counted. this fixes interrupt counting at least, and possibly issues related to leaving splnet raised.. ok deraadt@
2006-04-12TRENDnet TEW-229UB works.Jonathan Gray
2006-04-12Improve error message.Ray Lai
Found by Florin Iamandi <florin dot i at tiscali dot it>. OK tedu@ and deraadt@
2006-04-12revert the new superblock format. it violates the rule that newTed Unangst
kernels and old tools are safe. i'm leaving in the "updated" flag, so that fsck will continue to remove it from filesystems. the kernel no longer attempts to upgrade superblocks and will use the old format. post-mortem discussions have concluded that maybe jamming ffs2 fields into random locations in the superblock is asking for trouble, and we need to talk about this some more. my bad for not thinking fast enough.
2006-04-11Plug memory leaks.Ray Lai
Spotted by NetBSD Coverity CID 1603, improvements by jaredy@ and otto@. OK otto@ and millert@
2006-04-11Check for strdup() failure.Ray Lai
OK jaredy@
2006-04-11make this use nanotime, not microtime; ok mickey@Damien Miller
2006-04-11on link state changes, copy baudrate (negotiated link speed) from parentHenning Brauer
device. previously this was only done at config time, so vlan if's baudrate could easily get out of sync with parent's. ok camield brad
2006-04-11minimal documentation for -fstack-protector-all and gcc -E -CC in 2.95.3.Marc Espie
2006-04-11even better; tobias@bugol.deTheo de Raadt