summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2008-08-14move mix/sub underrun/overrun handling code and data in theAlexandre Ratchov
generic abuf structure, so it can reused. Required for an audio server. No behaviour change. ok jakemsr
2008-08-14factor code that discards data from abuf strucure into a singleAlexandre Ratchov
abuf_rdiscard() routine. Similarly add abuf_wcommit() routine for writing. The purpose is to stop manupulating FIFO pointers in various places outiside abuf.c, its too error prone. No behaviour change. ok jakemsr
2008-08-14Match libpthread's behavior and make pthread_join(NULL, whatever) failPhilip Guenthe
instead of crashing ok kurt@ first observed by Jung <moorang at gmail.com>
2008-08-14Fix 5771/library: in pthread_exit(), delay the call to _sem_post() thatPhilip Guenthe
unblocks the pthread_join() for this thread until the exiting thread is completely done with its thread structure, as the joining thread will free it once unblocked. Also, don't bother to call _sem_post() if the thread is detached. ok kurt@
2008-08-14If the initial thread calls pthread_exit(), don't overwrite its threadPhilip Guenthe
structure, as the 'tid' member there is used by other parts of librthread to determine whether the current thread is the initial thread
2008-08-14Tools from /usr may not be used in netstart since it may be NFS-mountedStuart Henderson
and not available at that time. Rewrite the hostname.if permission check to use only /bin/ls and the shell. Requested by deraadt. ok todd, "Twisted." deraadt
2008-08-13Make sure that we don't sleep with a lock held, some small cleanup whileOwain Ainsworth
i'm here.
2008-08-13Check for zero in drm_calloc() to prevent divide-by-zero. Also rearrangeOwain Ainsworth
the two calls to drm_calloc() that had nmemb and size the wrong way around.
2008-08-13Kill file_priv->refs, it is always 1. Also move two things from theOwain Ainsworth
softc into file_priv since otherwise the wrong value could rarely be used.
2008-08-13Add VIDIOC_ENUM_FRAMESIZES ioctl. This permits applications to query theMarcus Glocker
available formats and resolutions of a device (e.g. "luvcview -L").
2008-08-13Change the drm_lock*() api to take a pointer to the struct as aOwain Ainsworth
parameter, this makes things a little cleaner and removes the need to pass in the softc for some functions.
2008-08-13idgen32 wasn't really right here. Change back to how it was, butOwain Ainsworth
done a little nicer. Advice from deraadt@.
2008-08-13Generate the magic id using idgen32(). While i'm here fix the locking aOwain Ainsworth
bit so we don't sleep with a spinlock. ok djm@.
2008-08-13Kill a bunch of the drm context code that nothing uses anymore, theOwain Ainsworth
xserver only actually uses a small part of it nowadays. Kill a few other dead bits from the drmP.h while i'm here.
2008-08-13Initial stab at a driver for the integrated random number generator of theMark Kettenis
UltraSPARC T2.
2008-08-13one should never use sizeof(struct llc) since 802.2 LLC headersDamien Bergamini
have a variable length. use LLC_SNAPFRAMELEN instead (which happen to be equal to sizeof(struct llc)) as we only deal with LLC+SNAP headers. some indentation tweaks while i'm here. no binary change.
2008-08-13do not increment is_rx_eapol_key twice for each frame.Damien Bergamini
fix a test on the mbuf length and one on the descriptor version. remove redundant checking of GTK KDE length.
2008-08-13sync synopsis/usage; fix double "usage:"; KNF.Igor Sobrado
2008-08-13This tab had bugged me forever.Tobias Weingartner
2008-08-13Disable the fantastics mis-feature on some newer Turion CPUs called C1E.Artur Grabowski
This "power saving" disables the apic when both cpu cores hit the hlt instruction which kills our timer. From FreeBSD. (poked by kettenis)
2008-08-13remove a bunch of bogus ARGSUSEDThordur I. Bjornsson
2008-08-13Disable the fantastics mis-feature on some newer Turion CPUs called C1E.Artur Grabowski
This "power saving" disables the apic when both cpu cores hit the hlt instruction which kills our timer. From FreeBSD.
2008-08-13Old drives (reported Giovanni Bechis <bigionews@snb.it>) don't report CD-RWav
write feature. Add additional check for media type before blanking. The patch fixes problem for Giovanni. ok fgsch
2008-08-13-S currently does nothing useful, so remove it fromJason McIntyre
SYNOPSIS and usage(); after some discussion with canacar
2008-08-13Add more Config mode registers.Brad Smith
From FreeBSD
2008-08-13Add the 8139D PCI id.Brad Smith
2008-08-13regenBrad Smith
2008-08-13Add another PCI id for the Realtek 8139D chipset.Brad Smith
From FreeBSD
2008-08-13Replace the use of a separate softc field to track the linkBrad Smith
state with the newly minted link flag in the softc's rl_flags field. Tested by fkr@
2008-08-12Kill dmesg spam. Since we can't guarantee that a device is capable ofOwain Ainsworth
having a drm driver, don't print when we fail to attach one. stops the "drm at vga? not supported" spam people are seeing.
2008-08-12Fix multiple addition error recently introduced for when extended partitionsTheo de Raadt
are just before an OpenBSD partition in a MBR; done with kettenis & otto ok reyk
2008-08-12adopt the integrity group cipher of the AP at association time.Damien Bergamini
2008-08-12nuke unused fields.Damien Bergamini
2008-08-12add the code to encrypt/decrypt management frames, retrieve key idDamien Bergamini
from MMIE etc... this code can't be triggered as no drivers claim MFP capability yet.
2008-08-12reserves the correct number of bytes in ieee80211_send_4way_msg2().Damien Bergamini
2008-08-12clear Tx_Rx protection bits properly.Damien Bergamini
2008-08-12do not drop frames that have an invalid IE, just stop processingDamien Bergamini
more IEs.
2008-08-12populate ieee80211_recv_action(), does nothing yet.Damien Bergamini
2008-08-12add a couple of new definitions (action frames, new subtypes for controlDamien Bergamini
frames, new IEs etc...)
2008-08-12missing SHA-256 bits.Damien Bergamini
2008-08-12v3 descriptors use AES Key Wrap too.Damien Bergamini
2008-08-12new SHA-256 based AKMPs.Damien Bergamini
2008-08-12add/process group integrity cipher suite in RSN IEs.Damien Bergamini
add support for MFP negotiation during association.
2008-08-12add IEEE80211_RSNIE_MAXLEN and IEEE80211_WPAIE_MAXLEN definitionsDamien Bergamini
instead of hard-coding values. for RSN IE, request space for Group Integrity Cipher Suite.
2008-08-12add support for EAPOL-Key v3 descriptors (similar to v2 except that theDamien Bergamini
MIC is computed using AES-128-CMAC instead of HMAC-SHA1). add a SHA-256 based key derivation function (not used yet).
2008-08-12the only integrity group cipher currently supported is AES-128-CMAC.Damien Bergamini
2008-08-12generate a random IGTK in HostAP mode if we're MFP-capable.Damien Bergamini
2008-08-12add IEEE80211_F_MFPR config flags (management frame protection required)Damien Bergamini
and IEEE80211_C_MFP capability bit (driver supports MFP).
2008-08-12add definitions for RSN capabilities field (RSN IE).Damien Bergamini
2008-08-12Nuke bigmem for release, still has issues.Tobias Weingartner
ok deraadt@