summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2008-07-23- Fix potential uvm_fault crash inMarcus Glocker
uvideo_vs_parse_desc_frame_uncompressed(). - If a VS alternate interface isn't valid (e.g. doesn't contain a UE_ISOCHRONOUS endpoint), abort attachment with a corresponding error message instead crashing the kernel. Tested and OK maja@
2008-07-23Clear correctable errors after handling them. From Bjorn Andersson.Mark Kettenis
2008-07-23 - in nfs_mknodrpc - initialize the node we pass to nfs_lookitup. It'sArtur Grabowski
not just a return value, nfs_lookitup treats it specially when *npp is not NULL. - nfs_lookitup - When we match the file handle to the directory filehandle (lookup on '.'), initialize np so that we don't return stack garbage to the caller. The function shouldn't ever be called with '.' at this moment, but that's no reason to not do the right thing in case future callers use it that way. blambert@ thib@ ok
2008-07-23Document the new timeout_add_* functions.Artur Grabowski
2008-07-23validate packet length in debug dns packet logging before printing the header.Reyk Floeter
2008-07-23syncMarcus Glocker
2008-07-23Unbreak the tree.Marcus Glocker
2008-07-23do not try to print options that have been compile-time disabledDamien Miller
in config test mode (sshd -T); report from nix-corp AT esperi.org.uk ok dtucker@
2008-07-23syncTheo de Raadt
2008-07-23new ati goo; giovanniTheo de Raadt
2008-07-23move the aml_register_notify() call below for better debugging output.Federico G. Schwindt
marco@ ok.
2008-07-22Add dynamic IPv6-to-IPv4 and IPv4-to-IPv6 translation inspired byReyk Floeter
faithd(8) by doing a similar mapping of IPv4/6 addresses with relayd(8) and pf(4) redirections without the need of the faith(4) interface. The trick works in both directions, it can accept IPv6 connections and relay them to IPv4 hosts by extracting the last 4 octets from the IPv6 destination (like faithd(8)), and it can accept IPv4 connections and relay them to IPv6 hosts by prepending the 4 octets of the original IPv4 destination to a configured IPv6 prefix. An access list is not needed because the classification is done in pf.conf(5). It helps to get more faith in relayd. manpage bits ok jmc@ yes, sounds good todd@
2008-07-22use arc4random_uniform(); ok djm millertTheo de Raadt
2008-07-22FAKE (the variable) died about 2 years ago...Marc Espie
2008-07-22None of the pceb EISA alpha designs has more than 8 physical slots, so don'tMiod Vallat
bother trying to probe more.
2008-07-22remez -> Remes here, too. for consistencyMartynas Venckus
2008-07-22Add another working cam reported by Jerome Pinot.Marcus Glocker
2008-07-22Proper interrupt swizzling for devices behind bridges; matches what SRMMiod Vallat
configures when it can. ok kettenis@
2008-07-22Modify pci_intr_map() implementation to pass the pci_attach_args to theMiod Vallat
per-platform implementation, instead of selected members of it; this allows us to get rid of some globals, and paves the way for better bridge support on some models.
2008-07-22Use cgbase() instead of doing arithmetic on fs_fpg, for the former doesMiod Vallat
proper casts to ensure the result is not truncated. From FreeBSD via NetBSD. ok thib@
2008-07-22Do not define VM_MIN_ADDRESS as __LDPGSZ, but provide its value, to preventMiod Vallat
uvm_map.c from requiring <machine/exec.h>.
2008-07-22There are devices out there which are UVC compatible, but do not showMarcus Glocker
up as this (we love standards). To make those devices attach anyway we add an explicit quirk device list. Of course this list still needs to be extended. Thanks to Jerome Pinot for reporting about this issue and testing this diff with his cam, which is such a device. OK yuo@
2008-07-22- added HUGE_VALF, HUGE_VALL, INFINITY, FP_INFINITE, FP_NAN,Martynas Venckus
FP_NORMAL, FP_SUBNORMAL, FP_ZERO, FP_ILOGB0, FP_ILOGBNAN definitions, per C99 - classify functions into sections, add missing definitions, add and some '#if 0' functions, and long double definitions, so we see what's needed to be done - other stuff is XXX'd, and will be uncommented soon ok millert@
2008-07-22after pf_state_key_atach nothing must use the state keys passed to it anyHenning Brauer
more, since they might have been invalidated and free'd. one synproxy errorpath did so, however. just get the state keys from the state itself. ok david mcbride
2008-07-22more negotation -> negotiation; ok sthen@Martynas Venckus
2008-07-22Spelling, negotation -> negotiation.Marcus Glocker
2008-07-22Fix uvm_fault crash in uvideo_vs_negotation() which was reported by someMarcus Glocker
users. Thanks to mpf@ for his help to debug this bug down.
2008-07-22If isakmpd is started with -4 or -6, virtual_get_default() mayAlexander Bluhm
return NULL. This happens if isakmpd is configured for the other address family. Add a NULL pointer check and initialize rv. ok hshoexer
2008-07-22Assign the struct size to sin6_len instead of sin6_family.Alexander Bluhm
ok hshoexer claudio mpf henning
2008-07-22change the bcachestats structures members to int64_t's and do theThordur I. Bjornsson
printing in systat with the new print_fld_ssize() function. "same diff I wrote" deraadt@ ok art@
2008-07-22use generalised PBKDF#2 from bioctl; ok damien@Damien Miller
2008-07-22deactivate the code to display location in the sensor descriptionMarc Balmer
2008-07-22syncTheo de Raadt
2008-07-22Add signed size printing functions, as requested by deraadt@.Can Erkin Acar
Just use print_fld_ssize() for signed values. Increase scale up to "Tera" while there.
2008-07-22implement the fetching of a scsi devices "devid". recent hardware providesDavid Gwynne
a vpd page that uniquely identifies a device no matter what bus topology or addressing was used to find it. we have a workaround for old school scsi devices that do not differentiate between luns. if the inq data for high luns is the same as the inq data for lun 0, we assume it is one of these buggy devices. the problem with this is that things like SANs present multiple volumes as luns and they all have the same inq data. if you wanted to present more than one volume to openbsd you would only ever see the first one. devices give us a mechanism to differentiate between luns, so now i do get all my volumes attached in openbsde. review and feedback by krw@ marco@ testing by todd@
2008-07-22tweak comment to reflect the new reality after my last change.David Gwynne
2008-07-21when probing a device the midlayer queries its inquiry data andDavid Gwynne
keeps it on the stack till we attach a driver to it. then it copies the inquiry data int the scsi_link struct. this diff uses the scsi_link struct instead of the stack for that data, which makes the inq data for users of the scsi_link struct available much earlier during device probe. review and feedback from both krw@ and marco@
2008-07-21vaxfp.h is VAX pendant of ieee.h. it defines VAX f fp, and VAX dMartynas Venckus
fp; from NetBSD ok millert@
2008-07-21spelling fix from Mark Pecaut;Jason McIntyre
2008-07-21- add proper double_t and float_t definitions for each archMartynas Venckus
- math.h shouldn't define FLT_EVAL_METHOD, but float.h should (per C99). remove from math.h, and add proper definitions in float.h ok millert@
2008-07-21NetBSD's C library supplies these functions -> OpenBSD's C libraryMartynas Venckus
supplies these functions. in comments
2008-07-21rename lround.c lroundf.c llround.c llroundf.c to s_lround.cMartynas Venckus
s_lroundf.c s_llround.c s_llroundf.c, for naming consistency looks fine to millert@
2008-07-21gives this a chance to work on architectures with strict alignmentDamien Bergamini
constraints.
2008-07-21syncDamien Bergamini
2008-07-21rename rt2860 pci ids to match with reality.Damien Bergamini
import some fixes for 1T2R adapters from the linux vendor driver.
2008-07-21add ieee80211_priv.h file: contains definitions private to net80211.Damien Bergamini
this must not be included by drivers.
2008-07-21fix ugly debug dump output. found with bluhm@Rainer Giedat
ok thib@, bluhm@
2008-07-21move processing of EAPOL frames away from ieee80211_{input,output}.cDamien Bergamini
2008-07-21instead of passing rx tstamp and rssi to the ieee80211_input function,Damien Bergamini
pass a pointer to an ieee80211_rxinfo structure containing those two fields plus an extra flags field that indicates whether the frame was decrypted by hardware or not. required for a future fix.
2008-07-21Extra sanity checking for afree(); OK deraadt@ and pvalchev@Todd C. Miller