summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-09-22Kill msgs. Noone uses it, and it has a longjmp in it.Theo de Raadt
Lots of agreement.
2010-09-22Add AES-GCM Transform Identifiers as specified by IANA inMike Belopuhov
RFC 4106 and 4543. Please note that although IKEv1 and IKEv2 identifiers are different for ESP_NULL_AUTH_AES-GMAC (SADB_X_EALG_AESGMAC), we use the IKEv2 one only (which is 21). ipsecctl(8) will be taught to handle exported SA correctly.
2010-09-22Revert previous and let drivers register counterless interrupts;Miod Vallat
tc_intr_disestablish() prototype is changed to carry information whether the counter needs to be detached or not. This does not matter much since no driver ever calls tc_intr_disestablish().
2010-09-22regress test for each of the key exchange algorithms that we supportDamien Miller
2010-09-22Test vectors for GMAC as published in the original GCM proposalMike Belopuhov
to NIST (gcm-spec.pdf) and draft-mcgrew-gcm-test-01.txt.
2010-09-22OCF support for the Galois/Counter Mode (GCM) for AES asMike Belopuhov
described in FIPS SP 800-38D. This implementation supports 16 byte authentication tag only, splitting transformation into two parts: encryption and authentication. Encryption is handled by the existing AES-CTR implementation, while authentication requires new AES_GMAC hash function. Additional routine is added to the software crypto driver to deal with peculiarities of a combined authentication- encryption transformation. With suggestions from reyk, naddy and toby.
2010-09-22unify MS-CHAP implementation to sbin/iked/chap_ms.[ch].YASUOKA Masahiko
copy sbin/iked/chap_ms.[ch] and fixed chap.c and eap.c to compile with it.
2010-09-22Switch to unconditionally attaching evcounts on TurboChannelMatthew Dempsky
interrupts, since inspecting the code, they seem to always attach anyway. This fixes compiler fallout from my evcount simplification. build error reported by naddy@; "seems sensible" deraadt@
2010-09-22nextmsg could be used uninitialized as well.Paul Irofti
``Go ahead, its free'' deraadt@.
2010-09-22Initialise firstmsg so we do not have random number whenlum
bounds file is empty. ok deraadt@ henning@
2010-09-22support INVALID_KE_PAYLOAD notification sent by the responder in caseMike Belopuhov
the initiator chose wrong D-H group. in this case we throw away our SA and start over with a proper group. makes iked work as an initiator with strongswan/charon without any specific "ikesa" (phase 1) configuration. ok reyk
2010-09-22Call bus_dmamap_sync() of a dma descriptor before checking the ownershipClaudio Jeker
of the descriptor. Diff created and tested by Loganaden Velvindron. Looks good dlg@ and myself
2010-09-22ssh.1: add kexalgorithms to the -o listJason McIntyre
ssh_config.5: format the kexalgorithms in a more consistent (prettier!) way ok djm
2010-09-22Add DIOCGPDINFO to drivers that were lacking it. Where thereKenneth R Westerback
is no easily available physical information outside of the stored disklabel just make it a synonym for DIOCGDINFO. Commit on the theory it is unlikely to harm, and fallout can be addressed in the mass re-compile that will follow j2k10. Should allow auto-allocation of disks to work with all devices. ok deraadt@
2010-09-22document hwo to play with matchesHenning Brauer
2010-09-22new log opt "matches"Henning Brauer
awesome for debugging, a rule like match log(matches) from $testbox will show you exactly which subsequent rules match on that packet real ok theo assumed oks ryan & dlg bikeshedding many implementation time ~1 min bikeshedding about the keyword longish. i voted for "matches" since i like to play with matches idea was theo's, actually
2010-09-22add a new log opt PF_LOG_MATCHESHenning Brauer
forces logging on all subsequent matching rules real ok theo assumed oks ryan and dlg bikeshedding everyone in the room implementation time ~ 1 minute
2010-09-22Don't bother calling suser() in tunopen().Matthew Dempsky
"Sure" deraadt@
2010-09-22Garbage collect the field dk_labelsector since there are no usesKenneth R Westerback
in the tree. Update disk.9 to reflect current reality. ok matthew@ deraadt@
2010-09-22add a KexAlgorithms knob to the client and server configuration to allowDamien Miller
selection of which key exchange methods are used by ssh(1) and sshd(8) and their order of preference. ok markus@
2010-09-22Fix a locking bug in accept(2) caught by sthen@ using my strictMatthew Dempsky
locking diff. ok guenther@
2010-09-22Call config_deactivate() on SCSI links in vscsiclose().Matthew Dempsky
ok dlg@
2010-09-22Fix ramdisks, from Vladimir Kirillov. Thanks!Paul Irofti
2010-09-22when vscsi is closed request a detach of its children devices fromDavid Gwynne
the same thread theyre attached in (syswq) rather than in teh vscsi process context. this serialises attach and detach so we can avoid weird races with autoconf. also, count the devices on the bus rather than the outstanding commands. fixes some stuff for matthew@ ok matthew@
2010-09-22remove unused offset argument to rbus functionsJonathan Gray
ok krw@ kettenis@
2010-09-22various whitespace fixes that my hands did while i was looking for sthHenning Brauer
else and an unneeded if (r)
2010-09-22All users of physio(9) now pass NULL as the buf pointer argument, soMatthew Dempsky
no point in keeping it around. "i like this" thib@ (a while back); ok krw@ and oga@; reminder to update the man page and tweaks jmc@
2010-09-22remove a leftover debug printfJonathan Gray
ok krw@ marco@
2010-09-22make the arguments match the format string in usageJonathan Gray
ok yasuoka@
2010-09-21In i915_gem_idle, don't fail if we have a wedged chipset (this onlyOwain Ainsworth
happens when waiting for the gpu), the reset function will at the very least clean out all of our unwanted buffers, which is all we wanted to do here ourselves. so we can continue with disabling the hardware and cleaning up then return success. Fixes a QUIESCE crash for krw when he had a wedged gpu (``it works, ok krw@''). matthew@ hit a similar thing and this should fix it.
2010-09-21Use RING_WAIT state for the ringbuffer and the instdone debug registerOwain Ainsworth
when we check for gpu hangs. This makes catching some situations a bit more reliable so that large gpu programs don't trigger hangcheck, and also the ring_wait can unhang the chip for us without needin to do a reset. Merge of two patches from Chris Wilson ``upstream''. Running this here for a few days.
2010-09-21Don't dereference null pointers for protocols without port numbers.Stuart Henderson
From henning@, fixed pflog_bgpcopy crashes.
2010-09-21When calculating string lengths, resolve escape sequences and useIngo Schwarze
their actual lengths. Will improve vertical alignment in some uncommon situations, for example when escape sequences occur in list or column width strings or in .Nm block arguments in the SYNOPSIS. From kristaps@.
2010-09-21On gen3 hardware always unconditionally set the C3_LP_WRITE_ENABLE bitOwain Ainsworth
in ARB_STATE. Without this bit, C{2,3,4} power states can't complete render writes this has been known to cause painful hangs on some 945s where the bios doesn't set this bit for us. Code from Dave Airlie ``upstream''.
2010-09-21Enable error interrupts on ironlake, as we do on all other chips.Owain Ainsworth
The sodding bits moved again *sigh*.
2010-09-21Better not panic in MipsEmulateBranch() if the instruction is an unspecifiedMiod Vallat
OP_BCOND subfunction.
2010-09-21Fix a couple of typos and remove some if 0ed code that is not coming back.Owain Ainsworth
2010-09-21reorder the busy ioctl order of operations to be nicer and a little moreOwain Ainsworth
efficient in the case where we are idle. Idea taken from a commit to the linux kernel by chris wilson.
2010-09-21When we reset the chip, no need to clear the active list, theOwain Ainsworth
retire_requests() called just prior will do that for us.
2010-09-21Fix up an unlock that was left over when I changed the lockingOwain Ainsworth
requirements of this function (due to no longer binding any objects) Found by matthew@'s lovely lock assertion diff.
2010-09-21Replace the old floating point completion code with a C interface to theMiod Vallat
MI softfloat code, implementing all MIPS IV specified floating point operations. Tested on R5000, R10000, R14000 and Loongson2F.
2010-09-21much better suspend/resume supportJacob Meuser
2010-09-21change quiescing to not call the audio_hw_if halt method in interruptJacob Meuser
context, because drivers (like eso(4) and envy(4)) might want to sleep in their halt method.
2010-09-2115 months later, there is still no mpls(4) man page: .Xr mpls 4 -> MPLSJason McIntyre
2010-09-21save & restore the watchdog configuration when doing suspend/resumeTheo de Raadt
ok pirofti
2010-09-21The size of sc_status[] (the buffer for USB hub's interrupt pipe) will besasano
determined by bNbrPorts in hub descriptor. USB hub sends status packet to host, it contains status bits for each port and hub itself. So, the packet size is ceil((port + 1) / 8) bytes. If host requests smaller than that size, the hub behavior is undefined. Some hub (Intel's RMH for example) sends whole status every time, it makes babble of USB. This is the reason that uhub_intr() of old code was suffered from USBD_IOERROR, Okay deraadt@ and yuo@.
2010-09-21Add a real DIOCGPDINFO, allowing access to the physical informationKenneth R Westerback
about the device rather than the contents of whichever disklabel was read. Tweak whitespace in sd.c to make the code appearance consistant.
2010-09-21regenJonathan Gray
2010-09-21Add some devices from submitted dmesgs and correct some devicesJonathan Gray
that were mislabeled as MCP89 AHCI.
2010-09-21assert copyrights / bump yearsHenning Brauer