summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2009-10-31Use suser when possible. Suggested by miod@.Federico G. Schwindt
miod@ deraadt@ ok.
2009-10-31reorder operations in detach(), call powerhook_disestablish() earlier,Damien Bergamini
call if_detach() last. no need to splnet() since we are already called at the right ipl. iwn(4) diff from deraadt@
2009-10-31Add missing KNOTE() calls after selwakeup(), until we decide if the KNOTE()Theo de Raadt
calls can go directly into selwakeup() safely long discussion with nicm, murmers of consent from tedu and miod, noone else seems to care of kqueue is busted as long as it makes their sockets move data fast... pretty sad.
2009-10-31Make sure the descriptor is writable for some operations.Federico G. Schwindt
Pointed out and ok by miod@.
2009-10-31Blinkenlichten on Octane.Miod Vallat
2009-10-30missing \n in log() message.Damien Bergamini
from Jurjen Oskam.
2009-10-30correct interrupt status bits; patfbsd@davenulle.orgTheo de Raadt
2009-10-30KNOTE() after selwakeup()Theo de Raadt
ok ratchov
2009-10-30pipeclose() calls pileseltimeout() which does the KNOTE(); therefore callingTheo de Raadt
KNOTE() a second time is not needed (and perhaps bad) ok claudio millert
2009-10-30Add missing KNOTE() calls after selwakeup() in ptcread() (to wake up writersNicholas Marriott
after the master side of the pty has finished reading) and in ttyflush(). ok tedu millert
2009-10-30Don't do a double free, sys_getsockopt() will take care of freeing theClaudio Jeker
mbuf allocated by the subroutines. OK kettenis@
2009-10-30Support IP30 secondary cpu bootup. ok miod@Takuya ASADA
2009-10-29When probing devices at boot, compare against the full device driver nameJoel Sing
rather than the start of the device name. Also, be inclusive with devices probed rather than exclusive - this means we now only look for RAID partitions on sd(4) and wd(4) devices. prodded by deraadt@ ok marco@ deraadt@
2009-10-29add isp(4), but disable it since on most machines the pci bus is earlierTheo de Raadt
than the root disk... annoying.
2009-10-29I missed updating a line for the AF_INET6 route case whenJonathan Gray
splitting things out into a seperate pool. Problem noticed and fix tested by sthen@ ok claudio@
2009-10-29Make sure the descriptor is writable for some operations. Pointed by miod@.Federico G. Schwindt
While I'm here make this compile again. miod@ ok.
2009-10-29iha(4), just like on GENERIC; from bradTheo de Raadt
2009-10-28a few leftovers from yesterday's SCCS/RCS-ID removal;Ingo Schwarze
survived a full make build on i386; "sure" deraadt@
2009-10-28LOMlite seems to get wedged from time to time; add some code to unwedge it.Mark Kettenis
2009-10-28delete balony comment; ok kettenisTheo de Raadt
2009-10-28*NULL store in IP_AUTH_LEVEL, IP_ESP_TRANS_LEVEL, IP_ESP_NETWORK_LEVEL,Theo de Raadt
IP_IPCOMP_LEVEL found by Clement LECIGNE, localhost root exploitable on userland/kernel shared vm machines (ie. i386, amd64, arm, sparc (but not sparc64), sh, ...) on OpenBSD 4.3 or older copy of the ipv4 bug, spotted by claudio
2009-10-28Add a dedicated pf pool for route options as suggested by henning,Jonathan Gray
which unbreaks ie route-to after the recent pf changes. With much help debugging and pointing out of missing bits from claudio@ ok claudio@ "looks good" henning@
2009-10-28- use bus_space_write_1 to write to IWN_INT_PERIODIC (0x5), even thoughDamien Bergamini
bus_space_write_4 worked - store enhanced power info in softc for 6000 Series - fix a comment, remove an unused field in softc and reorder pci ids a bit while i'm here
2009-10-28*NULL store in IP_AUTH_LEVEL, IP_ESP_TRANS_LEVEL, IP_ESP_NETWORK_LEVEL,Theo de Raadt
IP_IPCOMP_LEVEL found by Clement LECIGNE, localhost root exploitable on userland/kernel shared vm machines (ie. i386, amd64, arm, sparc (but not sparc64), sh, ...) on OpenBSD 4.3 or older ok claudio
2009-10-28For the TIOCSET* ioctls, validate that the tty speeds are positive (sinceTheo de Raadt
they are signed int) ok miod guenther
2009-10-28Add compat errno mappings for the ENOTSUP errno addition.Jonathan Gray
ok deraadt@
2009-10-28Remove FWRITE from closes that aren't opened with FWRITE.Marco Peereboom
spotted and ok jsing
2009-10-28 no more eisa, sorryTheo de Raadt
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (the 33,000 line diff is essentially mechanical) ok with the idea millert, ok dms
2009-10-27Add another Intel ICH10 variant and the PCH chipset.Stuart Henderson
From Brad. PCH tested by bwaichu at yahoo com.
2009-10-27encode the channels a converter will convert into the converter'sJacob Meuser
mixer name.
2009-10-27in the get_default_parameters method, give the low level drivers aJacob Meuser
pointer to the low level driver's softc, not audio's softc. nothing is actually using this yet. ok ratchov
2009-10-27if (!ISSET(flags, SCSI_NOSLEEP)) return; else sleep(); is wrong.David Gwynne
found with krw while looking at #6247. tested locally with iogen and scsi(8). this fixes a null deref in the ioctl path where there shouldnt be one. ok krw@
2009-10-27Check return value of scsi_xs_get() in scsi_ioc_cmd() for NULL. ItKenneth R Westerback
may or may not be possible to get NULL these days, but paranoia and consistancy of usage are nice. Prompted by looking at PR#6247 from Steven Mestdagh. ok dlg@
2009-10-27rename the source file. my screwup, i asked for this and didnt check it.David Gwynne
2009-10-27Bah didn't man to commit the GENERIC part just yet.Marco Peereboom
Reminded by deraadt.
2009-10-27Add driver for MPI2 SAS HBAs. This covers LSI MPT2 and Dell H200 HBAs.Marco Peereboom
IO works fine but it will remain disabled for now. From James Giannoules dlg: go go go
2009-10-26add ENOTSUP and bump libc minorJasper Lievisse Adriaanse
discussed with a few ok deraadt@
2009-10-26Load %mxcsr when initializing the FPU on machines that support SSE.Mark Kettenis
ok deraadt@
2009-10-26Do not do strncmp comparisons on dv_xname because longer device names whichTheo de Raadt
look similar could arrive in the future. Instead, compare directly against dv_cfdata->cf_driver->cd_name Issue originally spotted by miod
2009-10-26Rename struct confargs to struct mainbus_attach_args for consistency and alsoMiod Vallat
to prevent further abuse of it.
2009-10-26Get rid of unused `frame' member of struct intrhand; only hardclock() needsMiod Vallat
a frame and clock interrupt doesn't need a struct intrhand.
2009-10-26syncMarco Peereboom
2009-10-26Add SAS2008Marco Peereboom
2009-10-26In device_match(), match on exact device name (as obtained from struct cfdriver)Miod Vallat
instead of `first N chars of dv_xname and checking the next char is a digit'.
2009-10-26Verify checksum+address when loading ACPI tables.Jordan Hargrave
Some systems had invalid entries in RSDT/XSDT. ok marco@
2009-10-26start Tx at lowest available rate to give initial WPA handshake andDamien Bergamini
DHCP more chance to succeed w/o too much retries. AMRR is good enough at raising the Tx rate fast.
2009-10-26Make pci_intr_string() on xbridge return both the xbridge irq and the crossbowMiod Vallat
irq we route it to; this makes clear that devices connected to different xbridges but using the same xbridge irq are actually not shared at all; and this also helps figure out which device cause spurious interrupts.
2009-10-26Remove DS1687 vs DS742 runtime detection code; we only attach dsrtc on theMiod Vallat
onboard ioc(4) devices, and on Octane this is always a DS1687 wired to IOC3 bytebus #1 and #2, while on Origin this is always a DS1742 wired to IOC3 bytebus #0.
2009-10-26Set the rdomain in bpfwrite() to the interface rdomain so that bpf senderClaudio Jeker
like dhcpd/dhclinet can send packets out of interfaces in other rdomains without hitting the check in ether_output(). With and ok phessler@