summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2008-04-16Use ntohs() to swap the raw i2c data to native format; tested by sthenTheo de Raadt
2008-04-16permit _ in the middle of a DNS name componentTheo de Raadt
2008-04-16mkfifo makes fifos, not directories; from Ben CalvertJason McIntyre
while here, make the description of -m more consistent for mkdir, mkfifo, and mknod. add a touch of .Ex for mkdir too.
2008-04-16Tune isoc maximal transfer size to a better value. Makes all availableMarcus Glocker
resolutions on my cam work.
2008-04-16more efficient use of mbufs in nfsm_uiotombuf().Damien Bergamini
allocate a mbuf cluster only if length is greater than MLEN instead of MINCLSIZE. ok blambert@, thib@
2008-04-16- wpa-psk is section 8, not 1Jason McIntyre
- one more passphrase tweak
2008-04-16Support the pcf8584 variant found on the u25/45.Mark Kettenis
2008-04-16Turns out getpropstring() returns an empty string if a property is missingMark Kettenis
instead of NULL. Makes rtc(4) really work on the u25. tested by mikeb@
2008-04-16Kernel implementation of the 4-way handshake and group-keyDamien Bergamini
handshake protocols (both supplicant and authenticator state machines) as defined in the IEEE 802.11i standard. Software implementation of the TKIP (Temporal Key Integrity Protocol) and CCMP (CTR with CBC-MAC Protocol) protocols. This diff doesn't implement any of the 802.1X authentication protocols and thus only PSK authentication (using pre-shared keys) is currently supported. In concrete terms, this adds support for WPA-PSK and WPA2-PSK protocols, both in station and hostap modes. The following drivers are marked as WPA-capable and should work: bwi(4), malo(4), ral(4), iwn(4), wpi(4), ural(4), rum(4), upgt(4), and zyd(4) The following options have been added to ifconfig(8): wpa, wpapsk, wpaprotos, wpaakms, wpaciphers, wpagroupcipher wpa-psk(8) can be used to generate keys from passphrases. tested by many@ ok deraadt@
2008-04-16pass-phrase -> passphrase, in keeping with the rest of the docs;Jason McIntyre
2008-04-16Oops, decrease debug log level back to 1.Marcus Glocker
2008-04-16Some formatting nits. No functional change.Owain Ainsworth
2008-04-16Use the timeout(9) API the right way: Don't initialize the timeoutMichael Knudsen
cookie all the time, and only call timeout_del if we're not going to timeout_add right away. Testing by johan@, oga@, sthen@, and possibly some more people (thanks). Ok krw@, oga@, sthen@.
2008-04-16Replace handrolled hashes with a splay tree, while there plug a memleakPierre-Yves Ritschard
inherited from the original drm driver. input and ok oga@.
2008-04-16Make sure tickcmpr_set() always writes a time in the future.Mark Kettenis
2008-04-16Start to make device initialization automatic instead all the staticMarcus Glocker
games. Tested by robert@ and myself
2008-04-16Mention m5819, m5823 and bq4802.Mark Kettenis
2008-04-16Redo/clarify the logic for storing options in the various buffers.Kenneth R Westerback
While there, bail out quickly if no options can be stored, and avoid overflow buffers if building a bootp reply. Henning looked and didn't get upset. millert@ tested it for a few days and liked the look of it. canacar@ glanced at it.
2008-04-15Add workaround for UltraSPARC-II errata, where writes to %tick_cmpr wouldMark Kettenis
sometimes fail, which would result in the periodic clock interrupts on a CPU stop. Spotted in a NetBSD commit message, loosely based on code in OpenSolaris.
2008-04-15Add support for the Texas Instruments bq4802 real-time clock found on theMark Kettenis
Ultra 25 and Ultra 45.
2008-04-15fix XrTheo de Raadt
2008-04-15mention LM76; stop being exact about incrementsTheo de Raadt
2008-04-15Take a shot at LM76 support (13 bit temperature, 0.065 degC per LSB) forTheo de Raadt
when we finally find one of these devices. looked at by kettenis..
2008-04-15It turns out the mysterious chip with the heatsink glued on, found on mgxMiod Vallat
video boards, is a known entity, so add support for 2d acceleration with the help of the X code (which makes baby Jesus cry). The blitter is fast enough to make a cgsix feel as slow as a cgthree in comparison.
2008-04-15describe why fd passing is now so fucked up, and who's fault it isTheo de Raadt
2008-04-15syncTheo de Raadt
2008-04-15fix a comment. no binary change.Damien Bergamini
2008-04-15link wpa-psk(8) to the buildDamien Bergamini
2008-04-15welcome wpa-psk(8).Damien Bergamini
ok deraadt@
2008-04-15Fix braino in mgx_loadcmap() invocation.Miod Vallat
2008-04-15Oops, it's a bit too early for -Wvariable-decl on sparc.Miod Vallat
2008-04-15- make it clear that hosts.lpd follows the same syntax that hosts.equiv(5)Antoine Jacoutot
inputs from jmc@ "looks ok" beck@ (similar older diff), "fine by me" jmc@
2008-04-14Introduce macros to switch to normal and alternate globals and switch toMark Kettenis
use the .section based mechanism to patch them up for sun4v.
2008-04-14Rework NFS mbuf write routines:Bret Lambert
nfsm_uiotombuf(): - no meaningful return, function becomes void - replace frankensteined uiomove/MGET with actual call to uiomove nfsm_strtmbuf(): - no meaningful return, becomes void - rename and reorder parameters to be consistent with other functions - becomes wrapper to nfsm_uiotombuf nfsm_buftombuf(): - new function; unused but slated for future use - wrapper to nfsm_uiotombuf As a bonus, making these functions void removes much unneeded code and garbage collects `magic' variable t2 which was only used (invisibly) by the macros from nfsm_subs.h Preps the way for removing much more NFS goo... testing by myself, thib@ and merdely@ ok thib@
2008-04-14move the cache lookup code into a function, instead repeatingThordur I. Bjornsson
it twice, makes this nicer as a bonus; From NetBSD. tested by johan@, ok blambert@.
2008-04-14garbage collect the now unused spec_ebadf();Thordur I. Bjornsson
ok dlg@
2008-04-14typo in attachmentTheo de Raadt
2008-04-13- remove code that was rendered pointless by the last commitJacob Meuser
- minor knf from Pierre Riteau
2008-04-13syncChris Kuethe
2008-04-13add my logitech cameraChris Kuethe
"add the product id to usbdevs" robert@
2008-04-13Use %g7 to store a pointer `struct cpu_info', and use it whereever possible.Mark Kettenis
2008-04-13lear CPUF_RUNNING when halting a CPU. Fixes problems with powering dowmMark Kettenis
MP amd64 systems for quite a few people. ok deraadt@, krw@
2008-04-13Redo the '?' output in (E)ditor mode so it uses two columns and onceKenneth R Westerback
again fits on one page. Suggested by, tweaked and ok deraadt@.
2008-04-13Disable ISP10160 and ISP12160. They don't quite work yet, and people withMark Kettenis
another (working) isp(4) get hurt by this. ok krw@, deraadt@
2008-04-13MSIZE is defined in sys/param.h, not machine/param.h;Jason McIntyre
from Jonathan Thornburg, documentation/5792
2008-04-13some small fixes;Jason McIntyre
2008-04-13garbage collect the cpus_running global variable;Thordur I. Bjornsson
pointed out by and ok drahn@, toby@;
2008-04-13bring back a free call which was left out when moving from handrolled listsPierre-Yves Ritschard
to tailqs. this plugs a tiny memleak. ``nice catch'' and ok oga@
2008-04-13Improve the libc DNS resolver ID generation algorithm to be moreDamien Miller
resistant to prediction atacks by wrapping the existing LCG in a random permutation generator based on a Luby-Rackoff block cipher. lots of discussion and final ok deraadt@
2008-04-13Use arc4random_buf() when requesting more than a single word of outputDamien Miller
Use arc4random_uniform() when the desired random number upper bound is not a power of two ok deraadt@ millert@