summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-07-15Use warnx instead of warn since errno wasn't set. From diff.Ray Lai
OK xsa stsp nicm
2010-07-15sync the elf types and their comments; ok millertJason McIntyre
2010-07-15document the missing "note section";Jason McIntyre
reported by Michael Kerrisk, freebsd pr 147995 big thanks to miod and millert for filling in the blanks
2010-07-15knock out MetaGeek Wi-Spy 2.4i from attaching to uhid.Stuart Henderson
2010-07-15syncStuart Henderson
2010-07-15add MetaGeek Wi-Spy 2.4iStuart Henderson
2010-07-15store openssl error output during verification, and log it if it didn't work.Marc Espie
2010-07-15Correct function in panic string. From Christophe FillotClaudio Jeker
2010-07-15Sync with diff/diffreg.c r1.75:Ray Lai
Return -1 on error as advertised. Handle case when only one stream failed. OK xsa, stsp
2010-07-15whitespaceMarc Espie
2010-07-15whitespaceMarc Espie
2010-07-15m_getptr(m, 0, ...) may return an mbuf different from m -- if m has noClaudio Jeker
data in it. m_getptr() hops over empty buffers and points to the first allocated data byte. Because of this the m_dup_pkthdr() call done by m_copym0() can panic because not the first mbuf is passed. Found the hard way by myself, diff by blambert@ commiitting for him since he is not around. Tested and OK myself
2010-07-15* Comment poll support in conf.hMarcus Glocker
* Comment why we call the video interrupt in the mmap interface now in uvideo.c
2010-07-15add two new members to structs audio_encoding and audio_prinfo.Jacob Meuser
for both structs, the new members are 'bps' and 'msb', which describe the number of bytes per sample and data alignment in the sample, respectively. drivers must properly set these fields in the 'query_encoding', 'set_parameters' and 'get_default_params' hardware interface methods. discussed with ratchov, deraadt
2010-07-15limit the pools from 14 bits down. We cannot use PAGE_SIZE because itTheo de Raadt
is a variable on sparc. This should be revisited... after the arguments for pagesize vs 4K complete :)
2010-07-15the uvm_km_putpage is calling into tangly uvm guts again on not pmap direct.Ted Unangst
go back to something more like the previous design, and have the thread do the heavy lifting. solves vmmaplk panics. ok deraadt oga thib [and even simple diffs are hard to get perfect. help from mdempsky and deraadt]
2010-07-14syncStuart Henderson
2010-07-14sync from mirrors.datStuart Henderson
2010-07-14pass the correct af if not specified.David Hill
fixes printing active connections twice. ok claudio@
2010-07-14Return -1 on error as advertised.Ray Lai
Handle case when only one stream failed. OK otto, millert
2010-07-14implement poll() for video(4)Jacob Meuser
ok mglocker
2010-07-14The append side of a socketbuffer is not allowed to call sbflush().Claudio Jeker
Learned the hard way. dlg@ confirmed that it is save to just remove them, the desync will still work but the reader needs to dequeue all packets first.
2010-07-14In urndis_decap(), delay the memcpy() for as long as possible. There isMichael Knudsen
no point in copying before having done the final sanity check (we copied before the last one). ok armani
2010-07-14urndis_newbuf() is only called with NULL as it's third argument so justMichael Knudsen
get rid of it. ok armani
2010-07-14Newer 8168x and 810x chipsets have a different way of stopping the chipset.Christian Weisgerber
From FreeBSD via Brad.
2010-07-14Make pane/window wrapping more logical (so with 10 windows, +10 fromNicholas Marriott
window 5 stays in the same place), and tidy the code. From Tiago Cunha.
2010-07-14Another hand knitted offsetof() that needs to die. This time steal theClaudio Jeker
mask2prefixlen6 version from bgpd.
2010-07-14finally ssh synopsis looks nice again! this commit just removes a ton ofJason McIntyre
hacks we had in place to make it work with old groff;
2010-07-14use offsetof() instead of self knitted version to please gcc4.Claudio Jeker
stolen from ospf.h
2010-07-14Zero the pitem array so checking items after those used works asNicholas Marriott
expected, also do not look beyond the size of the array. ok otto deraadt
2010-07-14Let vga_pci.c build in kernel configs without acpi. ok kettenis@Matthieu Herrb
2010-07-14Eliminate some unused malloc(9) type defines. Also get rid of theMatthew Dempsky
mysterious and unused mbtypes[] array in mbuf.h. ok tedu@, deraadt@
2010-07-14Fix a mrt fd leak by moving the block which closes finished dumps.Claudio Jeker
The previous location also depended on poll results and in most cases was therefor not entered because finished dumps are not added to the poll array. Problem reported by Peter Haag, OK henning@
2010-07-14add regress tests for upcoming redirection changes to ftpAlexander Hall
2010-07-14SCSI HBA drivers need to report success/error through xs, not xs->bp.Matthew Dempsky
By trying to do the latter, ioprbs(4) was inadvertently always signalling to the SCSI mid and upper layers that read/write requests succeeded, even if they failed or only partially completed. Light testing by claudio@, which is still way more effort than this driver deserved.
2010-07-14handle printing of RTM_DESYNC in route monitor.David Gwynne
reviewed by deraadt@ written by sthen@ who said i should commit it cos he was going to sleep.
2010-07-14handle RTM_DESYNC. if the kernel says we're out of sync with the kernelDavid Gwynne
routing table and interface list, do a reload of the kernel state. ive been running this in production for 2 or 3 weeks. tested by sthen@ ok sthen@ claudio@ deraadt@ code written by andrew sallaway at the univeristy of queensland.
2010-07-14if we produce a lot of rtsock messages it is possible we will hit aDavid Gwynne
condition that prevents us from queuing it, which in turn means that processes listening on the routing socket for changes to the kernel state will get out of sync. currently this is handled by the following comment: /* should notify about lost packet */ this change introduces a new rtsock message called RTM_DESYNC that notifies about lost packets and uses it instead of this comment. when we detect loss we flush all the message in the routing socket and attempt to queue an RTM_DESYNC message instead. to guarantee that we will enqueue DESYNC we keep trying it when an attempt to enqueue or dequeue any messages is made, and in the worst case a timeout tries to guarantee that desync is added to the socket. ive been running this in production for 2 or 3 weeks. tested by sthen@ ok sthen@ claudio@ deraadt@ code written by andrew sallaway at the univeristy of queensland.
2010-07-14oops; Fred CrowsonTheo de Raadt
2010-07-13s/timing_safe_cmp/timingsafe_bcmp/gDamien Miller
2010-07-13update our recommended hash function to sha256 and note md5 is broken.Ted Unangst
ok deraadt jmc millert sobrado
2010-07-13use PHY semaphore on 8275/82576 adapters in addition to 80003es2lan.Jonathan Gray
From SAITOH Masanobu. Confirmed to fix pr 6427, and should fix 6301 as well. Tested by a bunch of people, and discussed with claudio during c2k10.
2010-07-13Don't silently overwrite untracked local files with newly-addedNicholas Marriott
repository files. slightly earlier version ok zinovik xsa
2010-07-13Test for the awesome let's-silently-overwrite-local-files bug.Nicholas Marriott
2010-07-13delete unnccessary includeTheo de Raadt
2010-07-13rename some thread related interfaces so they are logicalTheo de Raadt
2010-07-13regress for merge bug.Nicholas Marriott
2010-07-13Do not put the file into conflict if it is no longer modified (user hasNicholas Marriott
edited it back to repository state). ok zinovik
2010-07-13PR 6423 fix for cvs too, requested by xsa@.Nicholas Marriott
2010-07-13Don't read before the beginning of the log message if it is zero-lengthNicholas Marriott
(possible when it comes from stdin). Tweaked version of a fix from Peter Hendrickson in PR 6423. ok deraadt