summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2011-01-09syncTheo de Raadt
2011-01-09Upon consideration, random(9) should definately not be documented. ItTheo de Raadt
is not for use by other things (and is not used that way, typically very MD). Perhaps we should rename it to something else...
2011-01-09kern(9) documents the kernel API srandom/random, which should onlyTheo de Raadt
be used by the scheduler. we should rethink this; perhaps delete them.
2011-01-09tweak previous;Jason McIntyre
2011-01-09update random(4) and arc4random(9) manual pagesTheo de Raadt
2011-01-08forward decl struct procTheo de Raadt
2011-01-08split randomattach into random_init() and random_start(), so that weTheo de Raadt
can make attempts to load 'entropy' into the RC4. ok miod ariane
2011-01-08Change detection of indefinite BER lenghts (which is not allowed). Only aMartin Hedenfal
length byte of 0x80 is now treated as meaning indefinite. This fixes empty sets sent by the winldap api. Makes authentication through pGina work. with william@
2011-01-08syncTheo de Raadt
2011-01-08new radeon; Claus AssmannTheo de Raadt
2011-01-08rename imask[] to cpu_imask[] to because imask is too loud as far asTheo de Raadt
kernel namespace ok miod
2011-01-08reserve one xfer for beacons during init.Damien Bergamini
2011-01-08fix LEDs handling.Damien Bergamini
do not read back the LED GPIO pin since it is configured in output only mode. makes the link LED blink on the WiFiStation EXT when scanning (the LEDs indicating the signal strength are not working yet).
2011-01-08Count the right values for the consumed counter.Claudio Jeker
Problem found and fix provided by Marcel Wiget <mwiget () gmail ! com>
2011-01-08The Ubiquiti WiFiStation EXT works on the Sun Blade 1500.Damien Bergamini
Enable athn at uhub on all USB 2.0 capable arches.
2011-01-08use host and not options.hostname, as the latter may have unescapedDamien Miller
substitution characters
2011-01-08the USB frontend has its own switch_chan() function, so no need toDamien Bergamini
do AR9271-specific stuff here.
2011-01-08s/;/:/Damien Bergamini
2011-01-08clear pci configuration register 0x41 on resume, like during attach.Damien Bergamini
only clear it if it is != 0 while i'm at it.
2011-01-08Removed unused structure memberJordan Hargrave
2011-01-08spacesTheo de Raadt
2011-01-08switch back from PAGE_SIZE for the sake of sparcTheo de Raadt
2011-01-08Move all calls to fcntl(...O_NONBLOCK) into a function and clear theNicholas Marriott
flag on the stdio file descriptors before closing them (fixes things like "tmux ls && cat").
2011-01-08destatic. ok deraadtTed Unangst
2011-01-08Accept colours of the hex form #ffffff and translate to the nearest fromNicholas Marriott
the xterm(1) 256-colour set.
2011-01-08Enable unix datagram support by treating ENOBUFS like EAGAIN.Jeremy Evans
Separate commit requested by deraadt@. OK nicm@
2011-01-08Support unix domain sockets in nc(1) with -Uu.Jeremy Evans
Previously, using -U with -u was an error that was not documented in the man page. Now it will use a unix socket in datagram mode. Bidirectional unix datagram communication requires a socket at both ends, so in client mode (without -l), a temporary socket is created so that responses from the server can be received. If -s is specified with -U and -u, it specifies the location of the temporary socket to create. This was mostly written way back in 2007. Since then, various improvements implemented based on suggestions from guenther@, tedu@, and nicm@. Man page help from nicm@ and jmc@. Unix datagram support requires a small change to atomicio.c in order to function correctly, this will be committed separately shortly. OK nicm@
2011-01-07some minor improvements to rnd.Ted Unangst
1. only support pool words == 2048. 2. define the amount of key we use. 3. define the amount of rc4 we skip. 4. use arc4random_buf instead of reimplementing inline. 5. bzero some more "secrets". ok deraadt djm
2011-01-07Add kernel regression tests for socket splicing.Alexander Bluhm
2011-01-07mktemp(3) can be used, but not where mkstemp(3) is an alternative. AlsoNicholas Marriott
trim an inaccurate comment about its future removal. ok deraadt
2011-01-07Remove an extraneous return statement with the wrong return value.Todd C. Miller
Fix some gcc warnings.
2011-01-07do not special case ep0 at pci/eisa. ep* will be fine. We should notTheo de Raadt
use 'foo0 at smartbus?' unless we need to ok miod
2011-01-07Add socket option SO_SPLICE to splice together two TCP sockets.Alexander Bluhm
The data received on the source socket will automatically be sent on the drain socket. This allows to write relay daemons with zero data copy. ok markus@
2011-01-07- Update Test::Simple to 0.96Jasper Lievisse Adriaanse
from Abel Abraham Camarillo Ojeda ok espie@ millert@
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.