[odc] Daily src changes for 2007-07-06
ODC
auto at squish.net
Sat Jul 7 07:00:01 BST 2007
OpenBSD src changes summary for 2007-07-06
==========================================
lib/libc regress/sys
share/man sys/arch/amd64/include
sys/arch/i386/conf sys/conf
sys/dev sys/dev/pci
sys/net sys/net80211
usr.bin/passwd usr.bin/tip
== lib =============================================================== 01/05 ==
http://www.openbsd.org/cgi-bin/cvsweb/src/lib
libc
~ stdlib/realpath.3
> Reference limits.h, not sys/param.h since we document using PATH_MAX
> OK otto@ (millert@)
== regress =========================================================== 02/05 ==
http://www.openbsd.org/cgi-bin/cvsweb/src/regress
sys
+ dev/audio_info/audiotest_gsinfo.1 + dev/audio_info/audiotest_gsinfo.c
+ dev/audio_info/Makefile
> New import:
> regression test for AUDIO_GETINFO/AUDIO_SETINFO ioctls
+ dev/audio_rw/audiotest_rw.c + dev/audio_rw/audiotest_rw.1
+ dev/audio_rw/Makefile
> New import:
> regression tests for various audio read(2) and write(2) scenarios
~ dev/audio_rw/audiotest_rw.1 ~ dev/audio_info/audiotest_gsinfo.1
> manpage improvements from jmc@ (jakemsr@)
~ dev/audio_rw/audiotest_rw.1 ~ dev/audio_rw/audiotest_rw.c
~ dev/audio_info/audiotest_gsinfo.c
> proper RCS tags (jakemsr@)
~ dev/audio_info/audiotest_gsinfo.1
> remove another $Id$, forgotten in last commit (jakemsr@)
~ dev/audio_rw/audiotest_rw.1 ~ dev/audio_rw/audiotest_rw.c
> - document -v
> - tweak usage() (jmc@)
== share ============================================================= 03/05 ==
http://www.openbsd.org/cgi-bin/cvsweb/src/share
man
~ man4/audio.4
> - enable full-duplex mode by default if a device is opened
> 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@ (jakemsr@)
== sys =============================================================== 04/05 ==
http://www.openbsd.org/cgi-bin/cvsweb/src/sys
arch/amd64/include
~ pmap.h
> Fix a misleading comment.
> noted by Constantine Kousoulos <wuwei at freemail.gr> (art@)
arch/i386/conf
~ RAMDISKC
> net80211 growth eats another ethernet driver (which is super rare on
> laptops) (deraadt@)
conf
~ files
> sha1 is needed by wlan now, too (deraadt@)
dev
~ audio.c
> The poll(2) syscall doesn't work correctly on audio(4) devices.
> 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@ (jakemsr@)
~ audio.c
> - there is no need for audio_init_ringbuffer() to always set the "pause"
> 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@ (jakemsr@)
~ audio.c
> be sure to respect the pause attribute
> originally from Alexandre Ratchov
> "patches look correct to me" marco@ (jakemsr@)
~ audio.c
> the AUDIO_WSEEK ioctl should return the number of bytes in the play
> buffer, not the record buffer.
> inspired by recent similar change in NetBSD.
> "patches look correct to me" marc@ (jakemsr@)
~ audio.c
> - enable full-duplex mode by default if a device is opened
> 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@ (jakemsr@)
dev/pci
~ if_iwi.c
> typo in an error message.
> reported a while back by Laurence Tratt, reminded more recently by brad@
> (damien@)
net
~ if.c
> btintrq has been removed from bt_input.c, don't reference it here.
> Makes bluetooth build again. ok uwe@ (naddy@)
net80211
~ ieee80211_node.c
> initialize an unitialized variable. (damien@)
~ ieee80211_input.c
> don't check the IEEE80211_CAPINFO_PRIVACY bit in (re)association requests.
> 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. (damien@)
~ ieee80211_input.c ~ ieee80211_node.c
~ ieee80211_node.h ~ ieee80211_output.c
~ ieee80211_proto.h
> remove remaining bits for pre-RSNA shared authmode support.
> it has been #if 0'd since 3.9 and we have never supported this mode (no
> ifconfig option etc...). (damien@)
~ ieee80211_output.c
> cleanup the computation of mgmt frames sizes.
> still very ugly but hopefully correct. (damien@)
~ ieee80211_input.c ~ ieee80211_ioctl.h
> have ieee80211_parse_rsn() return a reason code so that we can
> deauth associating stations with bad RSN IEs.
> cleanup parsing of vendor-specific IEs. (damien@)
== usr.bin =========================================================== 05/05 ==
http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin
passwd
~ pwd_gensalt.c
> dont inlucde <sys/syslimits.h> directly.
> no binary change
> ok millert@ (thib@)
tip
~ tip.1 ~ cu.1
> some discussion of devices, logs, and permissions;
> help/feedback from nick, krw, miod, todd, and deraadt
> millert ok'd an earlier version of this diff (jmc@)
===============================================================================
More information about the odc
mailing list