summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-04-24pieces required for resolve-lib (reuse code for consistency)Marc Espie
2010-04-24more tweaks so that it can be extended and used during ports buildsMarc Espie
2010-04-24when probing an encoding of a audio(4) device, don't forget toAlexandre Ratchov
set record precision.
2010-04-24don't increment mixer's ``idle'' counter before truncating theAlexandre Ratchov
amount of samples to commit to ``maxwrite''. Overwise uncommitted samples are accounted as idle, in turn causing the device to be stopped too early, possibly truncating few blocks at the end of streams being drained. subtle bug spotted and analysed by Thomas Pfaff, thanks
2010-04-24Fix breakage of dig's -p option introduced when support forStefan Sperling
parsing the [host]:port syntax in resolv.conf was added. Patch by Nathan Rickerby <rickerby () gmail ! com>. Prodded by jmc, OK djm krw
2010-04-24refactor LibSpec to be able to reuse it for library matches during build:Marc Espie
- use double dispatch to match static libs - prepare for less strict dependencies if need be
2010-04-24+ pkg_add, for dpbMarc Espie
2010-04-24simplify using //=Marc Espie
2010-04-24This code is only called during autoconf, and never ever from anMark Kettenis
interrupt handler.  So the locking and spl manipulation can simply go away. ok deraadt@, oga@
2010-04-24Make if_ppp and if_sl ioctl handlers return ENOTTY for unsupportedStefan Sperling
ioctls, instead of -1 or EINVAL. ENOTTY audit suggested to me by uwe. ok dlg tedu
2010-04-24rename ibuflist/obuflist -> ins/outs to cut long linesAlexandre Ratchov
from Thomas Pfaff, thanks
2010-04-24remove trailing spaces, from Alexandr Shadchin, thanksAlexandre Ratchov
2010-04-24syncTheo de Raadt
2010-04-23Make raidframe compile after recent #include rectification. Noted byKenneth R Westerback
oga@. ok deraadt@
2010-04-23refuse to generate keys longer than OPENSSL_[RD]SA_MAX_MODULUS_BITS,Damien Miller
since we would refuse to use them anyway. bz#1516; ok dtucker@
2010-04-23set stderr to /dev/null for subsystems rather than just closing it.Damien Miller
avoids hangs if a subsystem or shell initialisation writes to stderr. bz#1750; ok markus@
2010-04-23set "detach_close" flag when registering channel cleanup callbacks.Damien Miller
This causes the channel to close normally when its fds close and hangs when terminating a mux slave using ~. bz#1758; ok markus@
2010-04-23Merge the only relevant (for now) parts of simplelock.h into lock.hTheo de Raadt
since it is time to start transitioning away from the no-op behaviour. ok oga kettenis
2010-04-23New libXaw doc dir.Matthieu Herrb
2010-04-23Fix null-pointer dereference.Ariane van der Steldt
ok oga
2010-04-23simple_lock -> XXXLOCKING for ufh ihash.Owain Ainsworth
I'm actually 99% sure that these locks are right and could be almost trivially converted to an IPL_NONE mutex protecting the hashtable. Any takers?
2010-04-23simple_lock -> XXXLOCKING comments.Owain Ainsworth
This is a similar case to the ntfs commit just made, howerver things a somewhat more hard to audit because cd9660 actually implements vnode locking (using lockmgr still due to vnode recursion *vomit*). No rwlock on the hash table though so these locks can probably be converted to mutexes fairly simply to prevent reentering the list code.
2010-04-23It is about time that we stopped pretending simple_locks are locks.Owain Ainsworth
replace ntfs_nthash_slock usage with comments prefixed XXXLOCKING (for grepability). This lock looks to be correct, but it could well be the bad way to do it (having a rwlock for inserts to avoid races inserting the same inode but then simple locking on list accesses). approach discussed with deraadt@
2010-04-23Add a barrier before we submit the ringbuffer and before we do anythingOwain Ainsworth
that kills gtt mappings. In both of these case we want all writes to hit the bus before we do whatever we're about to do. Doesn't solve any problems that I know of but it may help.
2010-04-23Allow for lazy fence disable on tiling change.Owain Ainsworth
When we disable tiling (for example whenever we free an object to out userland cache), we stall the gpu so that we can get rid of the fence register covering its bit of the gtt. Instead, mark it as invalid and then free it on next use, leading to less of a gpu stall if any. Leads to some slight performance improvement on 8xx, 91x and 94x chipsets which are fence constrained.
2010-04-23give AR9287 some chance to work.Damien Bergamini
2010-04-23Recycle unused disklabel fields in order to create a disklabel uniqueJoel Sing
identifier, allowing the disk to be identified without relying on the device name. ok deraadt@ krw@ beck@ marco@ todd@
2010-04-23When converting A-Z into a control character, want to subtract 64 notNicholas Marriott
65... whoops.
2010-04-23Use proper Queen's English in a comment. Drive-by fix, no functional change.Stefan Sperling
2010-04-23mention hostname, prompted by lum@Otto Moerbeek
2010-04-23show hostname in header line; ok lum@ phessler@Otto Moerbeek
2010-04-23start ``aucat -l'' from /etc/rc, unless aucat_flags=NO, which isAlexandre Ratchov
the default setting in rc.conf. ok deraadt
2010-04-23remove unnecessary temp_entry variables and hoist simple check out of a loop.Ted Unangst
no functional change. from Anton Maksimenkov
2010-04-23Make sure IPL_SCHED is always defined by MD headers, instead of having a MIMiod Vallat
fallback definition in <sys/sched.h>, so that there is no hidden include ordering requirement between <machine/intr.h> and <sys/sched.h>. ok deraadt@ tedu@
2010-04-23Remove unnecessary pointer dereference causing gcc2 to warn.Miod Vallat
2010-04-23bz#1740: display a more helpful error message when $HOME isDamien Miller
inaccessible while trying to create .ssh directory. Based on patch from jchadima AT redhat.com; ok dtucker@
2010-04-23the SAT spec from t10.org defines messages for tunnelling ATA commands overDavid Gwynne
SCSI when you're talking to a scsi to ata translation layer (satl). this implements the ata command ioctl handler in scsi_ioctl.c that wraps the ata command requests up in these scsi commands and then issues them against the hardware. this cuts atascsi over to interpreting these scsi commands rather than the ioctls directly. this should allow mpi users (with a relatively recent firmware) to use atactl against their SATA disks. i cant test cos my mpi(4) parts are too old to either support these scsi commands or too old to take recent firmwares. ok marco@ @krw tested by krw@ and me on ahci/atascsi
2010-04-23Update test to also check that .Xr without args is ignored.Ingo Schwarze
Related to mdoc_validate.c 1.47.
2010-04-23Check handling of tab characters.Ingo Schwarze
Related to term.c 1.30, mdoc_term.c 1.75.
2010-04-23Do not run the tests with -fstrict -Wall by default.Ingo Schwarze
I want to test some features that -fstrict does not allow. And as long as i do not test for specific error messages, having -Wall on by default just causes useless noise.
2010-04-23Handle literal tab characters both in literal context (.Bd -literal)Ingo Schwarze
and outside. In literal context, tab stops are at each eigth column; outside, they are at each fifth column. Use tabwidth = 5 as the default and temporarily switch to 8 in termp_bd_pre(). This requires to move the term_flushln() of the final line of a display from termp_bd_post() to termp_bd_pre(); the former still needs term_newln() to handle the final lines of non-literal displays. Handling inside term_flushln() is tricky because a tab collapses with inter-word spacing, but not with another tab. Missing feature reported independently by jmc@ and deraadt@.
2010-04-22Fix a segfault reported by nicm@, introduced in rev. 1.38.Ingo Schwarze
When finding a blank line, trying to parse it is a bad idea. Instead, after adding .Pp to the AST, just return from parsetext().
2010-04-22Don't include sysctl.h, and remove an unused struct from the softc.Stuart Henderson
ok deraadt@
2010-04-22De-inline atomic_setbits_int and atomic_clearbits_int, on arm these functionsDale Rahn
are emulated by disabling interrupts which requires a lot more header files than a simple atomic operation should be need. ok deraadt@
2010-04-22Whitespace cleanup on generated asm code, so it is readable.Dale Rahn
2010-04-22Remove unused sysctl.h include. Inspired by claudio's commit the other day.Michael Knudsen
ok sthen
2010-04-22syncTheo de Raadt
2010-04-22Committing on behalf or ariane@.Owain Ainsworth
recommit pmemrange: physmem allocator: change the view of free memory from single free pages to free ranges. Classify memory based on region with associated use-counter (which is used to construct a priority list of where to allocate memory). Based on code from tedu@, help from many. Useable now that bugs have been found and fixed in most architecture's pmap.c ok by everyone who has done a pmap or uvm commit in the last year.
2010-04-22zap trailing whitespace;Jason McIntyre
2010-04-22Allow multiple users to share the same aucat server. If aucat isAlexandre Ratchov
run by root, it binds a shared address to the socket, cranks the process priority and drops privileges. sio_open(3) will try to connect to the private socket first (if any), then to the shared socket. Only one user may have connections to aucat at a given time. based on discussions with henning, pyr and others ok jacek, deraadt