summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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
2010-07-13fix overflow of dirsize; from FreeBSD; PR 6426; ok beck@ millert@Otto Moerbeek
2010-07-13Do not put a data buffer on the stack; malloc it (we will use dma_allocTheo de Raadt
later, when we trust it) ok matthew
2010-07-13need pool.h to initialize the dma allocatorTheo de Raadt
2010-07-13dma_alloc() and dma_free(). This is a thin shim on top of a bag ofTheo de Raadt
pools, sized by powers of 2, which are constrained to dma memory. ok matthew tedu thib
2010-07-13handle Tm, like in tiff2psMarc Espie
2010-07-13work around a strange problem in locality of @_ by copying stuff.Marc Espie
okay millert@
2010-07-13Fix (pflow) display in rule printing. Spotted by dhill@, ok henning@Stuart Henderson
2010-07-13Fix dmesg printing.Mark Kettenis
ok krw@, claudio@
2010-07-13- find.fp_wsize *= find.fp_mss, 1;Henning Brauer
+ find.fp_wsize *= find.fp_mss; From: Ed Schouten <ed at FreeBSD.org>
2010-07-13Avoid double free in ldap modify requests. The values received in theMartin Hedenfal
modify request is linked into the stored ber structure, and then both are freed. Fix this by unlinking the values from the request.
2010-07-13When cleaning /tmp at boot, run the slower find unconditionally.Stuart Henderson
Previously if the quick rm -rf failed, find was not run, so some files were not removed. Looks good to tedu@.
2010-07-13implement a timing_safe_cmp() function to compare memory without leakingDamien Miller
timing information by short-circuiting like memcmp() and use it for some of the more sensitive comparisons (though nothing high-value was readily attackable anyway); "looks ok" markus@
2010-07-13Fix a broken mask for core temperature 1 and 2, and bias properly for degC.Mike Larkin
Tested on Thinkpad T510.
2010-07-13no more rmd160(1);Jason McIntyre
2010-07-13no need for userland to refer to section 2/3 pages;Jason McIntyre
2010-07-13syncTheo de Raadt
2010-07-13Fix PR 6417: if we're starting a thread and there's no other threadsPhilip Guenthe
running, then we need to start a gc thread...except when this is the very call to start a gc thread! "This works for me" marc@
2010-07-13Fix PR 6376: restore more thread library state if execve fails,Philip Guenthe
including the scheduling timer, sigmask, fd nonblocking status, and handling of the signals used by the thread library. ok marc@, additional testing by ajacoutot@
2010-07-13Merge release 1.10.4 (all code by kristaps@), providing four new features:Ingo Schwarze
1) Proper .Bk support: allow output line breaks at input line breaks, but keep input lines together in the output, finally fixing synopses like aucat(1), mail(1) and tmux(1). 2) Mostly finished -Tps (PostScript) output. 3) Implement -Thtml output for .Nm blocks and .Bk -words. 4) Allow iterative interpolation of user-defined roff(7) strings. Also contains some minor bugfixes and some performance improvements.
2010-07-13Correct comment. scsi_sense_data is now 18 bytes, not 32.Kenneth R Westerback