[owc] Weekly src changes ending 2007-07-08
OWC
auto at squish.net
Mon Jul 9 07:00:01 BST 2007
OpenBSD src changes summary for 2007-07-01 to 2007-07-08 inclusive
==================================================================
distrib/sets gnu/usr.bin/gcc
lib/libc lib/libpthread
lib/librthread libexec/spamd
regress/sbin regress/sys
sbin/fdisk sbin/fsck_ffs
sbin/growfs sbin/ipsecctl
sbin/newfs sbin/pfctl
sbin/scsi share/man
sys/arch/amd64/conf sys/arch/amd64/include
sys/arch/amd64/pci sys/arch/arm/arm
sys/arch/hppa/dev sys/arch/hppa/include
sys/arch/i386/conf sys/arch/i386/i386
sys/arch/i386/pci sys/arch/mips64/mips64
sys/arch/sparc/dev sys/arch/sparc/sparc
sys/arch/sparc64/conf sys/arch/sparc64/sparc64
sys/conf sys/dev
sys/dev/ic sys/dev/isa
sys/dev/microcode sys/dev/pci
sys/dev/pcmcia sys/kern
sys/net sys/net80211
sys/netinet sys/sys
usr.bin/cvs usr.bin/make
usr.bin/passwd usr.bin/rcs
usr.bin/tip usr.bin/whois
usr.sbin/hoststated usr.sbin/quot
usr.sbin/tcpdrop usr.sbin/tcpdump
== distrib =========================================================== 01/10 ==
http://www.openbsd.org/cgi-bin/cvsweb/src/distrib
sets
~ lists/base/md.alpha ~ lists/base/md.amd64
~ lists/base/md.armish ~ lists/base/md.aviion
~ lists/base/md.cats ~ lists/base/md.hp300
~ lists/base/md.hppa ~ lists/base/md.hppa64
~ lists/base/md.i386 ~ lists/base/md.landisk
~ lists/base/md.luna88k ~ lists/base/md.mac68k
~ lists/base/md.macppc ~ lists/base/md.mvme68k
~ lists/base/md.mvme88k ~ lists/base/md.mvmeppc
~ lists/base/md.sgi ~ lists/base/md.sparc
~ lists/base/md.sparc64 ~ lists/base/md.vax
~ lists/base/md.zaurus ~ lists/comp/mi
~ lists/man/mi
> sync (deraadt@)
~ lists/base/md.alpha ~ lists/base/md.amd64
~ lists/base/md.armish ~ lists/base/md.aviion
~ lists/base/md.cats ~ lists/base/md.hp300
~ lists/base/md.hppa ~ lists/base/md.hppa64
~ lists/base/md.i386 ~ lists/base/md.landisk
~ lists/base/md.luna88k ~ lists/base/md.mac68k
~ lists/base/md.macppc ~ lists/base/md.mvme68k
~ lists/base/md.mvme88k ~ lists/base/md.mvmeppc
~ lists/base/md.sgi ~ lists/base/md.sparc
~ lists/base/md.sparc64 ~ lists/base/md.vax
~ lists/base/md.zaurus ~ lists/comp/mi
> sync (deraadt@)
~ lists/base/md.alpha ~ lists/base/md.amd64
~ lists/base/md.armish ~ lists/base/md.aviion
~ lists/base/md.cats ~ lists/base/md.hp300
~ lists/base/md.hppa ~ lists/base/md.hppa64
~ lists/base/md.i386 ~ lists/base/md.landisk
~ lists/base/md.luna88k ~ lists/base/md.mac68k
~ lists/base/md.macppc ~ lists/base/md.mvme68k
~ lists/base/md.mvme88k ~ lists/base/md.mvmeppc
~ lists/base/md.sgi ~ lists/base/md.sparc
~ lists/base/md.sparc64 ~ lists/base/md.vax
~ lists/base/md.zaurus ~ lists/comp/mi
> sync (deraadt@)
== gnu =============================================================== 02/10 ==
http://www.openbsd.org/cgi-bin/cvsweb/src/gnu
usr.bin/gcc
~ gcc/config.gcc
> On OpenBSD/hppa, not all space registers are equivalent, so don't set
> MASK_NO_SPACE_REGS.
> ok miod (kettenis@)
== lib =============================================================== 03/10 ==
http://www.openbsd.org/cgi-bin/cvsweb/src/lib
libc
~ stdlib/getopt_long.3
> from ginsbach at netbsd, -r1.18:
> Document that getopt_long(3) can and will accept unique abbreviated long
> option names. This feature has been present since getopt_long(3) was first
> released in NetBSD 1.5. This is also standard GNU getopt_long(3) behavior.
> ok millert (jmc@)
~ gen/ttyname.3
> from Nicholas Marriott:
> ttyname_r returns an error number, rather than setting errno.
> ok millert (jmc@)
~ stdlib/realpath.3
> Reference limits.h, not sys/param.h since we document using PATH_MAX
> OK otto@ (millert@)
libpthread
~ arch/hppa/uthread_machdep_asm.S
> On hppa, function pointers may be be pointers to PLT entries. Handle those
> 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@ (kettenis@)
~ uthread/uthread_stackseg_np.c
> Report the correct stack size and top for the primordial thread in
> pthread_stackseg_np(). With input and okay marc@ (kurt@)
librthread
~ rthread_np.c
> Report the correct stack size and top for the primordial thread in
> pthread_stackseg_np(). With input and okay marc@ (kurt@)
== libexec =========================================================== 04/10 ==
http://www.openbsd.org/cgi-bin/cvsweb/src/libexec
spamd
~ spamd.8
> document maximum values for -S and -s;
> from Saint Aardvark the Carpeted, documentation/5535; (jmc@)
== regress =========================================================== 05/10 ==
http://www.openbsd.org/cgi-bin/cvsweb/src/regress
sbin
~ ipsecctl/ipsec19.in ~ ipsecctl/ipsec19.ok
> both 'proto 50' and 'proto esp' must work in flow specifications (markus@)
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@)
== sbin ============================================================== 06/10 ==
http://www.openbsd.org/cgi-bin/cvsweb/src/sbin
fdisk
~ part.c
> another mbr partition type; fgsch (deraadt@)
fsck_ffs
~ pass5.c
> workaround for [daddr64_t] issue; worked on mostly by otto, wee bit by me
> (deraadt@)
growfs
~ debug.c ~ debug.h
~ growfs.8 ~ growfs.c
> Pull in ffs2 support and other updates from FreeBSD. OK deraadt@
> (millert@)
ipsecctl
~ parse.y
> allow proto esp/ah in flow specification (especially useful for bypass
> flows)
> ok hshoexer, mpf (markus@)
newfs
~ mkfs.c
> Initialize the first 2 block's worth of inodes for ffs1 as well as ffs2.
> This was not happening since acg.cg_initediblk gets cleared for the
> ffs1 case. OK otto@ (millert@)
pfctl
~ pfctl.8
> states here too not state (henning@)
scsi
~ scsi.8
> Correct the '-i' parameters in the examples. The '64' in the -c strings
> is a hex value, so '-i 64' does not allocate enough space. Use '-i 0x64'
> instead. Found by henning on boxes using ahd/ahc. (krw@)
== share ============================================================= 07/10 ==
http://www.openbsd.org/cgi-bin/cvsweb/src/share
man
~ man4/cas.4
> Add missing gentbi(4) in SYNOPSYS. (kettenis@)
~ man4/Makefile + man4/jmb.4
> document jmb(4). (dlg@)
~ man4/ahci.4
> ahci attaches to jmb as well (dlg@)
~ man4/pci.4
> list jmb(4) as an IDE controller (dlg@)
~ man4/pci.4
> make the jmb entry match its .Nd; (jmc@)
~ man4/jmb.4
> wording tweak; ok dlg (jmc@)
~ man4/pciide.4 ~ man4/jmb.4
> pciide can attach to jmb now (dlg@)
~ man4/pciide.4
> we support lots of jmicron chips now.
> pointed out by jsg@ jmc@ (dlg@)
~ man4/pciide.4
> JMB362 is ahci only (dlg@)
~ man4/bnx.4
> Revert r1.42 of if_bnx.c, "Enable IPv4 transmit TCP/UDP checksum
> offload", and associated man page change. To use IPv4 transmit TCP/UDP
> checksum offloading you must again define BNX_CSUM.
> As requested by mbalmer@ via deraadt@ on suggestion of reyk@ in
> response to PR #5437. (krw@)
~ man5/remote.5
> give a little indent; (jmc@)
~ man4/tty.4
> add "cua" to the NAME section; (jmc@)
~ 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@)
~ man7/hier.7
> /altroot backup now documented in daily(8), not afterboot(8);
> from Maximilian Gass (jmc@)
== sys =============================================================== 08/10 ==
http://www.openbsd.org/cgi-bin/cvsweb/src/sys
arch/amd64/conf
~ GENERIC ~ RAMDISK_CD
> enable jmb on all archs that support ahci, so jmicron boards will continue
> to work (and work better in the future) (dlg@)
~ GENERIC ~ RAMDISK_CD
> allow pciide to attach to jmb as well as ahci (dlg@)
arch/amd64/include
~ pmap.h
> Fix a misleading comment.
> noted by Constantine Kousoulos <wuwei at freemail.gr> (art@)
arch/amd64/pci
~ pchb.c
> fix dmesg formatting error when hardware random number generator is present
> "Yes" deraadt (ckuethe@)
arch/arm/arm
~ cpu.c
> Move more fpe-related stuff in #ifdef ARMFPU blocks. (miod@)
arch/hppa/dev
~ astro.c
> Add a few more registers. (kettenis@)
~ astro.c
> Reset PDC devices before enabling iova space if we're not on a serial
> console.
> Makes glass console on four-digit B/C/J-class systems work. (kettenis@)
~ apic.c
> Correctly count interrupts for devices that share interrupts. (kettenis@)
~ ssio.c
> Mark ukbd(4) as console keyboard when appropriate. (kettenis@)
~ ssio.c
> Print offset and irq for devices that attach to ssio(4). (kettenis@)
arch/hppa/include
~ param.h ~ pdc.h
> Add PDC_IO. (kettenis@)
~ param.h
> Oops! Revert previous commit. (kettenis@)
arch/i386/conf
~ GENERIC ~ RAMDISK_CD
> enable jmb on all archs that support ahci, so jmicron boards will continue
> to work (and work better in the future) (dlg@)
~ GENERIC ~ RAMDISK_CD
> allow pciide to attach to jmb as well as ahci (dlg@)
~ files.i386
> Remove more IPX leftovers.
> OK henning@ (mpf@)
~ RAMDISK
> take skc/sk off main floppy, becuase of net80211 growth (deraadt@)
~ RAMDISKC
> net80211 growth eats another ethernet driver (which is super rare on
> laptops) (deraadt@)
arch/i386/i386
~ apm.c ~ gdt.c
> replace two lockmgr lock with rwlocks.
> been in snaps for a week, no objection
> from deraadt@ for putting this in.
> ok tom@ (for gdt) (thib@)
- ipx_cksum.c
> Remove more IPX leftovers.
> OK henning@ (mpf@)
~ pmap.c
TAGGED OPENBSD_4_1
> Before we free the pmap just make sure it's not cached anywhere. This
> fixes possible panics on amd64 machines running i386 (like intel
> Core2Duos, AMD Opterons).
> from thib@
> ok deraadt@ art@
> backport from 1.114 in -current:
> ---snip---
> Changes by: krw at cvs.openbsd.org 2007/05/28 12:31:11
> Log message:
> Flush pmap from tlb before freeing it. Makes Core2Duo boxes more
> stable, but is not a fully-understood or final fix.
> From and ok art
> ---snap--- (reyk@)
~ pmap.c
TAGGED OPENBSD_4_0
> Before we free the pmap just make sure it's not cached anywhere. This
> fixes possible panics on amd64 machines running i386 (like intel
> Core2Duos, AMD Opterons).
> from thib@
> ok deraadt@ art@
> backport from 1.114 in -current:
> ---snip---
> Changes by: krw at cvs.openbsd.org 2007/05/28 12:31:11
> Log message:
> Flush pmap from tlb before freeing it. Makes Core2Duo boxes more
> stable, but is not a fully-understood or final fix.
> From and ok art
> ---snap--- (reyk@)
arch/i386/pci
~ pci_intr_fixup.c
> Match VIA VT8237A; from "Christoph Egger" <Christoph_Egger at gmx.de>.
> (grange@)
arch/mips64/mips64
~ context.S
> In cpu_switch(), store the saved cpl in the pcb as a 64 bit store, so that
> the high order bits are not undefined when invoking hw_setintrmask() on
> return. (miod@)
~ db_disasm.c
> Compute the correct address and try and print a matching symbol for j and
> jal instructions. (miod@)
arch/sparc/dev
~ si.c
> Do not define DEBUG unconditionnaly. (miod@)
~ xd.c ~ xy.c
> Perform minimal disklabel setup without needing to do the
> disklabel_to_sun()
> dance, so that we do not depend on its behaviour. No functional change.
> (miod@)
~ obio.c ~ power.c
> Use mapiodev() instead of mapdev() when applicable. This is just syntactic
> sugar. (miod@)
arch/sparc/sparc
~ disksubr.c
> Perform minimal disklabel setup without needing to do the
> disklabel_to_sun()
> dance, so that we do not depend on its behaviour. No functional change.
> (miod@)
~ auxreg.c
> Use mapiodev() instead of mapdev() when applicable. This is just syntactic
> sugar. (miod@)
arch/sparc64/conf
~ GENERIC
> Add gentbi(4). (kettenis@)
~ GENERIC
> enable jmb on all archs that support ahci, so jmicron boards will continue
> to work (and work better in the future) (dlg@)
~ RAMDISK
> Add arc/jmb/ahci here as well.
> Suggested by and ok dlg@ (jsg@)
~ GENERIC ~ RAMDISK
> allow pciide to attach to jmb as well as ahci (dlg@)
arch/sparc64/sparc64
~ trap.c
> Report actual faulting address (if we can) instead of the mmu tag word for
> SIGSEGV.
> tested by jasper@ (kettenis@)
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/ic
- mb86960reg.h
> bye bye (henning@)
~ aic6360.c
> ansify/de-register
> ok krw@ (jasper@)
dev/isa
~ lm78_isa.c
> fix potential crash due to wrong ca_devsize; whilst here, also fix iobase
> type; ok grange, kettenis (cnst@)
- if_fe.c - if_fereg.h
> bye bye (henning@)
~ files.isa
> remove fe(4). hasn't been enabled in 10 years, doesn't compile, no manpage.
> from brad, ok millert beck miod krw igor deraadt (henning@)
dev/microcode
~ aic7xxx/aicasm_gram.y
> Restore missing '(' to allow successful compilation. Bad pyr at . (krw@)
~ aic7xxx/Makefile
> As pointed out by Mickey, "-I/usr/includes" is not required for
> successful compilation of assembler or generating microcode. (krw@)
dev/pci
~ ahci.c ~ files.pci
> pull ahci_attach apart slightly to accommodate attaching ahci(4) to things
> other than pci(4). (dlg@)
~ ahci.c + ahcivar.h
> move ahci_softc and the prototype for ahci_attach into a header so other
> code will be able to see it. (dlg@)
~ files.pci + jmb.c
> jmicron controllers are strange cos they provide both ide and sata support
> on the same pci function. they can be configured to put the different
> support on different pci functions after booting, but that is unreliable
> since the kernel doesnt know enough to be able to configure the interrupts
> properly on this new pci function.
> this adds a "nexus" driver called jmb that will allow two drivers to attach
> to the one pci device. this code already fixes things so ahci can attach to
> the sata stuff. this is more reliable than switch functions on since the
> interrupts on function 0 are configured by the firmware/bios/whatever.
> (dlg@)
~ ahci.c
> dont attach on jmicron parts now that jmb(4) does that for us. (dlg@)
~ jmb.c
> dont enable the second pci function for pciide support. we're going to
> solve this problem a different way now. (dlg@)
~ pci_quirks.c
> dont force probing of high functions on jmicron controllers. we dont enable
> function 1 anymore. (dlg@)
~ ahci.c ~ files.pci
~ jmb.c ~ pciide.c
> kettenis suggested that i can use pci_intr_map twice on the same device
> safely, so i tried it and it worked great. i can reuse the pci_attach_args
> to attach ahci and now pciide to jmb without really modifying either of
> them. lots of code shrinks.
> ok jsg@ (dlg@)
~ jmb.c
> only attach ahci or pciide if the chip can actually support them. deal with
> the JMB368 while here. (dlg@)
~ pcidevs
> new 4965agn product Id. (damien@)
~ pcidevs.h ~ pcidevs_data.h
> sync (damien@)
~ pcidevs
> jmicron have a 2 port sata chip called teh jmb362 (dlg@)
~ pcidevs.h ~ pcidevs_data.h
> regen (dlg@)
~ pcidevs
> oops, i copied too much, fix jmb362 id (dlg@)
~ pcidevs.h ~ pcidevs_data.h
> regen (dlg@)
~ jmb.c
> the jmb362 should work fine (dlg@)
~ jmb.c
> do not blindly configure everything to sit on function 0. jmicron tell me
> that some vendors will ship their chip with two functions enabled, so now
> the code will only configure the functionality that is enabled on the
> current function. two function setups will now work as the oem intended.
> requested by kettenis@ (dlg@)
- ahcivar.h ~ ahci.c
> jmb pretends to be pci now, so i dont need to let it see ahci_softc so it
> can provide its own attach glue to ahci. (dlg@)
~ ahci.c
> join ahci attach code back together into one function. (dlg@)
~ if_bnx.c
> Revert r1.42 of if_bnx.c, "Enable IPv4 transmit TCP/UDP checksum
> offload", and associated man page change. To use IPv4 transmit TCP/UDP
> checksum offloading you must again define BNX_CSUM.
> As requested by mbalmer@ via deraadt@ on suggestion of reyk@ in
> response to PR #5437. (krw@)
~ if_wpi.c
> move the logic of determining whether an extended supported rates IE is
> needed or not to the callers (instead of doing nothing in add_xrates).
> (damien@)
~ if_iwi.c
> don't set IEEE80211_CAPINFO_ESS bit since we're not operating as an AP.
> (damien@)
~ if_iwi.c
> fixes my previous commit.
> the ESS bit must be set in (re)assocation requests. (damien@)
~ if_iwi.c
> typo in an error message.
> reported a while back by Laurence Tratt, reminded more recently by brad@
> (damien@)
~ azalia_codec.c
> Add support for Realtek ALC883. This is the "value" edition of the
> 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 at . (deanna@)
dev/pcmcia
~ if_malo.c
> Make the scan command work, finally. (mglocker@)
~ if_malo.c ~ if_malovar.h
> Process scan command results. Enable 'ifconfig -M'. (mglocker@)
kern
~ kern_sensors.c
> fix a memory leak that was introduced in r1.20 on 2007-06-24T05Z; ok dlg
> (cnst@)
net
~ pf.c
> No m_copyback for ICMP and "other" protocols on rdr/binat.
> Fixes ICMP packet payload corruption on rdr.
> OK henning@, markus@ (mpf@)
~ if.c
> Fix a use after free crash in in_delmulti(). If a interface is detached
> before it is removed from the multicast group in_delmulti() will try to
> access the no longer available ifp.
> We invalidate the ifa_ifp back pointer in the ifa in if_detach() now and
> use
> the ifa_ifp in in_delmulti() instead of the internal inm_ifp. By doing it
> this way we know if the interface was removed.
> This fixes a kernel panic triggered by ospfd and gif(4) tunnels.
> looks good henning@ reyk@ (claudio@)
~ if.c
> btintrq has been removed from bt_input.c, don't reference it here.
> Makes bluetooth build again. ok uwe@ (naddy@)
net80211
~ ieee80211_output.c
> split ieee80211_send_mgmt() like I did for ieee80211_recv_mgmt() (damien@)
~ ieee80211_input.c
> replace some letoh16(*(u_int16_t *)frm) by LE_READ_2(frm)
> for consistency. (damien@)
~ ieee80211.h
> remove a lot of unused #define
> fix a CAPINFO name (damien@)
~ ieee80211_node.c ~ ieee80211_output.c
~ ieee80211_proto.h ~ ieee80211_var.h
> initial bits for proper TIM support. (damien@)
~ ieee80211.h
> add IEEE80211_FC1_PROTECTED flag.
> keep IEEE80211_FC1_WEP for compatibility with pre-RSNA networks. (damien@)
~ ieee80211.h
> fix REASON codes. (damien@)
~ ieee80211_input.c
> split ieee80211_parse_rsn() so the same function can be used
> to parse both WPA1 and RSN (WPA2) IEs.
> rename ieee80211_parse_edca_params_common() into
> ieee80211_parse_edca_params_body() while i'm here. (damien@)
~ ieee80211.h
> add new ieee80211_eapol_key structure (used by the various 802.11i
> key handshakes). (damien@)
~ ieee80211.h
> remove more unused stuff. (damien@)
~ ieee80211.h
> Readd IEEE80211_REASON_RSN_REQUIRED and IEEE80211_REASON_RSN_INCONSISTENT
> userland is using these defines -- unbreaks build. Found by jasper@
> discussed with reyk at . (claudio@)
~ ieee80211.h
> Backout part of 1.20 because IEEE80211_AUTH_ALGORITHM() and friends are
> used
> by hostapd and tcpdump. Now tcpdump and hostapd should build again.
> (claudio@)
~ ieee80211_output.c
> fix SSID IE in the case where HIDENWID is used.
> HIDENWID has been broken from the very beginning. (damien@)
~ ieee80211_output.c
> In ieee80211_getmbuf(), if we need to allocate a mbuf cluster because
> the length is greater than MHLEN, test that the allocation succeeded.
> Otherwise, free the mbuf header and return NULL.
> Callers assume that if the function returns a value != NULL then
> enough space has been allocated. (damien@)
~ ieee80211_output.c
> no TIM in probe reponses. (damien@)
~ ieee80211_output.c
> don't set the IEEE80211_CAPINFO_ESS bit in the Capability Information
> field if we're not operating as an AP (see 7.3.1.4). (damien@)
~ ieee80211_output.c ~ ieee80211_proto.h
> move construction of IEs into individual functions so that we don't
> duplicate the same code multiple times.
> add references to the spec for all these functions.
> fixes beacon_alloc() for FH PHYs as a side-effect. (damien@)
~ ieee80211_input.c
> fix kernel builds with IEEE80211_DEBUG enabled.
> pointed out by claudio@ (damien@)
~ ieee80211_node.h ~ ieee80211_output.c
~ ieee80211_proto.h
> add a function that builds an RSN IE (ieee80211_add_rsn). (damien@)
~ ieee80211.c ~ ieee80211_input.c
~ ieee80211_node.c ~ ieee80211_output.c
~ ieee80211_var.h
> maintain the traffic-indication (TIM) virtual bitmap by defining
> a default ieee80211_set_tim() function that drivers can override
> by setting ic_set_tim. (damien@)
~ ieee80211_var.h
> add RSN flags for ic_caps and ic_flags. (damien@)
~ ieee80211_output.c
> allow USEGROUP as the pairwise cipher for RSN IE.
> add RSN IE to beacons, probe responses and (re)association requests.
> (damien@)
~ ieee80211_input.c
> ignore WMM vendor IEs that are not parameter sets. (damien@)
~ ieee80211.h ~ ieee80211_proto.c
> add subtype "Action" for management frames. (damien@)
~ ieee80211.h ~ ieee80211_crypto.c
> add the pseudo-random function (PRF) and various key derivation
> functions defined in 802.11i. (damien@)
~ ieee80211_crypto.c
> add myself to the copyright list. (damien@)
~ ieee80211_output.c ~ ieee80211_proto.h
~ ieee80211_var.h
> split ieee80211_add_rsn() so that the code can be reused for
> vendor-specific IE. (damien@)
~ ieee80211_output.c
> move the logic of determining whether an extended supported rates IE is
> needed or not to the callers (instead of doing nothing in add_xrates).
> (damien@)
~ ieee80211.h
> some HT frames may have an additional HT Control field.
> 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). (damien@)
~ ieee80211_output.c
> always set the IEEE80211_CAPINFO_ESS bit in association requests.
> fixes my 1.36 commit (the bit should not be set for non-AP STA
> only in Probe Responses and Beacons). (damien@)
~ 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@)
netinet
~ in.c
> Fix a use after free crash in in_delmulti(). If a interface is detached
> before it is removed from the multicast group in_delmulti() will try to
> access the no longer available ifp.
> We invalidate the ifa_ifp back pointer in the ifa in if_detach() now and
> use
> the ifa_ifp in in_delmulti() instead of the internal inm_ifp. By doing it
> this way we know if the interface was removed.
> This fixes a kernel panic triggered by ospfd and gif(4) tunnels.
> looks good henning@ reyk@ (claudio@)
sys
~ socketvar.h
> From FreeBSD:
> Fix a bug in sblock() that has existed since revision 1.1 from BSD:
> correctly return an error if M_NOWAIT is passed to sblock() and the
> operation might block. This remarkably subtle macro bug appears to
> be responsible for quite a few undiagnosed socket buffer corruption
> and mbuf-related kernel panics.
> "diff is correct" todd@, "should go in asap" markus@ (dim@)
== usr.bin =========================================================== 09/10 ==
http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin
cvs
~ edit.c
> Sync time buffer size; missed in previous commit. (xsa@)
~ status.c
> On the server side, in a remote setup, do not display timestamp.
> OK joris at . (xsa@)
~ checkout.c ~ client.c
~ cvs.h ~ entries.c
~ file.c ~ history.c
~ rcs.c ~ remote.h
~ repository.c ~ server.c
~ update.c ~ util.c
~ util.h
> Rework the way opencvs works in relation to files in the Attic/:
> Previously, files in the 'Attic/' were linked into our filelist as being
> 'Attic/filename,v' this caused unneeded stress on certain functions
> like cvs_file_classify() who had to do pointer voodoo to split out
> the 'Attic/' part and do other very weird stuff to normalize the pathname
> of these files.
> Instead, we handle these files early in the start when we
> build the fileslist in cvs_repository_getdir(). When encountering
> the 'Attic/' directory, we recurse in it if required but instead of
> using the 'Attic/' directory component as our base directory we stick
> with the directory name where 'Attic/' resides in, resulting in the
> correct filename while maintaining the correct RCSpath for the file.
> This made the following things a lot easier:
> (and in most cases actually fixed the below points)
> - status with files in Attic/.
> - checking out HEAD repositories with files in Attic/.
> - checking out repositories with -rTAG.
> - updating with -rTAG.
> and as an added bonus the following now also works:
> - correctly creating CVS/Tag in both local and remote mode thus
> allowing update/status/and more to work correctly with the tagged tree.
> (thanks to the correct handling of -rTAG cases).
> - resetting tags with opencvs -A properly works too now.
> This is a major step forward into the usability
> of OpenCVS when it comes to maintaining multiple tagged trees, the next
> logical step would be to fix commiting to branches.
> enjoy you -stable cowards.
> tested by myself, xsa, niallo and ckuethe
> thanks guys! (joris@)
~ update.c
> fix a "Device busy" error in server mode. found by ckuethe@ (joris@)
make
~ Makefile ~ cond.c
~ cond.h ~ cond_int.h
~ defines.h ~ generate.c
~ main.c ~ make.1
~ parse.c ~ parsevar.c
~ parsevar.h ~ var.c
~ var.h
> A set of big related changes. okay millert@, tested further by kettenis@
> 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. (espie@)
~ var.c
> missed part: add check to avoid poison checking inexistent local vars,
> and do for loops for real. (espie@)
~ parsevar.c ~ var.c
~ var.h
> rename variable to errorIsOkay. What does oldVars mean anyway ? (espie@)
passwd
~ pwd_gensalt.c
> dont inlucde <sys/syslimits.h> directly.
> no binary change
> ok millert@ (thib@)
rcs
~ ci.c ~ co.c
~ diff.c ~ diff.h
~ diff3.c ~ rcs.c
~ rcsdiff.c
> Rename rcs_diffreg() to diffreg().
> OK joris@ (ray@)
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@)
whois
~ whois.c
> Remove unused variable; Lawrence Teo (millert@)
== usr.sbin ========================================================== 10/10 ==
http://www.openbsd.org/cgi-bin/cvsweb/src/usr.sbin
hoststated
~ hoststated.c ~ parse.y
> use a more traditional while() instead of for() for getopt().
> sync usage() to the man page.
> format string fixes.
> complain about failed calloc()'s instead of exiting silently.
> ok pry@,reyk@ (thib@)
quot
~ quot.c
> Add ffs2 support; from FreeBSD. OK deraadt@ (millert@)
tcpdrop
~ tcpdrop.8
> Add HISTORY and AUTHORS sections. OK jmc at . (xsa@)
tcpdump
~ print-802_11.c
> Display payload for DS to DS and NO DS traffic.
> ok reyk@, looks ok damien@ (canacar@)
===============================================================================
More information about the owc
mailing list