summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2011-12-20respect the MNT_FORCE flag in ntfs_unmount and proceed even if there'sMike Belopuhov
someone holding a system vnode. prevents crashes with forced unmounts. silence ntfs_reclaim so that kernel won't spit out vprint's angrily. ok krw, beck
2011-12-19improve the icmp direction check to deal correctly with af-to statesMike Belopuhov
(there only one state and it's direction is always PF_IN) and don't exclude icmp echo replies from the test. ok mcbride, claudio on previous version, ok henning, "looks good" deraadt
2011-12-19fxp_init could bail out on errors without calling slpx.Marco Pfatschbacher
Change fxp_resume to avoid the nested splnet call inside fxp_init altogether. Initial diff by Jan Klemkow; Tested and OK bluhm.
2011-12-19regenMark Kettenis
2011-12-19Add TI XIO2221 FireWire.Mark Kettenis
2011-12-19add BCM57765, same diff jsg@ ok kettenis@Stuart Henderson
- vendor id is listed in Broadcom docs so kettenis suggests removing xx however it's not listed in IEEE OUI list yet, this can be done later following bikeshedding ;)
2011-12-19syncStuart Henderson
2011-12-19add BCM57765 ID, same diff jsg@ ok kettenis@Stuart Henderson
2011-12-19Fix checksum of UDP/TCP packets following RFC 3948. This is required forYASUOKA Masahiko
transport mode IPsec NAT-T. ok markus
2011-12-17Initialize the (abridged) tag word correctly.Mark Kettenis
ok mikeb@
2011-12-16regen.Federico G. Schwindt
2011-12-16fix typo.Federico G. Schwindt
from Tobias Ulmer (tobiasu-at-tmux-dot-org)
2011-12-16fix function names on diagnostic messages.Federico G. Schwindt
from Tobias Ulmer (tobiasu-at-tmux-dot-org)
2011-12-14regenRobert Nagy
2011-12-14implement prctl() for COMPAT_LINUXRobert Nagy
ok pirofti@
2011-12-14Handle rthreads consistently in ktrace by moving the flags and vnode intoPhilip Guenthe
struct process; KTRFAC_ACTIVE becomes P_INKTR. Also, save the credentials used to open the file in sys_ktrace() and use them for all writes to the vnode. much feedback and ok jsing@
2011-12-13Fix auto-boot failure problem. The controller name should be aKenji Aoyama
complete device name for auto-boot check. ok miod@
2011-12-12fixup af-to regression with match rulesMike Belopuhov
pfctl should not infer the af-to behavior from the af/naf difference. instead, we should be clear that this is an af-to rule. essentially this change converts FOM_AFTO marker into a rule flag PFRULE_AFTO so that we don't rely on ambiguous checks (like r->af != r->naf) when setting things up. positive review and comments from claudio, ok henning, sperreault
2011-12-12add missing m_freem's into the error code paths. there's no changeMike Belopuhov
in behavior since we don't do split headers; ok dlg, kettenis
2011-12-11Suspend other rthreads before dumping core or execing; make them exitPhilip Guenthe
when exec succeeds. ok jsing@
2011-12-09Add new KERN_PROC_CWD sysctl to get the current working directory of a process.Nicholas Marriott
ok guenther deraadt
2011-12-09we need to always schedule another rx ring refill calloutMike Belopuhov
in case we fail to do it at the spot. prevents rx ring lockups under high load. ok dlg
2011-12-09we don't do intel i/oat and don't set up parameters for theMike Belopuhov
tcp timer interrupts, therefore there's no reason we should enable the interrupt itself; ok kettenis
2011-12-08add timeout to fill rx-ring in case of mbuf shortage while in vr_intr();Markus Friedl
fixes hanging interfaces similar to in myx(4); ok dlg@, claudio@, henning@
2011-12-07Add copyright and fix RCS ID.Marco Pfatschbacher
OK kettenis.
2011-12-07Make sure we only return 1 from the interrupt handler if the interruptMark Kettenis
actually was for us. Fixes problems when the interrupt is shared. tested by stu@, ok mikeb@
2011-12-07Avoid kernel crash by removing double clfree() on endpoint closing forMarcus Glocker
ugen(4) devices. From NetBSD PR#37934 spotted by Logan Aden.
2011-12-06Add support for Nuvoton NCT6776F fan, voltage and temperature sensors.Marco Pfatschbacher
Tested on a Supermicro X9SCL/X9SCM board. With help from kettenis to make the part that works around a chip ID collision less ugly. OK kettenis
2011-12-06Remove needless temporary variable for greater clarity.Bret Lambert
testing sthen@ ok sthen@ henning@ dlg@
2011-12-06don't duplicate rtfree actions taken by rtrequest1() in rtdeletemsg()Bret Lambert
testing sthen@ ok sthen@ henning@ dlg@
2011-12-06simplify the somewhat-tangled conditional maze in rt_getifa()Bret Lambert
testing sthen@ ok sthen@ henning@ dlg@
2011-12-04Slightly different fix for the problem fixed by the previous commit for betterMark Kettenis
diffability with the amd64 codebase.
2011-12-04Do not check for an HyperTransport bus if we are using mode #2. Prevents aMiod Vallat
safety panic from occuring. Found the hard way by nick@
2011-12-04Add support for Apple fn keysMartin Pieuchot
based on a diff from jcs@, ok miod@
2011-12-04renaming synaptics_pt_* -> pms_sec_*Alexandr Shadchin
(synaptics and alps uses this for trackpoint) ok mpi@
2011-12-03Remove an OpenBSD-specific tweak regarding .Xr spacingIngo Schwarze
and make it compatible with bsd.lv mandoc and with groff-1.21. This tweak was originally added for compatibility with groff-1.15, which is no longer needed. ok jmc@ kristaps@
2011-12-03Be sure not to access the vm_page array out of bounds in uvm_pmr_freepages().Miod Vallat
Among other things, this fixes early panics on hppa system which memory size is exactly 128MB. Found the hard way and reported by fries@, not reported by beck@
2011-12-03Correctly handle clitpad packets for some ALPS models.Martin Pieuchot
reported by espie@, not reported by miod@ with and ok shadchin@, ok espie@
2011-12-03add support for MSG_NOSIGNAL.Federico G. Schwindt
linux bits compiled on i386 by sebastia@, mikeb@ ok
2011-12-03Make sure splx() is called before exiting wi_usb_tx_lock_try().Kenneth R Westerback
Found by Jan Klemkow. Thanks!
2011-12-03Make sure splx() is called before exiting trm_StartWaitingSRB().Kenneth R Westerback
Found by Jan Klemkow. Thanks!
2011-12-02dont put MAXMCLBYTES in the mclsizes array with a comment saying its 64kDavid Gwynne
when the macro can change without automatically fixing the comment. instead add a diagnostic that checks that the biggest cluster size is always MAXMCLBYTES. requested by and ok kettenis@
2011-12-02Kill unused IFCAP_IPSEC and IFCAP_IPCOMP.Christiano F. Haesbaert
ok claudio@ henning@ mikeb@
2011-12-01Be sure to splx() before return in pgt_media_status(); from Jan Klemkow onMiod Vallat
tech@
2011-12-01Mark Apple iPod and iPhone products with UQ_BAD_HID and UAUDIO_FLAG_BAD_AUDIO.David Hill
This allows these devices to attach as ugen, so at least we can use some apps, like gphoto2 to retrieve media. requested by a few, ok mikeb@
2011-12-01regenDavid Hill
2011-12-01Add a bunch of Apple iPod and iPhone devicesDavid Hill
2011-12-01Make sure we only enter pf_route() when undefering in the PF_ROUTETO case.Ryan Thomas McBride
ok dlg claudio
2011-11-30this diff introduces the MAXMCLBYTES macro to describe the largestDavid Gwynne
cluster the generic network stack will be able to give you. it also recognises that external storage on an mbuf may be bigger than MCLBYTES. its only when m_pullup or m_pulldown need to allocate another cluster that they now check the len argument, and now they do it against MAXMCLBYTES. this is required for me to do pfsync on jumbo frames as the m_pulldown for the subregions fail beyond MCLBYTES into the packet. ok deraadt@ mikeb@ henning@ blambert@ manpage changes ok jmc@
2011-11-30correctly calculate the space available in external storage in m_pullup.David Gwynne
ok deraadt@ claudio@ blambert@ mikeb@