summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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
2006-04-11oopsTheo de Raadt
2006-04-11Don't rcs_close() before fatal(). After much hesitation, joris@Ray Lai
and xsa@ finally convinced me this is safe (and better). OK joris@, niallo@, and xsa@.
2006-04-11Don't close() before fatal().Ray Lai
OK joris@, niallo@, and xsa@.
2006-04-11duplicate in the safe listTheo de Raadt
2006-04-11KNF.Marco Peereboom
2006-04-11Add acpi_resume(struct acpi_softc *sc), which calls some AML methods,Gordon Willem Klok
detected at attach time, currently unused. ok marco@
2006-04-11Discover some ACPI sleep related methods, and call them at theGordon Willem Klok
appropriate time in acpi_enter_sleep_state(). ok marco@
2006-04-11Change cvs_buf_grow() to return void, since it cannot fail, andRay Lai
just use xrealloc, since it handles the case of an unallocated buffer anyway. (b->cb_buf should be NULL if the space is unallocated.) ``Tested & looks OK to'' niallo@.
2006-04-10typo by bradTheo de Raadt
2006-04-10syncTheo de Raadt
2006-04-10incorrect freeaddrinfo() call on failure; mike.pechkin, otto okTheo de Raadt
2006-04-10syncTheo de Raadt
2006-04-10make sure we add the correct name mkstemp(3) creates for usJoris Vink
to the worklist of temporary files. this way we definatly don't leave any files behind in /tmp. tested & okay niallo@
2006-04-10- use fchmod() instead of chmod() in cvs_buf_write_stmp(), makesNiall O'Higgins
it like cvs_buf_write() - print warning on fchmod() failure (suggested by ray) ok joris@ ray@
2006-04-10move the commented example /var/mail/whitelist.txt to /var/db, so itDaniel Hartmeier
doesn't trigger security(8)'s ownership checks. ok bob@
2006-04-10atoi() -> strtonum(), also better handling of /0 problem spotted byTheo de Raadt
tobias@bugol.de. fix written by me
2006-04-10sch5017 is an adt7460 clone of some type. also, we are seeing someTheo de Raadt
ways to determine the actual voltage multipliers, so move to a table driven model, which we can tweak as we see more varients. checked by kettenis jolan and roman
2006-04-10switch to openrcs and eliminate more gnu from the tree.Joris Vink
note that openrcs still lacks some features. okay niallo@, xsa@, ray@, "Do it" deraadt@
2006-04-10- zap some whitespace.Niall O'Higgins