[owc] Weekly src changes ending 2006-09-17
OWC
auto at squish.net
Mon Sep 18 08:05:20 BST 2006
OpenBSD src changes summary for 2006-09-10 to 2006-09-17 inclusive
==================================================================
distrib/notes distrib/sets
etc/ipsec.conf include/stdlib.h
lib/libc libexec/login_radius
regress/usr.bin sbin/ipsecctl
sbin/isakmpd sbin/nmeaattach
sbin/scan_ffs share/man
sys/arch/alpha/alpha sys/arch/amd64/amd64
sys/arch/arm/arm sys/arch/armish/dev
sys/arch/aviion/aviion sys/arch/hppa/hppa
sys/arch/hppa64/hppa64 sys/arch/i386/conf
sys/arch/i386/i386 sys/arch/mac68k/dev
sys/arch/mac68k/include sys/arch/mac68k/mac68k
sys/arch/macppc/macppc sys/arch/mips64/mips64
sys/arch/mvmeppc/mvmeppc sys/arch/solbourne/include
sys/arch/sparc/dev sys/arch/sparc/include
sys/conf sys/dev
sys/dev/ic sys/dev/mii
sys/dev/pci sys/dev/usb
usr.bin/make usr.bin/ssh
usr.bin/top usr.bin/whois
usr.sbin/bgpd usr.sbin/pkg_add
usr.sbin/rdate usr.sbin/sasyncd
usr.sbin/sensorsd usr.sbin/syslogd
== distrib =========================================================== 01/11 ==
http://www.openbsd.org/cgi-bin/cvsweb/src/distrib
notes
~ armish/prep
> Installation information for armish (thecus/iodata) kinda crude but
> should have most of the info. (drahn@)
sets
~ 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.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@)
== etc =============================================================== 02/11 ==
http://www.openbsd.org/cgi-bin/cvsweb/src/etc
ipsec.conf
~ ipsec.conf
> a more useable example; fix comments; ok jmc@ (hshoexer@)
== include =========================================================== 03/11 ==
http://www.openbsd.org/cgi-bin/cvsweb/src/include
stdlib.h
~ stdlib.h
> add lldiv prototype; ok deraadt@ (djm@)
== lib =============================================================== 04/11 ==
http://www.openbsd.org/cgi-bin/cvsweb/src/lib
libc
~ sys/intro.2
> better desciption of ESRCH; prompted by jmc@; ok miod@ jmc@ (otto@)
~ gen/sysctl.3
> sysctl(3) can return ESRCH; noted by Kristaps Johnson; ok miod@ jmc@
> (otto@)
~ rpc/clnt_perror.c
> dont put two '\n' at the end of the string returnd by clnt_sperror()
> ok deraadt@ (thib@)
== libexec =========================================================== 05/11 ==
http://www.openbsd.org/cgi-bin/cvsweb/src/libexec
login_radius
~ raddauth.c
> Make array static, since an error message is sometimes stored there and
> returned.
> Fixes PR 5236.
> OK otto@, deraadt@, and millert at .ay@)
== regress =========================================================== 06/11 ==
http://www.openbsd.org/cgi-bin/cvsweb/src/regress
usr.bin
~ make/Makefile + make/mk24
> fix badly named regress, and add suffixes rules. (espie@)
== sbin ============================================================== 07/11 ==
http://www.openbsd.org/cgi-bin/cvsweb/src/sbin
ipsecctl
~ ipsecctl.8
> - document how to set ipsec stuff running at boot
> - remove hazy tcp md5 blurb
> ok hshoexer (jmc@)
~ ipsec.conf.5
> improvememnts for `local', `peer', and `psk'; ok hshoexer (jmc@)
~ ipsec.conf.5
> add a section on packet filtering ipsec traffic;
> input henning markus mcbride
> ok mcbride hshoexer (jmc@)
~ ipsec.conf.5
> no need to Xr isakmpd.conf.5; (jmc@)
~ ipsec.conf.5
> note that enc traffic is unecrypted; from mpf (jmc@)
~ ipsec.conf.5
> use "proto ipencap" for the gateway filter rules;
> pointed out by msf; explained by markus (jmc@)
~ ipsec.conf.5
> simplify an example. ok jmc@ (hshoexer@)
~ ipsec.conf.5
> add in filtering rules to allow keying daemons to talk;
> help/ok markus (jmc@)
~ ipsec.conf.5
> clarification; (jmc@)
~ ipsec.conf.5
> reorganise the sections to make more sense;
> ok hshoexer ho (jmc@)
isakmpd
~ isakmpd.conf.5
> Remove "Delete-SAs" config option. This was needed for interaction
> with sasyncd(8). Now sasyncd(8) controls isakmpd(8) regarding SA
> deletion so this option is obsolete.
> ok mpf jmc (hshoexer@)
nmeaattach
~ nmeaattach.c
> correct mode for open(). (mbalmer@)
scan_ffs
~ scan_ffs.8
> - sort options
> - no need for .Pp between list items (jmc@)
== share ============================================================= 08/11 ==
http://www.openbsd.org/cgi-bin/cvsweb/src/share
man
~ man4/isa.4 ~ man4/pci.4
~ man4/sbus.4
> various missing entries, and some Nd sync; ok miod (jmc@)
~ man4/man4.alpha/apecs.4 ~ man4/man4.alpha/cia.4
~ man4/man4.alpha/irongate.4 ~ man4/man4.alpha/lca.4
~ man4/man4.alpha/tcasic.4 ~ man4/man4.alpha/tsc.4
> comment out references to non-existent mainbus and tc pages; ok miod (jmc@)
~ man5/pf.conf.5
> for apps which use interface groups, point to the section of
> ifconfig(8) where they are explained;
> ok mcbride mpf henning (jmc@)
~ man4/sbus.4
> sync the stp entry; (jmc@)
~ man4/pcmcia.4
> sync the wireless devices; (jmc@)
~ man4/umsm.4
> missing word; from matthew clarke (jmc@)
~ man4/man4.macppc/intro.4 ~ man4/man4.macppc/macobio.4
~ man4/man4.macppc/mediabay.4
> list macobio devices in the body of the page, rather than SEE ALSO;
> some .Nd sync;
> ok miod (jmc@)
~ man4/man4.mac68k/obio.4
> move the device list into the main body; (jmc@)
~ man4/man4.mac68k/adb.4
> move the device list into the main body; (jmc@)
~ man4/cdce.4
> Morotola -> Motorola ;)
> from john danks (jmc@)
~ man4/rum.4
> Add another two rum products.
> ok jmc@ (jsg@)
~ man4/pciide.4
> Match VIA VT8237A SATA which while untested should act like
> the older VIA SATA devices for our purposes going by FreeBSD.
> ok deraadt@ (jsg@)
~ man4/pgt.4
> Bring pgt(4) in a working state. Much work also done by claudio at . > ok deraadt@ (mglocker@)
~ man4/Makefile + man4/uath.4
> Initial import of uath(4), a driver for Atheros USB2.0 AR5005UG/AR5005UX
> chipsets. Based on a black-box analysis of the Windows binary driver.
> Requires a firmware that is not freely redistributable (see man uath).
> The driver handles both pre- and post-firmware devices.
> Still a bit experimental but Tx/Rx works great in BSS mode (on i386).
> No 802.11a, IBSS, or HostAP modes yet but there's more to come.
> Great thanks to jsg@ for digging the USB IDs out of the Windows driver.
> Committed over a D-Link DWL-G132. (damien@)
~ man4/usb.4
> Xr uath (deraadt@)
~ man4/usb.4
> missing full stop; (jmc@)
~ man4/man4.sparc64/power.4
> this does not always power down, refer to rc.shutdown(8)
> ok jason (steven@)
~ man4/man4.sparc64/Makefile ~ man4/man4.sparc64/ebus.4
> put power.4 back into build (steven@)
~ man7/ports.7
> fix documentation (espie@)
== sys =============================================================== 09/11 ==
http://www.openbsd.org/cgi-bin/cvsweb/src/sys
arch/alpha/alpha
~ disksubr.c
> Revert new check for DOS partitions running past d_secperunit (e.g.
> r1.54 of i386/disksubr.c). The check incorrectly handled extended
> partitions. Possibly a symptom of a deeper problem with extended
> partition offsets that will be addressed post-4.0.
> Problem reported/fix tested by A. Velichinsky, cause diagnosed by
> otto at . > ok pedro@ mickey@ miod@ deraadt@ (krw@)
arch/amd64/amd64
~ disksubr.c
> Revert new check for DOS partitions running past d_secperunit (e.g.
> r1.54 of i386/disksubr.c). The check incorrectly handled extended
> partitions. Possibly a symptom of a deeper problem with extended
> partition offsets that will be addressed post-4.0.
> Problem reported/fix tested by A. Velichinsky, cause diagnosed by
> otto at . > ok pedro@ mickey@ miod@ deraadt@ (krw@)
arch/arm/arm
~ disksubr.c
> Revert new check for DOS partitions running past d_secperunit (e.g.
> r1.54 of i386/disksubr.c). The check incorrectly handled extended
> partitions. Possibly a symptom of a deeper problem with extended
> partition offsets that will be addressed post-4.0.
> Problem reported/fix tested by A. Velichinsky, cause diagnosed by
> otto at . > ok pedro@ mickey@ miod@ deraadt@ (krw@)
arch/armish/dev
~ i80321_mainbus.c
> Reset the sysfail led on thecus, so that it doesn't blink
> (machines with older firmware). yes deraadt@ (drahn@)
arch/aviion/aviion
~ disksubr.c
> Revert new check for DOS partitions running past d_secperunit (e.g.
> r1.54 of i386/disksubr.c). The check incorrectly handled extended
> partitions. Possibly a symptom of a deeper problem with extended
> partition offsets that will be addressed post-4.0.
> Problem reported/fix tested by A. Velichinsky, cause diagnosed by
> otto at . > ok pedro@ mickey@ miod@ deraadt@ (krw@)
arch/hppa/hppa
~ disksubr.c
> Revert new check for DOS partitions running past d_secperunit (e.g.
> r1.54 of i386/disksubr.c). The check incorrectly handled extended
> partitions. Possibly a symptom of a deeper problem with extended
> partition offsets that will be addressed post-4.0.
> Problem reported/fix tested by A. Velichinsky, cause diagnosed by
> otto at . > ok pedro@ mickey@ miod@ deraadt@ (krw@)
arch/hppa64/hppa64
~ disksubr.c
> Revert new check for DOS partitions running past d_secperunit (e.g.
> r1.54 of i386/disksubr.c). The check incorrectly handled extended
> partitions. Possibly a symptom of a deeper problem with extended
> partition offsets that will be addressed post-4.0.
> Problem reported/fix tested by A. Velichinsky, cause diagnosed by
> otto at . > ok pedro@ mickey@ miod@ deraadt@ (krw@)
arch/i386/conf
~ GENERIC
> enable pgt, even if still a wee bit buggy (deraadt@)
~ GENERIC
> Initial import of uath(4), a driver for Atheros USB2.0 AR5005UG/AR5005UX
> chipsets. Based on a black-box analysis of the Windows binary driver.
> Requires a firmware that is not freely redistributable (see man uath).
> The driver handles both pre- and post-firmware devices.
> Still a bit experimental but Tx/Rx works great in BSS mode (on i386).
> No 802.11a, IBSS, or HostAP modes yet but there's more to come.
> Great thanks to jsg@ for digging the USB IDs out of the Windows driver.
> Committed over a D-Link DWL-G132. (damien@)
arch/i386/i386
~ disksubr.c
> Revert new check for DOS partitions running past d_secperunit (e.g.
> r1.54 of i386/disksubr.c). The check incorrectly handled extended
> partitions. Possibly a symptom of a deeper problem with extended
> partition offsets that will be addressed post-4.0.
> Problem reported/fix tested by A. Velichinsky, cause diagnosed by
> otto at . > ok pedro@ mickey@ miod@ deraadt@ (krw@)
arch/mac68k/dev
~ asc.c
> Do not use bus_space_write_multi and happily write to NULL and die, when
> bus_space_set_region was intended. ok deraadt@ (miod@)
arch/mac68k/include
~ vmparam.h
> Crank VM_PHYSSEG_MAX to 8; while we do not expect more than 2 ranges in the
> worst case, the Booter will happily feed us up to 8 ranges, so we have to
> get prepared. (miod@)
arch/mac68k/mac68k
~ clock.c
> Shorten the area where interrupts are enabled to calibrate delay(), and run
> this at splclock() instead of spl0(), so that potential spurious network or
> scsi interrupts on machines running in A/UX interrupt mode do not hang
> there. (miod@)
arch/macppc/macppc
~ disksubr.c
> Revert new check for DOS partitions running past d_secperunit (e.g.
> r1.54 of i386/disksubr.c). The check incorrectly handled extended
> partitions. Possibly a symptom of a deeper problem with extended
> partition offsets that will be addressed post-4.0.
> Problem reported/fix tested by A. Velichinsky, cause diagnosed by
> otto at . > ok pedro@ mickey@ miod@ deraadt@ (krw@)
arch/mips64/mips64
~ disksubr.c
> Revert new check for DOS partitions running past d_secperunit (e.g.
> r1.54 of i386/disksubr.c). The check incorrectly handled extended
> partitions. Possibly a symptom of a deeper problem with extended
> partition offsets that will be addressed post-4.0.
> Problem reported/fix tested by A. Velichinsky, cause diagnosed by
> otto at . > ok pedro@ mickey@ miod@ deraadt@ (krw@)
arch/mvmeppc/mvmeppc
~ disksubr.c
> Revert new check for DOS partitions running past d_secperunit (e.g.
> r1.54 of i386/disksubr.c). The check incorrectly handled extended
> partitions. Possibly a symptom of a deeper problem with extended
> partition offsets that will be addressed post-4.0.
> Problem reported/fix tested by A. Velichinsky, cause diagnosed by
> otto at . > ok pedro@ mickey@ miod@ deraadt@ (krw@)
arch/solbourne/include
- remote-sl.h
> Time to leave the bus. (miod@)
arch/sparc/dev
~ tctrl.c
> No need to check for both cd_devs != NULL && cd_ndevs != 0, since the
> latter
> implies the former; no functional change. (miod@)
arch/sparc/include
- remote-sl.h
> Time to leave the bus. (miod@)
conf
~ newvers.sh
> moving to 4.1-current (deraadt@)
~ newvers.sh
> 4.0-current. yes deraadt (steven@)
dev
~ ipmi.c
> Move get ipmi id into the match function. This prevents attach from being
> called whenever there is no BMC and hence suppresses a ugly message when a
> bios lied that it had ipmi.
> tested beck@ (marco@)
dev/ic
~ re.c
> Kettenis's polished version of diff to preserve the mac address on thecus,
> if the hardware mac is a specific number (hardware doesn't provide
> unique mac addresses except in redboot fconfig data). yes deraadt@ (drahn@)
~ ciss.c
> Reserve some commands slot for bioctl/sensorsd so ciss doesn't crash
> under load when bioctl/sensorsd are active. Better fix post-4.0.
> Problem found, fix tested by Johan Mson Lindman.
> ok dlg@ marco@ mickey@ deraadt@ (krw@)
~ mpi.c
> rework the handling of the errors coming off the hardware at the bottom of
> mpi_scsi_cmd_done. this makes it more appropriate for our midlayer.
> ok beck@ deraadt@ (dlg@)
~ pgt.c ~ pgtreg.h
~ pgtvar.h
> Bring pgt(4) in a working state. Much work also done by claudio at . > ok deraadt@ (mglocker@)
~ pgt.c
> Don't panic if firmware files are not in place. Ja ja ja ja claudio at . > ok deraadt@ (mglocker@)
~ dp8390.c
> set the IFCAP_VLAN_MTU flag.
> From bouyer at NetBSDrad@)
~ re.c
> Re-add the link state check to re_start(), which was added in rev 1.31 and
> removed in rev 1.43 just before release, as a workaround for a link state
> issue found with the 8139C+ chips. Due to the different bit layout used by
> the 8139C+ chips rlphy(4) was not reporting the correct link status.
> Fix from yongary at FreeBSD > Tested by maja@ (brad@)
dev/mii
~ rgephy.c
> do not fill in the anar for the manual 1000baseT media setting case.
> (brad@)
dev/pci
~ pcidevs
> VIA VT8237A SATA
> ok deraadt@ (jsg@)
~ pcidevs.h ~ pcidevs_data.h
> regen (jsg@)
~ pciide.c
> Match VIA VT8237A SATA which while untested should act like
> the older VIA SATA devices for our purposes going by FreeBSD.
> ok deraadt@ (jsg@)
~ pciide.c
> Support for Intel 6321ESB SATA. Tested on one of cloder's new
> Xeon systems.
> ok cloder@ deraadt@ (jsg@)
~ if_msk.c
> Asking for HWERR interrupts and not acknowledging them leads
> to interrupt storms on several machines, so don't ask.
> Diff from kettenis@ who can't commit at the moment.
> ok deraadt@ (jsg@)
~ if_pgt_pci.c
> Bring pgt(4) in a working state. Much work also done by claudio at . > ok deraadt@ (mglocker@)
~ if_bge.c
> Get subvendor from the PROM instead of the PCI configuration space, since
> the
> latter gets reset if you netboot from an interface.
> ok miod@, brad@, deraadt@ (kettenis@)
~ if_bge.c
> defer establishing the interrupt until later during attach, to let the
> driver finish initializing. fixes a panic in bge_intr() upon bootup on
> some systems running non-MP kernels.
> Issue reported/fix tested by jolan@, also mentioned in PR 5114 though the
> issue is intermisttent on the IBM e326m. (brad@)
~ if_bge.c ~ if_bgereg.h
> - correct the firmware synchronization in bge_reset(), this
> eliminates firmware timeouts for the BCM5752 as the hw
> firmware was coming up too fast for the driver.
> - remove the redundant firmware check in bge_chipinit().
> Tested by pedro la peu <pedro at am-gen dot org> on an IBM ThinksPpad Z61m
> with a BCM5752, as well as the 5700/5703/5704 and 5750.
> The initial diff for bge_reset() and other information from
> David Christensen <davidch at broadcom dot com>. (brad@)
~ if_em.c ~ if_em.h
> revert revision 1.131, the code in question was later found to not ensure
> the proper alignment requirement for the VLAN layer on strict alignment
> architectures. This would result in Jumbo's working fine as long as VLANs
> were not in use. If VLANs were in use and a packet comes in with a size
> of 2046 bytes or larger, it would be corrupted as it came up through the
> VLAN layer. Also check the hw max frame size, instead of the MTU, so the
> alignment fixup is done as appropriate.
> Fixes PR 5185.
> Tested by Rui DeSousa with macppc and myself with alpha/sparc64. (brad@)
~ if_em.c
TAGGED OPENBSD_3_9
> MFC:
> Fix by brad@
> revert revision 1.131, the code in question was later found to not ensure
> the proper alignment requirement for the VLAN layer on strict alignment
> architectures. This would result in Jumbo's working fine as long as VLANs
> were not in use. If VLANs were in use and a packet comes in with a size
> of 2046 bytes or larger, it would be corrupted as it came up through the
> VLAN layer. Also check the hw max frame size, instead of the MTU, so the
> alignment fixup is done as appropriate.
> Fixes PR 5185.
> Tested by Rui DeSousa with macppc and myself with alpha/sparc64. (brad@)
~ if_em.c ~ if_em.h
TAGGED OPENBSD_3_9
> Overhaul RX path to recover from mbuf cluster allocation failure.
> - Create a spare DMA map for RX handler to recover from
> bus_dmamap_load() failure.
> - Make sure to update status bit in RX descriptors even if we failed
> to allocate a new buffer.
> - Don't blindly unload DMA map. Reuse loaded DMA map if received
> packet has errors.
> From yongari at FreeBSD > Tested by myself and a number of end-users on i386/amd64/sparc64 (brad@)
~ if_em.c
TAGGED OPENBSD_3_9
> Try to reclaim the TX descriptors in the watchdog handler before actually
> issuing a watchdog reset of the interface.
> From yongari at FreeBSDrad@)
~ if_bge.c ~ if_bgereg.h
TAGGED OPENBSD_3_9
> Readd the Dell PHY LED setup workaround and the Jumbo capability flag.
> (brad@)
~ if_bge.c ~ if_bgereg.h
TAGGED OPENBSD_3_9
> add a flag to indicate which boards are only capable of 10/100 modes of
> operation. (brad@)
dev/usb
~ files.usb ~ usbdevs
+ if_uath.c + if_uathreg.h
+ if_uathvar.h
> Initial import of uath(4), a driver for Atheros USB2.0 AR5005UG/AR5005UX
> chipsets. Based on a black-box analysis of the Windows binary driver.
> Requires a firmware that is not freely redistributable (see man uath).
> The driver handles both pre- and post-firmware devices.
> Still a bit experimental but Tx/Rx works great in BSS mode (on i386).
> No 802.11a, IBSS, or HostAP modes yet but there's more to come.
> Great thanks to jsg@ for digging the USB IDs out of the Windows driver.
> Committed over a D-Link DWL-G132. (damien@)
~ usbdevs.h ~ usbdevs_data.h
> sync (uath) (damien@)
~ ueagle.c
> fix a buggy printf.
> in case something wrong happens in the Tx path, don't free a mbuf that
> is left in if_snd.
> ok deraadt@ (damien@)
~ if_uath.c
> indent (damien@)
~ usbdevs ~ if_uath.c
> more uath(4) usb ids.
> from jsg@ (damien@)
~ usbdevs.h ~ usbdevs_data.h
> sync (uath) (damien@)
~ if_uath.c ~ usbdevs
> add new uath(4) ids and fix existing ones.
> ok deraadt@ (damien@)
~ usbdevs.h ~ usbdevs_data.h
> sync (uath) (damien@)
~ if_uathvar.h
> add new uath(4) ids and fix existing ones.
> ok deraadt@ (damien@)
== usr.bin =========================================================== 10/11 ==
http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin
make
~ suff.c
> on .SUFFIXES: <empty>
> also reset one-suffix rules. (espie@)
ssh
~ deattack.c ~ deattack.h
~ packet.c
> limit maximum work performed by the CRC compensation attack detector,
> problem reported by Tavis Ormandy, Google Security Team;
> ok markus@ deraadt@ (djm@)
top
~ machine.c
> Plug memory leak.
> From Henrik Gustafsson <openbsd at fnord dot se>.
> OK miod@ and deraadt@ (ray@)
whois
~ whois.c
> when looking up ASNs (ASxxxx), select radb (henning@)
== usr.sbin ========================================================== 11/11 ==
http://www.openbsd.org/cgi-bin/cvsweb/src/usr.sbin
bgpd
~ bgpd.conf.5
> for apps which use interface groups, point to the section of
> ifconfig(8) where they are explained;
> ok mcbride mpf henning (jmc@)
pkg_add
~ OpenBSD/PackageRepository.pm
> fix error message parsing, okay deraadt@ (espie@)
rdate
~ ntp.c
> Make rdate ignore ntp responses with ALARM status.
> "yeah..." henning@ (ckuethe@)
sasyncd
~ sasyncd.conf.5
> for apps which use interface groups, point to the section of
> ifconfig(8) where they are explained;
> ok mcbride mpf henning (jmc@)
~ carp.c
> Only interpret link state routing messages for the monitored carp
> interface.
> memcpy the if_msghdr to avoid alignment problems.
> OK hshoexer@, miod@, deraadt@ (mpf@)
sensorsd
~ sensorsd.c
> sync printing w/ sysctl and also add missing sensor types to the conf
> parser; deraadt@ ok (mickey@)
syslogd
~ syslogd.c
> check that stdio file descriptors are actually closed before clobbering
> them, following an identical change in openssh (djm@)
===============================================================================
More information about the owc
mailing list