summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2011-06-24Should always include ukphy(4) in the kernel configs if using any devicesYASUOKA Masahiko
using MII. This diff from brad@ Build test and ok yasuoka@
2011-06-24Remove SET/CLR/ISSET macros from Octeon code. The kernel already providesYASUOKA Masahiko
these macros. This diff from brad@ built test and ok yasuoka@
2011-06-23ignore EINTR errors from poll()Damien Miller
2011-06-23Back out inadvertently commited change.Owain Ainsworth
This one wanted some more comments before commit.
2011-06-23ansiTheo de Raadt
2011-06-23bye bye /usr/X11R6/man/cat*Ingo Schwarze
2011-06-23switch to installing source manuals (base part)Ingo Schwarze
discussed with lots of people, tested by naddy@, "move fast" deraadt@
2011-06-23s/ands/and/, from Tobias UlmerStuart Henderson
2011-06-23Don't leak the ctrl_data in uvideo_queryctrl, uvideo_s_ctrl and uvideo_g_ctrl.Owain Ainsworth
If one of the usb calls we did here failed we'd return immediately and not free our buffer. ok miod@
2011-06-23make malloc calls in isp_pci_mbxdma NOWAIT to match the bus_dma calls that areOwain Ainsworth
all nowait. While here, plug a memory leak if one of the bus_dma calls near the bottom of the function fails because it would fail to free the dmamap, unmap the memory and free the memory. make that part of the code use the standard list of goto labels for error handling that most callers of bus_dmamem_alloc; bus_dmamem_map; bus_dmamap_creat; bus_dmamap_load() use to clean up. ok miod@
2011-06-23free(null) ist verboten in the kernel.Owain Ainsworth
The addition of M_CANFAIL here made it possible (if rather unlikely) that we'd fail and goto done, where we would free(NULL). protect the free with a null check to prevent this. ok miod@
2011-06-23Check for the correct flag when checking to see if the page is part of an aobj.Owain Ainsworth
This is no function change since aobjs never actually hit this path. (also it is my bug from a while ago). ok ariane@
2011-06-23Don't bother checking for an empty queue before calling uvm_pglistfree.Owain Ainsworth
It will handle an empty list just fine (there's a small optimisation possible here to avoid grabbing the fpageqlock if no pages need freeing, but that is definitely another diff) ok ariane@
2011-06-23Replace handrolled version of uvmfault_unlockmaps with uvmfault_unlockmaps.Owain Ainsworth
ok ariane@
2011-06-23Move uvm_pglistalloc and uvm_pglistfree to uvm_page.c and garbageOwain Ainsworth
college uvm_pglist.c uvm_pglistalloc and free are just thin wrappers around pmemrange these days and don't really need their own file. ok ariane@
2011-06-23Make mbufs and dma_alloc be contig allocations.Ariane van der Steldt
Requested by dlg@ ok oga@
2011-06-23Don't check dev/ramdisk.h for ioctl(2) commands as it doesn't existMatthew Dempsky
anymore. Noticed by and ok claudio@
2011-06-23Fix the error path in bus_dmamem_map.Ariane van der Steldt
As discussed on icb: remove the comment, remove pmap_remove (uvm_km_free does that for us). ok oga@, deraadt@
2011-06-23Use a common text explaining how the various configuration parsers usingStuart Henderson
the standard OpenBSD-style parse.y handle continuing lines with backslashes, paying particular attention to how comments are handled (which can cause nasty side-effects if you're not expecting it). Most wording from jmc@, with suggestions from fgsch@, marc@, Richard Toohey, patrick keshishian and Florian Obser, ok jmc@.
2011-06-23Set pd->af very early in pf_setup_pdesc() since the AF is used inClaudio Jeker
the pflog code and not setting it will cause a panic in pf_setup_pdesc(). Fixes dhill's crashes with funky v6 packets. OK bluhm@
2011-06-23syncTheo de Raadt
2011-06-23Simplify softraid(4) to behave like other HBAs by using a singleMatthew Dempsky
scsibus(4) for all attached disks, rather than one scsibus(4) per disk. This takes advantage of recent improvements in the SCSI midlayer to better support hotplug devices, and also decouples softraid(4) from scsibus(4) device unit numbers. ok jsing@, dlg@, krw@, deraadt@; marco@'s still unconvinced
2011-06-23Eliminate ramdisk.c and ramdisk.h now that they're unused.Matthew Dempsky
2011-06-23Complete rewrite for rd(4) to eliminate unnecessary functionality andMatthew Dempsky
better follow current disk driver conventions. Prompted by oga@. "go ahead" deraadt@
2011-06-23a bit more ansi; ok teduTheo de Raadt
2011-06-23ansify a few files. ok deraadt dlg krw matthewTed Unangst
2011-06-23regression tests for the sed substitute commandIngo Schwarze
most of these still fail, a patch to fix them is on tech@ for review ok to commit the tests deraadt@ otto@
2011-06-23set set*id bits only if the target did not exist and -p was not used;Otto Moerbeek
from netbsd, prompted by Jesus Sanchez. ok miller@
2011-06-23Add a couple of extra xterm-style keys that gnome terminal provides,Nicholas Marriott
from Dustin Kirkland.
2011-06-23rename sandbox.h => ssh-sandbox.h to make things easier for portableDamien Miller
2011-06-23cope with empty rx rings by scheduling a timeout to keep trying until itDavid Gwynne
gets some packets onto the rings. also annoying, but the hardware doesnt report empty rings, we have to handle it ourselves.
2011-06-23this chip has an annoying "feature" where it cannot report the linkDavid Gwynne
state unless the chip is up and handling packets. while its down it does not report the link state, so it is unknown. this tweaks the link state handling, in particular it adds code to myx_down so it moves the link state to unknown, ie, it correctly reflects reality. stupidity pointed out by deraadt
2011-06-23delete unused stupid code; Daniel DickmanTheo de Raadt
2011-06-22$OpenBSD$ makersDamien Miller
2011-06-22hook up a channel confirm callback to warn the user then requested X11Damien Miller
forwarding was refused by the server; ok markus@
2011-06-22introduce sandboxing of the pre-auth privsep child using systrace(4).Damien Miller
This introduces a new "UsePrivilegeSeparation=sandbox" option for sshd_config that applies mandatory restrictions on the syscalls the privsep child can perform. This prevents a compromised privsep child from being used to attack other hosts (by opening sockets and proxying) or probing local kernel attack surface. The sandbox is implemented using systrace(4) in unsupervised "fast-path" mode, where a list of permitted syscalls is supplied. Any syscall not on the list results in SIGKILL being sent to the privsep child. Note that this requires a kernel with the new SYSTR_POLICY_KILL option. UsePrivilegeSeparation=sandbox will become the default in the future so please start testing it now. feedback dtucker@; ok markus@
2011-06-22reuse the multistate option arrays to pretty-print options for "sshd -T"Damien Miller
2011-06-22reset the tx_count on UP, since it may have been advanced from non-zeroTheo de Raadt
by a previous use ok claudio
2011-06-22kill a few more casts that aren't helpful. ok krw miodTed Unangst
2011-06-22Print correct function name in debug statements. ata_get_params, notKenneth R Westerback
ata_get_parms or wdc_ata_get_parms.
2011-06-22add beagle, far from ready but it's a startJasper Lievisse Adriaanse
2011-06-22absolute_okay is more a property of the class than an extra parameter toMarc Espie
pass to compute_fullname. To be used in update-plist
2011-06-22msi support. this is a complicated one...David Gwynne
ok kettenis@
2011-06-22document SYSTR_POLICY_KILL syscall policyDamien Miller
2011-06-22fix whitespaceStuart Henderson
2011-06-22fix whitespaceStuart Henderson
2011-06-22Fix another pre-{rdr,nat}-to rule example...Stuart Henderson
2011-06-22another myri10ge device matched by freebsd/linux driversJonathan Gray
ok dlg@
2011-06-22regenJonathan Gray
2011-06-22add a few more devicesJonathan Gray