Age | Commit message (Collapse) | Author |
|
and matthieu@
This all revolves around putting ALL global variables into one single big
hash, and using flags. This removes some impossible to understand stuff,
like old varfind, and allows for some nice stuff.
- each time we reference a global variable, we create it, possibly as a dummy
variable.
- each time we go to the environment, we remember it, thus we no longer go
back to it.
Lists of dependant changes:
- isolate changes to oldVars and checkEnvFirst.
- remove VAR_CMD and VAR_GLOBAL contexts. The only distinction is in parsevar.
Split Parse_DoVar into Parse_DoVar and Parse_CmdlineVar
- rework var modules around obtain_global_var, observe flags in various
functions like Var_Value and Var_Seti.
- Var_Seti/Var_Appendi are almost the same code, use that internally.
- add magic to handle the very special SHELL variable.
- introduce Var_Definedi for the cases where we don't want the actual
value, to simplify tests.
- add keyword .poison, parse it and set global flags accordingly.
- do poison_checks where needed.
- document poison.
- in for loops, set variable temporarily, so that Var_SubstVar will also
substitute it in varmodifiers expressions.
|
|
|
|
pthread_stackseg_np(). With input and okay marc@
|
|
successful compilation of assembler or generating microcode.
|
|
|
|
|
|
from Maximilian Gass
|
|
ALC882, and differs only by lacking an ADC and a mixer, so have it use
ALC882's get_port(), set_port() and a slightly modified version of its
mixer init.
This also works around a problem where the generic mixer init creates
truncated mixer item names which can't be manipulated (noticed by
steven@).
Tested by steven@, ckuethe@ and jmc@.
|
|
by replicating part of $$dyncall in the code that sets up a thread's initial
stack frame. Also make sure we actually reserve some space for that initial
stack frame.
ok miod@
|
|
|
|
|
|
This was not happening since acg.cg_initediblk gets cleared for the
ffs1 case. OK otto@
|
|
from Saint Aardvark the Carpeted, documentation/5535;
|
|
deauth associating stations with bad RSN IEs.
cleanup parsing of vendor-specific IEs.
|
|
still very ugly but hopefully correct.
|
|
it has been #if 0'd since 3.9 and we have never supported this mode (no
ifconfig option etc...).
|
|
reported a while back by Laurence Tratt, reminded more recently by brad@
|
|
the spec says that "APs ignore the Privacy subfield within received
Association and Reassociation Request managements frames".
if the IEEE80211_CAPINFO_ESS bit is not set, reply with the correct status
code (IEEE80211_STATUS_CAPINFO instead of IEEE80211_STATUS_BASIC_RATE).
indent things a bit while i'm here.
|
|
|
|
- tweak usage()
|
|
OK otto@
|
|
Makes bluetooth build again. ok uwe@
|
|
no binary change
ok millert@
|
|
noted by Constantine Kousoulos <wuwei@freemail.gr>
|
|
help/feedback from nick, krw, miod, todd, and deraadt
millert ok'd an earlier version of this diff
|
|
read-write and it supports full-duplex operation.
- update documentation to match this behaviour.
see http://marc.info/?l=openbsd-tech&m=118310788926431&w=2 for
more background on this change
"patches look correct to me" marc@
|
|
buffer, not the record buffer.
inspired by recent similar change in NetBSD.
"patches look correct to me" marc@
|
|
originally from Alexandre Ratchov
"patches look correct to me" marco@
|
|
attribute to '0'. this function may be called when executing an
AUDIO_SETINFO ioctl where the pause attribute was set to '1', and
setting it to '0' in this function will cause unexpected bahaviour.
- according to audio(4), the AUDIO_FLUSH ioctl "restarts recording
and playback". therefor, it should set the pause attributes to '0'.
this was previously accomplished indirectly, because it calls
audio_init_ringbuffer(), which was setting pause to '0'.
- the pause attribute must be set to '0' in audio_open() so that
recording and playback buffers can be "activated" when the device
is opened. this was apparently forgotten when audiosetinfo()
was split off of audio_open() and the logic in audiosetinfo()
was changed to accomodate being run at times other than open().
also, this only really affects read() with poll(), which may
explain why the problem was not noticed for some time.
originally part of a patch Alexandre Ratchov sent to tech@ a
while back
fixes PR 3813
"patches look correct to me" marco@
|
|
|
|
For instance, it may not set POLLIN when samples become available,
or may set POLLOUT when write(2) will block.
Fix this by making conditions used by poll (FILTREAD and FILTWRITE
macros) match the blocking conditions in audio_read() and audio_write().
originally from Alexandre Ratchov, with a small tweak by me.
"patches look correct to me" marco@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
SIGSEGV.
tested by jasper@
|
|
the ESS bit must be set in (re)assocation requests.
|
|
fixes my 1.36 commit (the bit should not be set for non-AP STA
only in Probe Responses and Beacons).
|
|
remove two comments that were misplaced while I'm here (addr4 is always
located after the i_seq field, not at the end of the header).
|
|
|
|
needed or not to the callers (instead of doing nothing in add_xrates).
|
|
vendor-specific IE.
|
|
|
|
functions defined in 802.11i.
|
|
MASK_NO_SPACE_REGS.
ok miod
|
|
|
|
sync usage() to the man page.
format string fixes.
complain about failed calloc()'s instead of exiting silently.
ok pry@,reyk@
|