summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2011-01-07tweak previous; ok deraadtJason McIntyre
2011-01-07do not rely on rndvar.h leaking shit into the namespaceTheo de Raadt
2011-01-07substantial rewrite. put a very thin mutex at the entropy-collectionTheo de Raadt
side so that entropy events can come in from any kernel context. place a 2nd very thin mutex at the call-down path as well, so that any context can request random data. in the middle, meet with a bcopy that has no mutex, but copying unlocked data is actually a benefit. move the pool->MD5->RC4init sequence into a workq driven from a timeout, so that we can do all the heavy work without any mutex held or IPL; only grab the 2nd mutex to swap to a new RC4 state. (this workq design from tedu) ok dlg tedu
2011-01-07since randomwrite() also has no blocking operations at all, we need toTheo de Raadt
do a yield, otherwise an accidental cat by root into /dev/random kind of makes your machine hurt a lot.
2011-01-07increase i386 maxdsiz to 2GB. comments from ariane deraadt kettenis.Ted Unangst
ok deraadt
2011-01-07the midlayer uses -1 as a wildcard when processing requests for probes orDavid Gwynne
detaches. switch the types from u_int to int in the vscsi ioctl that asks for probes or requests. this is so claudio@ can get all luns on a target probed in iscsid with a single ioctl call. ok deraadt@
2011-01-07Detect wether a disk image is an ISO image and set the media type toMark Kettenis
VD_MEDIA_TYPE_CD to vDisk 1.1 clients. Makes installing from a Solaris 11 Express bootable install CD work.
2011-01-07Fix malloc(9) call with swapped type and flags arguments.Mark Kettenis
2011-01-06Add support for the vDisk 1.1 protocol. Improve Solaris vtoc/disklabelMark Kettenis
support and implement VD_OP_SET_VTOC. This makes Solaris actualy run on top of an OpenBSD control domain. Installing from CD needs some further tweaking but a network install will probably work. OpenBSD clients are still happy.
2011-01-06reset SIGCHLD handler to SIG_DFL when execuring LocalCommand;Damien Miller
ok markus@
2011-01-06For very large operations in randomread(), use a local rc4 instanceTheo de Raadt
much like arc4random_buf_large does, but without re-initializing it every 8K. ok tedu
2011-01-06regress test for LocalCommand %n expansion from bert.wesarg ATDamien Miller
googlemail.com; ok markus@
2011-01-06unbreak %n expansion in LocalCommand; patch from bert.wesarg ATDamien Miller
googlemail.com; ok markus@
2011-01-06when exiting due to ServerAliveTimeout, mention the hostname that causedDamien Miller
it (useful with backgrounded controlmaster)
2011-01-06Update CGI to 3.51, which includes a better fix for SA42443,Todd C. Miller
"multipart_init()" HTTP Header Injection Vulnerability.
2011-01-06Remove dead links.Damien Bergamini
Atheros have reworked their website.
2011-01-06Remove dead links.Damien Bergamini
Atheros have reworked their website.
2011-01-06indicate the number of spatial streams along with the numberDamien Bergamini
of Tx/Rx chains.
2011-01-06only athn at uhub (not pci or cardbus) needs firmloadDamien Bergamini
2011-01-06cleanup athn_usb_rx_frame().Damien Bergamini
remove padding after 802.11 header if any.
2011-01-06implement fast channel change.Damien Bergamini
this dramatically reduces the number of register reads/writes and thus the number of context switches when changing channel. makes scanning much faster.
2011-01-06Solaris insists on getting the right sequence numbers in DRING_DATA messagesMark Kettenis
and it seems we were off by one.
2011-01-06create STA entry for our BSS upon association.Damien Bergamini
update Rx filter after association. move RECV_START command outside of rx_enable since rx_enable callback is not allowed to fail.
2011-01-06init and destory the bufq in the ioctl handler, asThordur I. Bjornsson
the softc is zero'ed when the vnd is unconfigured; otherwise we blow up when configuring a vnd the second time since the bufq structure is kaputt. found by and OK krw@
2011-01-06rephrase fsck question and default to 'n'; ok krw@ henning@ stsp@Otto Moerbeek
2011-01-06be more precise about the modelJasper Lievisse Adriaanse
2011-01-06document that all *random nodes supply data nowTheo de Raadt
2011-01-06make all /dev/*random nodes respond; in fact, don't even worry aboutTheo de Raadt
the minor number at all. The chances of an application ignoring the error on /dev/random are *greater* than the risk of an application getting bad data from it. ok dlg tedu kjell
2011-01-06Ugly hack, call session_schedule in the task pdu callback handler.Claudio Jeker
Without this accessing both LU on my iscsi target will lock up because tasks a queued but no longer scheduled. We need a better task scheduler but this allows me to run iogen on both partitions without locking up.
2011-01-06Pass the magic LUN -1 to VSCSI_REQPROBE so that all LU are probedClaudio Jeker
by the midlayer. With help from dlg@
2011-01-06syncTheo de Raadt
2011-01-06Add minimal LUN handling. Currently only single level LUN addressing isClaudio Jeker
supported because the vscsi ioctl interface is limited to that. Seems to work according to my iscsi target having 2 units per target. OK dlg@
2011-01-06add another RT3070 that works.Jasper Lievisse Adriaanse
2011-01-06dst my point to memory inside rt so move the check up before theClaudio Jeker
rtfree(rt). Without this the sp_protocol on RTM_DELETE is garbage and rtsocket user that restrict the AF of the socket (like ospfd) will not see a single one of the RTM_DELETE. OK henning@, dlg@
2011-01-06Minor style nitClaudio Jeker
2011-01-06Put htons() around ip_randomid() for pf scrub random-id to make itAlexander Bluhm
consistent with the network stack. ok mcbride@ henning@
2011-01-06Do not assign m->m_pkthdr.rdomain before m was allocated.Claudio Jeker
Fix for rev 1.37 commit which would crash when slip(4) is used. Problem found the hard way by Henri Kemppainen.
2011-01-06sync athn(4);Jason McIntyre
2011-01-06enable athn at uhubDamien Bergamini
2011-01-06"athn* at uhub? port ?"Damien Bergamini
this adds preliminary support for the Atheros AR9271 chipset and probably the AR9280+AR7010 and AR9287+AR7010 too though those were not tested. scanning still takes a very long time (~1 sec per channel) but otherwise, operation in STA mode seems stable. will implement fast channel change soon. committed over the Ubiquiti WifiStation EXT (AR9271) on i386 with WPA. requires firmware (see man page for details) ok deraadt@ (who checked the .h files)
2011-01-05Whoops, command-prompt can take 0 or 1 argument.Nicholas Marriott
2011-01-05Ignore MCFG tables with an empty bus range. Makes stu@'s amd64 machineMark Kettenis
boot again.
2011-01-05Pass pmap_bootstrap() the memory range used by the PROM/BUG/firmware/whatever,Miod Vallat
instead of assuming it is ``everything below the kernel image''.
2011-01-05Minor optimizations:Miod Vallat
- move pte validity checks from pmap_remove_pte() to its callers. - when iterating over a segment, compute pte address once and increment it in the loop, instead of recomputing it on every iteration.
2011-01-05Make copypage() and zeropage() per-cpu function pointers, and use aMiod Vallat
different version on 88110, which does load allocate of to-be-completely-overwritten cache lines.
2011-01-05Now that pmap_copy_page() no longer needs to flush a couple contiguous tlbMiod Vallat
entries, drop the count parameter to cmmu_tlb_inv(), and introduce cmmu_tlb_inv_all() to drop all user tlb entries (to be used during context switches).
2011-01-05cosmetic, no binary change.Damien Bergamini
2011-01-05Remove mbuf ptr save dance in pf_test6(). It was a leftover withAlexander Bluhm
misleading comment that did nothing. ok henning@ jsing@
2011-01-05- remove unused headers wrapped in #if defined(DDB)Jasper Lievisse Adriaanse
ok jsing@ kettenis@
2011-01-05Put the "su -c ..." command into an rcexec variable so that we canAntoine Jacoutot
easily use it in rc scripts instead of copying/pasting the same huge command lines everywhere. ok robert@ sthen@