[owc] Weekly src changes ending 2006-12-10
OWC
auto at squish.net
Mon Dec 11 07:18:22 GMT 2006
OpenBSD src changes summary for 2006-12-03 to 2006-12-10 inclusive
==================================================================
distrib/notes distrib/sets
lib/libc libexec/spamd
libexec/tftpd sbin/brconfig
sbin/fdisk sbin/ipsecctl
sbin/isakmpd sbin/lmccontrol
sbin/mount sbin/pflogd
sbin/sysctl share/man
sys/arch/amd64/amd64 sys/arch/amd64/conf
sys/arch/hppa/gsc sys/arch/i386/i386
sys/arch/mac68k/dev sys/arch/macppc/conf
sys/arch/macppc/dev sys/arch/macppc/pci
sys/arch/macppc/stand sys/arch/macppc/stand/boot.mac
sys/arch/macppc/stand/ofwboot sys/arch/sh/sh
sys/arch/sparc/conf sys/arch/sparc/dev
sys/arch/sparc/include sys/arch/sparc/sparc
sys/arch/sparc64/conf sys/arch/sparc64/dev
sys/arch/zaurus/conf sys/conf
sys/dev/acpi sys/dev/cardbus
sys/dev/ic sys/dev/microcode
sys/dev/pci sys/dev/pckbc
sys/dev/sbus sys/dev/usb
sys/dev/wscons sys/kern
sys/net sys/netinet
sys/netinet6 sys/nfs
sys/sys usr.bin/cvs
usr.bin/getconf usr.bin/infocmp
usr.bin/less usr.bin/lex
usr.bin/pkg-config usr.bin/sectok
usr.bin/sort usr.sbin/bgpd
usr.sbin/config usr.sbin/dvmrpd
usr.sbin/ospfd usr.sbin/pkg_add
usr.sbin/portmap usr.sbin/spamdb
usr.sbin/tcpdump
== distrib =========================================================== 01/08 ==
http://www.openbsd.org/cgi-bin/cvsweb/src/distrib
notes
~ armish/prep
> Mention that the jumper must be moved to J4 on Thecus N2100. (drahn@)
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.cats
~ lists/base/md.hp300 ~ lists/base/md.hppa
~ lists/base/md.hppa64 ~ lists/base/md.i386
~ lists/base/md.mac68k ~ lists/base/md.macppc
~ lists/base/md.mvme68k ~ lists/base/md.mvmeppc
~ lists/base/md.sgi ~ lists/base/md.sparc
~ lists/base/md.sparc64 ~ lists/base/md.zaurus
> sync (deraadt@)
~ 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/man/mi
> sync (deraadt@)
~ maketars
> sort the sets to make sure that shared libraries are early in the sets, to
> avoid various "interrupt while upgrading and you are hosed" problems.
> prodded by drahn, this will save kitella from doing 6 hour drives, ok espie
> (deraadt@)
== lib =============================================================== 02/08 ==
http://www.openbsd.org/cgi-bin/cvsweb/src/lib
libc
~ gen/confstr.3 ~ gen/confstr.c
> confstr() should return 0, not (size_t)-1, on errors; from Guy Harris.
> ok millert@ and jmc@ for the man page bit. (otto@)
~ net/ip6opt.c
> return is not a function. (cosmetic) (itojun@)
~ shlib_version ~ net/Makefile.inc
~ net/inet6_option_space.3 ~ net/inet6_rthdr_space.3
~ net/ip6opt.c ~ net/rthdr.c
+ net/inet6_opt_init.3 + net/inet6_rth_space.3
> switch IPv6 advanced API from RFC2292 to RFC3542 (2292 is superseded by
> 3542).
> the kernel still handles RFC2292 set/getsockopts, so that compiled binary
> has no trouble running. userland sees RFC3542 symbols only on header file
> so new code has to use RFC3542 API.
> bump libc shlib minor for function additions.
> tested on i386/amd64 by jmc, i386 by brad. checked by deraadt. (itojun@)
~ net/inet6_opt_init.3
> various tweaks; my apologies to itojun for forgetting to
> send him feedback for these (jmc@)
~ net/inet6_rth_space.3
> various tweaks; (jmc@)
~ net/inet6_option_space.3 ~ net/inet6_rthdr_space.3
> tweak the text on deprecated functions, after some help from tom; (jmc@)
== libexec =========================================================== 03/08 ==
http://www.openbsd.org/cgi-bin/cvsweb/src/libexec
spamd
~ grey.c
> check exit status of the pfctl command executed. ok beck@ (otto@)
tftpd
~ tftpd.c
> IPV6_RECVDSTADDR is not standard. use more standard IPV6_PKTINFO.
> also prepare for RFC2292->RFC3542 switch (IPV6_RECVPKTINFO).
> glocker ok (he tested), deraadt also looked at (itojun@)
== sbin ============================================================== 04/08 ==
http://www.openbsd.org/cgi-bin/cvsweb/src/sbin
brconfig
~ brconfig.c ~ brconfig.8
> Add Rapid Spanning Tree Protocol support (802.1d-2004) based on work
> by Andrew Thompson (thompsa at freebsd.orgThe local changes include
> adoption to our bridge code, reduced stack usage and many other bits.
> If stp is enabled, RSTP will now be used by default.
> Thanks for help from Andrew.
> This code has been in snaps for while now, commit encouraged by deraadt@
> (reyk@)
~ brconfig.8
> remove extra dot; from jared r r spiegel (jmc@)
fdisk
~ disk.c ~ mbr.c
> Read/write device sectors rather than assuming sector size ==
> DEV_BSIZE. Simply extract/insert the desired MBR from/into the first
> DEV_BSIZE bytes of the sector. Makes fdisk work with devices having a
> sector size different from DEV_BSIZE (512 bytes). e.g. 2048 byte
> sector MP3 devices. Original diff from weingart at . > ok pedro@ deraadt@ weingart@ (krw@)
ipsecctl
~ ipsec.conf.5
> SAD -> SADB; ok hshoexer (jmc@)
isakmpd
~ message.c
> Don't leak message structures, when we see unsupported payloads
> or if the payload node allocation fails. Also adjust a comment to
> make it more clear, who's responsible for freeing the message
> structs. Input from cloder at . > OK hshoexer@ (moritz@)
~ isakmpd.8
> some carp/sasyncd bits from msf and myself;
> ok mpf (jmc@)
~ message.c
> plug memleak, noticed by jesus at mxtelecom.com > ok moritz@, tested by jesus at mxtelecom.comhanks!) (hshoexer@)
lmccontrol
~ lmccontrol.c
> typo; from Daniel Matic <maticd at gmail.com> (jcs@)
mount
~ mount.c
> print readdirplus (rdplus) info for nfs mounts.
> ok pedro@ (thib@)
pflogd
~ pflogd.8
> style (mk@)
~ pflogd.8
> state that if the log file is bad, it is first moved out of the way. if
> that fails, then logging is suspended. (joel@)
sysctl
~ sysctl.8
> retreive -> retrieve; (jmc@)
== share ============================================================= 05/08 ==
http://www.openbsd.org/cgi-bin/cvsweb/src/share
man
~ man4/ueagle.4
> add link to external firmware package. (damien@)
~ man4/man4.hppa/pdc.4
> various typos; from daniel matic (jmc@)
~ man7/ports.7
> document FETCH_PACKAGES; from marcus popp
> ok espie (jmc@)
~ man4/pppoe.4
> wrap authname and authkey args in quotes to prevent problems
> when using special chars;
> from andreas bihlmaier (jmc@)
~ man4/rum.4
> add Sweex LW053 to the list of supported hardware.
> reported to work by Johan Torin. (damien@)
~ man7/ports.7
> - Fix typos.
> - Document UPDATE_COOKIES_DIR.
> - UPDATE_COOKIES_DIR needs to be set for using a read-only ports tree.
> ok espie@ (bernd@)
~ man4/pckbd.4 ~ man4/ukbd.4
~ man4/man4.hppa/gsckbd.4
> add dutch kbd map to listings (otto@)
~ man4/uath.4 ~ man4/ath.4
> update url to atheros customer products database. (damien@)
~ man4/ath.4 ~ man4/uath.4
> shorter url. (damien@)
~ man4/pgt.4
> The Zyxel ZyAIR G-100 which michele@ gave me at OpenCON just ... works,
> so add it to the supported hardware section.
> Want it back michele? :) (mglocker@)
~ man4/sf.4
> update for new driver; remove diagnostic section, add bugs, bump date
> (martin@)
~ man4/sf.4
> fix the .An line; (jmc@)
~ man4/ral.4 ~ man4/rum.4
> http://www.ralinktech.com/ domain name is for sale.
> use official url instead: http://www.ralinktech.com.tw/ (damien@)
~ man4/ubsa.4
> add Novatel Wireless Merlin U740 to the list of supported adapters (fkr@)
~ man4/ral.4
> +Surecom EP-9321-g1.
> from www pages; (jmc@)
~ man4/ral.4
> +Compex WL54.
> from www pages; (jmc@)
~ man4/sk.4
> Add the Broadcom BCM5787F PCI id.
> Add D-Link DGE-560SX and another Marvell Yukon (unknown model) PCI ids.
> From the Linux sky2 driver via brad@ (gwk@)
~ man4/udcf.4
> explain why german trains run late; help from jmc (deraadt@)
~ man4/Makefile ~ man4/pci.4
+ man4/ahci.4
> the start of a driver for ahci controllers. this does nothing but map the
> register space and hook an interrupt up for the controller i have, but it
> is going into the tree so i can work on it.
> commit early, commit often (dlg@)
~ man4/usb.4
> grammar fixes from raphael langerhorst; (jmc@)
~ man4/udcf.4
> standardise section headers;
> ok deraadt mbalmer (jmc@)
~ man4/udcf.4
> some indent and a little cleanup; (jmc@)
~ man4/udcf.4
> Be consistent with writing frequencies, it's n kHz, not nKHz. The DCF77
> transmitter uses 77.5 kHz. (mbalmer@)
~ man4/udcf.4
> The call sign is DCF77, not just DCF. (mbalmer@)
~ man4/udcf.4
> Shorten. And use the correct device name. (mbalmer@)
~ man4/udcf.4
> Improvements, from jmc. (mbalmer@)
~ man4/sf.4
> note where the new driver came from (martin@)
~ man4/zyd.4
> Mention another ZD1211B, MSI US54SE
> Reported by Simon Kuhnle on tech@ (jsg@)
~ man4/zyd.4
> jsg worked a lot in here too (deraadt@)
~ man4/zyd.4
> full stoppage; (jmc@)
~ man4/zyd.4
> USR5423 and Sandberg. -moj (maja@)
== sys =============================================================== 06/08 ==
http://www.openbsd.org/cgi-bin/cvsweb/src/sys
arch/amd64/amd64
~ powernow-k8.c
> Like the earlier change to powernow-k7.c check for both the regular cpuid
> signature AND the AMD extended cpuid 0x800000001 (%eax).
> Tested by,
> krw@, Joerg Niendorf <joerg.bsd AT internode.net.au> and
> steven mestdagh <steven.mestdagh AT esat.kuleuven.be>
> ok dim@ (gwk@)
arch/amd64/conf
~ GENERIC ~ RAMDISK_CD
> starfire ethernet works here now (martin@)
arch/hppa/gsc
~ gsckbdmap.c
> regen (otto@)
arch/i386/i386
~ locore.s
> Fix kernel link warning on i386 about boothowto being overridden, by
> removing the second definition from locore. To prevent locore from
> subsequently clobbering boothowto, remove clearing bss from it. The
> bootloader has already taken care of this.
> ok miod weingart deraadt (dim@)
~ powernow-k8.c
> Like the earlier change to powernow-k7.c check for both the regular cpuid
> signature AND the AMD extended cpuid 0x800000001 (%eax).
> Tested by,
> krw@, Joerg Niendorf <joerg.bsd AT internode.net.au> and
> steven mestdagh <steven.mestdagh AT esat.kuleuven.be>
> ok dim@ (gwk@)
arch/mac68k/dev
~ if_ae.c
> fix some multi-line comments and printfs (martin@)
arch/macppc/conf
~ GENERIC ~ files.macppc
> Enable mesh and mc device drivers in GENERIC, booting on old world macs is
> pointless without these two.
> ok martin@, deraadt@ durring h2k6 (gwk@)
~ RAMDISK
> Enable mc and mesh in RAMDISK as well, as pointed out by brad@ its pretty
> useless to not do so. (gwk@)
arch/macppc/dev
~ mesh.c
> scsibus_attach_args not scsi_attach_args for saa in
> mesh_attach().
> ok dlg@ (thib@)
arch/macppc/pci
~ mpcpcibus.c
> Implement an alternative workaround for the extent lies out of region panic
> on old world macppc machines, if the compat property of the device is
> bandit skip the pci_addr_fixup() call. This acomplishes what the changes in
> rev 1.33 that were reverted attempted to do without breaking currently
> supported machines. A positive side effect to this change is also working
> PCI cards as well as onboard devices.
> ok drahn@ (gwk@)
arch/macppc/stand
~ Locore.c
> Import fixcoff from NetBSD and make some changes to boot.mac Makefile and
> ofwboot including loosing some meanigless defines and repurposing
> XCOFF_GLUE to my own ends. These changes make it possible to boot the
> OpenBSD kernel on at least the Power Macintosh 9500 and 9600. No binary
> change in stripped ofwboot.
> ok drahn@, martin@ (gwk@)
arch/macppc/stand/boot.mac
- hack-coff.c - ld.script
~ Makefile + elf32_powerpc_merge.x
+ fixcoff.c
> Import fixcoff from NetBSD and make some changes to boot.mac Makefile and
> ofwboot including loosing some meanigless defines and repurposing
> XCOFF_GLUE to my own ends. These changes make it possible to boot the
> OpenBSD kernel on at least the Power Macintosh 9500 and 9600. No binary
> change in stripped ofwboot.
> ok drahn@, martin@ (gwk@)
arch/macppc/stand/ofwboot
~ Makefile
> Import fixcoff from NetBSD and make some changes to boot.mac Makefile and
> ofwboot including loosing some meanigless defines and repurposing
> XCOFF_GLUE to my own ends. These changes make it possible to boot the
> OpenBSD kernel on at least the Power Macintosh 9500 and 9600. No binary
> change in stripped ofwboot.
> ok drahn@, martin@ (gwk@)
arch/sh/sh
~ mem.c
> Allow kmem to work, might not quite be right yet, but allows basic
> functionality. sort of ok miod@ (drahn@)
arch/sparc/conf
~ files.sparc
> Clean frame buffer attachment code:
> - There is no need to check for buses config(8) will not let us attach to
> - Better P4 bus logic, which does not need to abuse device flags
> - Do not bother trying to print a meaningful device description when it is
> not connected to sbus. (miod@)
~ files.sparc
> Change cgeight to run the console in the monochrome overlay plane (as
> cgtwelve
> does), and only use the 24 bit color planes when running X.
> Not tested, but can't be worse than before - the code it replaces was
> busted
> anyway. (miod@)
~ GENERIC ~ RAMDISK
~ SUN4 ~ SUN4C
~ SUN4M ~ files.sparc
> Do not make sun terminal emulation selected by the wsemul_sun frame buffer
> attribute anymore; remove it and use option WSEMUL_SUN instead, which gets
> added to all sparc* kernels.
> While there, do not compile vt100 emulation on sparc* kernels, this saves
> 16+
> KB of text.
> ok deraadt@ (miod@)
~ GENERIC ~ RAMDISK
~ SUN4
> Allow ``flags 0'' to work to disable DMA for si(4) and sw(4) - it would get
> ignored previously. (miod@)
arch/sparc/dev
~ if_ie.c
> Revert r1.35 (ether_input to ether_input_mbuf conversion), this causes
> unaligned accesses on some packets. (miod@)
~ cgtwo.c
> Enable all color planes on attach and wait for retrace to program the
> colormap, this finally makes color work. (miod@)
~ xd.c ~ xy.c
> Initialize more fields of the proto disklabel before invoking
> readdisklabel(),
> to pass its recent sanity checks. (miod@)
~ fb.c
> Do the ri_devcmap reprogramming dance in fbwscons_init(), so that it
> applies
> to non-console frame buffers as well. (miod@)
~ bwtwo.c ~ cgeight.c
~ cgfour.c ~ cgsix.c
~ cgthree.c ~ cgtwo.c
> Clean frame buffer attachment code:
> - There is no need to check for buses config(8) will not let us attach to
> - Better P4 bus logic, which does not need to abuse device flags
> - Do not bother trying to print a meaningful device description when it is
> not connected to sbus. (miod@)
~ zx.c
> Instead of invoking rasops_init with a wrong depth value to have some
> values computed better, prefer invoking it with the real thing and
> recomputing what needs to be afterwards. No functional change, but this
> allows fb.c to assume a few things about its callers. (miod@)
~ fb.c
> In fb_setsize(), remove dead code in the SUN4 case. (miod@)
~ cgeight.c
> Change cgeight to run the console in the monochrome overlay plane (as
> cgtwelve
> does), and only use the 24 bit color planes when running X.
> Not tested, but can't be worse than before - the code it replaces was
> busted
> anyway. (miod@)
~ si.c
> Allow ``flags 0'' to work to disable DMA for si(4) and sw(4) - it would get
> ignored previously. (miod@)
~ si.c
> Delay two seconds after board reset before trying to probe scsi devices.
> (miod@)
arch/sparc/include
~ fbvar.h
> Clean frame buffer attachment code:
> - There is no need to check for buses config(8) will not let us attach to
> - Better P4 bus logic, which does not need to abuse device flags
> - Do not bother trying to print a meaningful device description when it is
> not connected to sbus. (miod@)
arch/sparc/sparc
~ clock.c
> Fix typo in intersil clock programming. (miod@)
arch/sparc64/conf
~ GENERIC ~ RAMDISK
~ RAMDISKU1 ~ RAMDISKU5
~ files.sparc64
> Do not make sun terminal emulation selected by the wsemul_sun frame buffer
> attribute anymore; remove it and use option WSEMUL_SUN instead, which gets
> added to all sparc* kernels.
> While there, do not compile vt100 emulation on sparc* kernels, this saves
> 16+
> KB of text.
> ok deraadt@ (miod@)
arch/sparc64/dev
~ fb.c
> Do the ri_devcmap reprogramming dance in fbwscons_init(), so that it
> applies
> to non-console frame buffers as well. (miod@)
arch/zaurus/conf
~ GENERIC
> Enable udcf(4).
> ok deraadt (mbalmer@)
conf
~ files
> replace Adaptec AIC-6915 Starfire driver with the fully bus_dma(9)-able
> driver from NetBSD
> ok brad@ reyk@
> additional testing Nick Nauwelaerts (martin@)
dev/acpi
~ acpi.c
> malloc(..., M_NOWAIT) with no NULL check is bad. If allocation fails,
> complain, clean up, and bail out of attach.
> input and ok gwk (mk@)
dev/cardbus
~ if_bcw_cardbus.c
> From Jon Simola <simola at mecha.com > Add bus-specific config space read and write functions, this fixes the
> attach for ian at darwinsys.comd properly enumerates multiple cores.
> (mglocker@)
~ if_bcw_cardbus.c
> From Jon Simola <simola at mecha.com > Style and whitespace cleanup. (mglocker@)
dev/ic
~ malo.c
> Print the number of unknown commands in malo_cmd_string(). Also don't
> print an empty newline in malo_hexdump(). OK mglocker@ (claudio@)
~ malo.c
> First bits of endian cleanup more still needed but commit early, commit
> often.
> OK mglocker@ (claudio@)
~ rt2560.c ~ rt2661.c
> fix handling of the SIOCS80211CHANNEL ioctl in monitor mode:
> don't call xxx_set_chan() if the interface is not up&running.
> patch from Steffen Schuetz (st dot sch at gmx dot net) with
> minor modifications by me.
> closes kernel/5313 (damien@)
~ bcw.c ~ bcwreg.h
~ bcwvar.h
> From Jon Simola <simola at mecha.com > Add bus-specific config space read and write functions, this fixes the
> attach for ian at darwinsys.comd properly enumerates multiple cores.
> (mglocker@)
+ aic6915.c + aic6915.h
> replace Adaptec AIC-6915 Starfire driver with the fully bus_dma(9)-able
> driver from NetBSD
> ok brad@ reyk@
> additional testing Nick Nauwelaerts (martin@)
~ aic6915.c ~ aic6915.h
> remove unused code, fix style and spacing, tidy up ioctl path
> from brad@ (martin@)
~ pgt.c
> Fix some channel tweaks; e.g. solves a bug which sets the channel to 40
> when switching into hostap mode.
> ok claudio@ (mglocker@)
~ acx111.c
> If we receive a rate of 0 from the AMRR rate adaption code, set the
> TX rate to a minimum value of 1Mbit/s instead of doing a panic(). We
> don't know yet how the rate of 0 is produced in some conditions.
> ok claudio@ (mglocker@)
~ bcw.c
> From Jon Simola <simola at mecha.com > Style and whitespace cleanup. (mglocker@)
~ acx.c ~ acx100.c
~ acxreg.h
> First round of evil macro removal. _acx_set_##name##_tmplt bites the dust.
> OK mglocker@ (claudio@)
~ ncr5380sbc.c
> Do not attempt to access scsi_xfer fields after scsi_done() has been
> invoked. (miod@)
~ malo.c
> Add missing argument to a DPRINTF call. (claudio@)
dev/microcode
~ symbol/symbol-license
> Typo. (grange@)
dev/pci
~ if_vic.c
> re-add a tiny little #ifdef VIC_DEBUG, used to compare the vic(4)
> features and capabilities on different vmware platforms. (reyk@)
~ if_vic.c
> always assume full duplex state if the interface is up... what does
> full duplex mean for a virtual interface? (reyk@)
~ if_sis.c
> Set sis_stopped=1 early on attach and reset it later in sis_init().
> With mickey's help. (grange@)
~ if_sis.c
> Re-enable RX engine every time otherwise it occasionally
> stops under unknown circumstances.
> Tested by many people, ok brad a long time ago. (grange@)
~ if_bge.c ~ if_em.c
~ if_ixgb.c ~ if_vge.c
> report full/half duplex state for non-MII interfaces
> ok brad@ (reyk@)
~ if_bcw_pci.c
> From Jon Simola <simola at mecha.com > Add bus-specific config space read and write functions, this fixes the
> attach for ian at darwinsys.comd properly enumerates multiple cores.
> (mglocker@)
- if_sf.c - if_sfreg.h
~ files.pci + if_sf_pci.c
> replace Adaptec AIC-6915 Starfire driver with the fully bus_dma(9)-able
> driver from NetBSD
> ok brad@ reyk@
> additional testing Nick Nauwelaerts (martin@)
~ if_sf_pci.c
> - de-static
> - use pci_matchbyid, makes attaching way simpler
> ok brad@ reyk@ (martin@)
~ if_em.c
> Implement em_read_pcie_cap_reg(), where we set the max read size on
> PCIe to 4k.
> >From kmacy at FreeBSD > Tested by mk@ and Johan Mson Lindman <tybollt at solace dot mh dot se>
> with the 82573 chipset.
> ok brad@ mglocker@ mk@ (reyk@)
~ if_sk.c ~ if_msk.c
> - Move TX ring full sanity check further up and check the number of DMA
> segments from the DMA map, instead of counting the DMA segments in the
> for loop and breaking out later.
> - Unload the DMA map if encountering an error condition.
> Tested on amd64/i386/sparc64
> ok brad@ mglocker@ (reyk@)
~ pcidevs.h ~ pcidevs_data.h
> regen (mk@)
~ pcidevs
> Add Broadcom BCM5787F.
> From brad. (mk@)
~ if_bcw_pci.c
> From Jon Simola <simola at mecha.com > Style and whitespace cleanup. (mglocker@)
~ if_bge.c ~ pcidevs
~ if_msk.c
> Add the Broadcom BCM5787F PCI id.
> Add D-Link DGE-560SX and another Marvell Yukon (unknown model) PCI ids.
> From the Linux sky2 driver via brad@ (gwk@)
~ pcidevs_data.h ~ pcidevs.h
> regen (gwk@)
~ files.pci + ahci.c
> the start of a driver for ahci controllers. this does nothing but map the
> register space and hook an interrupt up for the controller i have, but it
> is going into the tree so i can work on it.
> commit early, commit often (dlg@)
~ ahci.c
> registers for hba control (dlg@)
~ ahci.c
> bit definitions for the cap and ghc registers (dlg@)
~ ahci.c
> add macros for debug shizz (dlg@)
~ ahci.c
> add wrappers for safe access to the register space. stolen from arc (which
> stole them from mpi). (dlg@)
~ ahci.c
> split the mapping of the pci resources out of the main attach func (dlg@)
~ ahci.c
> figure out which revision of ahci we're trying to use and print it out.
> if we don't know about it, bomb out. (dlg@)
~ ahci.c
> reset the hba and set the enable bit. (dlg@)
~ ahci.c
> sigh, split the bus space mapping and interrupt hookup apart so i can
> reset the controller and clear interrupts off it before doing the hookup.
> (dlg@)
~ pcidevs
> Add ATI RS200M AGP. (dim@)
~ pcidevs.h ~ pcidevs_data.h
> regen (dim@)
dev/pckbc
~ wskbdmap_mfii.c
> Add Dutch map; from Maurice Janssen; ok miod@ (otto@)
dev/sbus
~ zx.c
> Instead of invoking rasops_init with a wrong depth value to have some
> values computed better, prefer invoking it with the real thing and
> recomputing what needs to be afterwards. No functional change, but this
> allows fb.c to assume a few things about its callers. (miod@)
~ files.sbus
> Do not make sun terminal emulation selected by the wsemul_sun frame buffer
> attribute anymore; remove it and use option WSEMUL_SUN instead, which gets
> added to all sparc* kernels.
> While there, do not compile vt100 emulation on sparc* kernels, this saves
> 16+
> KB of text.
> ok deraadt@ (miod@)
dev/usb
~ if_uath.c ~ if_uathvar.h
> The device doesn't always detach gracefully from the bus after a firmware
> upload. We thus force a port reset and a re-exploration on the parent hub
> after firmware upload.
> In uath_newstate(), if we're called from a process context, we don't need
> to schedule a USB task. This fixes a problem in uath_stop(): when moving
> to the S_INIT state, the task was scheduled after the device was reset.
> Don't abort the RX firmware command pipe in uath_stop(), otherwise we will
> never receive commands ACKs from the firmware anymore. We now survive to
> an ifconfig down up. (damien@)
~ if_ral.c ~ if_rum.c
> don't schedule a USB task in {ural,rum}_newstate() if we're called from
> a process context. this avoids potential races in {ural,rum}_stop().
> (damien@)
~ if_ral.c ~ if_rum.c
> fix handling of the SIOCS80211CHANNEL ioctl in monitor mode:
> don't call xxx_set_chan() if the interface is not up&running.
> patch from Steffen Schuetz (st dot sch at gmx dot net) with
> minor modifications by me.
> closes kernel/5313 (damien@)
~ if_uath.c
> don't include <net80211/ieee80211_amrr.h>
> rate control is handled by firmware. (damien@)
~ usbdevs.h ~ usbdevs_data.h
> regen (martin@)
~ usbdevs
> add vendor ID for Silicon Integrated Systems Corporation (martin@)
~ if_axe.c
> avoid unnecessary copies (memcpy(x, x, n)) in the TX path.
> "works fine, even under high load" reyk@ (damien@)
~ udcf.c
> Add code to detect (and eliminate) statistical outliers. Tested by me and
> naddy; many thanks to naddy for continous testing and feedback during the
> last weeks.
> ok naddy (mbalmer@)
~ ukbdmap.c
> regen (otto@)
~ udcf.c
> When compiled with UDCF_DEBUG, only output the bits received when
> udcfdebug > 1. (mbalmer@)
~ usbdevs
> id for Novatel Wireless Merlin U740 (fkr@)
~ usbdevs.h ~ usbdevs_data.h
> regenerated these with Merlin U740 id (fkr@)
~ if_ral.c ~ if_rum.c
> http://www.ralinktech.com/ domain name is for sale.
> use official url instead: http://www.ralinktech.com.tw/ (damien@)
~ if_axe.c
> some cleanup for axe(4):
> - remove IFF_RUNNING check from axe_init() and check for the
> appropriate condition before calling axe_init().
> - check for MTU too small, as done everywhere else.
> - remove unnecessary setting of error to 0, its initialized to 0 in
> axe_ioctl().
> - use the IFQ_IS_EMPTY macro in axe_watchdog().
> ok brad@ (reyk@)
~ ubsa.c
> attach Novatel Merlin U740 to ubsa
> ok dlg@ (fkr@)
~ umass_quirks.c
> Add quirk for Sony DSC-W50 (which is UFI, not SCSI) and rearrange
> umass_fixup_sony() a bit while there, okay krw@ (pedro@)
~ umass_quirks.c
> Better describe the magic done by umass_fixup_sony(), okay krw@ (pedro@)
~ if_zyd.c
> Add USR5423. -moj (maja@)
~ udcf.c
> Faster synchronization after an unexpected minute gap.
> Only look at the skew value if it is != 0.
> Remove some dead code. (mbalmer@)
~ udcf.c
> Re-arm signal loss detection only after we received a bit, not in itself.
> This
> prevents the signal loss function from being called repeatedly when we
> have
> no signal. (mbalmer@)
~ udcf.c
> restart collecting bits immediately after a parity error, i.e. use the
> frame
> immediately following the corrupt one; there is no no need to skip it by
> waiting for the next minute gap and the sensor value has valid data one
> minute earlier than before. (mbalmer@)
~ udcf.c
> Make sure the bit collecting is restarted after signal loss. (mbalmer@)
dev/wscons
~ files.wscons ~ wsemulconf.c
~ wsemulvar.h
> Do not make sun terminal emulation selected by the wsemul_sun frame buffer
> attribute anymore; remove it and use option WSEMUL_SUN instead, which gets
> added to all sparc* kernels.
> While there, do not compile vt100 emulation on sparc* kernels, this saves
> 16+
> KB of text.
> ok deraadt@ (miod@)
kern
~ kern_sysctl.c
> A more permanent solution to setperf methods returning error values and
> the higher level sysctl code passing them to userland. Distinct diff from
> the one I passed around internally with less crazy semantics. Also nuke
> some trailing spaces in a few places.
> "just go ahead" deraadt@ (gwk@)
net
~ if_bridge.c ~ if_bridge.h
~ bridgestp.c ~ if.c
> Add Rapid Spanning Tree Protocol support (802.1d-2004) based on work
> by Andrew Thompson (thompsa at freebsd.orgThe local changes include
> adoption to our bridge code, reduced stack usage and many other bits.
> If stp is enabled, RSTP will now be used by default.
> Thanks for help from Andrew.
> This code has been in snaps for while now, commit encouraged by deraadt@
> (reyk@)
~ if_spppsubr.c
> Missing newline in printf.
> ok canacar@ (bernd@)
~ if_ethersubr.c ~ if_tokensubr.c
~ if_fddisubr.c
> use LINK_STATE_IS_UP(ifp0->if_link_state) instead of
> ifp0->if_link_state == LINK_STATE_UP to handle the new half/full
> duplex link states. i forgot to commit these snippets before.
> ok jsg@ (reyk@)
netinet
~ ip_output.c ~ ipsec_input.c
~ ipsec_output.c
> do not install pmtu routes for transport mode SAs, as they do not
> the dest IP; PMTU debugging support; ok hshoexer (markus@)
~ tcp_input.c
> make the syncache code respect (inherit) the ttl from the listening socket
> when sending the synack response. ok markus (henning@)
~ in_pcb.h ~ ip6.h
~ udp_usrreq.c
> switch IPv6 advanced API from RFC2292 to RFC3542 (2292 is superseded by
> 3542).
> the kernel still handles RFC2292 set/getsockopts, so that compiled binary
> has no trouble running. userland sees RFC3542 symbols only on header file
> so new code has to use RFC3542 API.
> bump libc shlib minor for function additions.
> tested on i386/amd64 by jmc, i386 by brad. checked by deraadt. (itojun@)
netinet6
~ route6.c
> unifdef -UCOMPAT_RFC1883 (ancient) (itojun@)
~ ip6_output.c
> leftover from interface-local multicast change. (itojun@)
~ route6.c
> typo in comment. from kame (itojun@)
~ ip6_input.c
> whitespace (itojun@)
~ icmp6.c ~ in6.h
~ in6_src.c ~ ip6_input.c
~ ip6_output.c ~ ip6_var.h
~ mld6.c ~ raw_ip6.c
~ route6.c ~ udp6_output.c
> switch IPv6 advanced API from RFC2292 to RFC3542 (2292 is superseded by
> 3542).
> the kernel still handles RFC2292 set/getsockopts, so that compiled binary
> has no trouble running. userland sees RFC3542 symbols only on header file
> so new code has to use RFC3542 API.
> bump libc shlib minor for function additions.
> tested on i386/amd64 by jmc, i386 by brad. checked by deraadt. (itojun@)
~ ip6_output.c
> In ip6_output(), make sure ia is initialized before it is used. (miod@)
nfs
~ nfs_vnops.c
> nfs_readdirplusrpc():
> Replace the pointer aerobics used to construct the
> namecache hash with a more saner approach since the
> former could lead to a null deref (PR5305).
> Also make sure that the current buf is bigenough
> before caching the current entry.
> comments&ok pedro@ (thib@)
sys
~ sockio.h
> Add Rapid Spanning Tree Protocol support (802.1d-2004) based on work
> by Andrew Thompson (thompsa at freebsd.orgThe local changes include
> adoption to our bridge code, reduced stack usage and many other bits.
> If stp is enabled, RSTP will now be used by default.
> Thanks for help from Andrew.
> This code has been in snaps for while now, commit encouraged by deraadt@
> (reyk@)
~ stdint.h
> typo; Alexander_Bluhm at genua.deeraadt@)
== usr.bin =========================================================== 07/08 ==
http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin
cvs
~ rcs.c
> - fix crash when doing keyword expansion of zero-length buffers.
> ok ray@ (niallo@)
~ import.c
> - unlink tmp files when finished.
> - add missing xfree(). (xsa@)
~ add.c ~ config.c
~ import.c ~ server.c
> snprintf() -> cvs_path_cat() (xsa@)
~ util.c
> rmdir(2) sets errno, use it for error message. (xsa@)
~ util.c
> unlink(2) sets errno, use it for error message. (xsa@)
~ config.c
> add config file path in debug message. (xsa@)
~ update.c
> snprintf() -> cvs_path_cat() (xsa@)
~ entries.c
> use errno where appropriate in error messages. (xsa@)
~ entries.c
> check for cvs_path_cat() return value. (xsa@)
getconf
~ getconf.c
> check confstr() return value. Due to the braindead return value
> specified by POSIX we have to clear errno before; also check for -1 to
> remain compatible. ok millert@ (otto@)
infocmp
~ infocmp.c
> Don't access buf[strlen(buf) - 1] for zero-length strings.
> OK jaredy at .ay@)
less
~ filename.c
> Don't access buf[strlen(buf) - 1] for zero-length strings.
> OK jaredy at .ay@)
lex
~ initscan.c ~ scan.l
> Don't access buf[strlen(buf) - 1] for zero-length strings.
> OK jaredy at .ay@)
pkg-config
~ pkg-config.1
> retreive -> retrieve; from daniel matic (jmc@)
~ pkg-config
> do the proper dance to order libary dependencies, let modversion do
> what it should, start at proper version checking.
> Also displays more diagnostic messages like the real pkg-config does.
> okay ckuethe@, matthieu@, fries
> (and a small extra addition of a mismatch diagnostic).
> Make sure PkgConfig.pm is synch'ed! won't work otherwise. (espie@)
~ pkg-config
> reorg code some more:
> - handle most version number requirements.
> - handle uninstalled packages correctly.
> - process options in the same order as the gnu pkg-config.
> - sanitize status code returns.
> - set up printerr the same way gnu pkg-config does.
> tested on xenocara by matthieu@
> Still missing: actual --static implementation, and possibly some other
> details... (espie@)
~ pkg-config
> trivial change: comparing versions on a non-existent config is not a good
> idea... (espie@)
sectok
~ cyberflex.c
> Don't access buf[strlen(buf) - 1] for zero-length strings.
> OK jaredy at .ay@)
sort
~ tmp.c
> Don't access buf[strlen(buf) - 1] for zero-length strings.
> OK jaredy at .ay@)
== usr.sbin ========================================================== 08/08 ==
http://www.openbsd.org/cgi-bin/cvsweb/src/usr.sbin
bgpd
~ bgpd.conf.5 ~ bgpd.h
~ parse.y ~ printconf.c
~ session.c
> implement the ttl security hack. since the pc slaves fear the word hack,
> they call it "Generalized TTL Security Mechanism" officially, RFC 3682.
> manpage with help from jmc (henning@)
~ Makefile ~ rde.c
> no need for KAME_SCOPEID; just check __KAME__. (itojun@)
config
~ misc.c ~ mkmakefile.c
> Don't access buf[strlen(buf) - 1] for zero-length strings.
> OK jaredy at .ay@)
dvmrpd
~ dvmrpd.h ~ interface.c
~ rde.c ~ rde.h
~ rde_mfc.c ~ rde_srt.c
~ report.c
> introduce rde_check_route that selects which routes must be accepted and
> which discarded.
> Still not complete, just a step forward.
> ok norby@ henning@ (michele@)
ospfd
~ kroute.c ~ ospf.h
~ ospfd.c ~ ospfd.h
~ parse.y ~ rde.c
> Make it possible to set the metric and LSA type for redistributed routes.
> Mostly based on a diff by Pierre-Yves Ritschard (I just simplified the
> parser
> code). OK norby@ (claudio@)
~ ospfd.conf.5
> Document the interface:ip syntax and add some statements to the examples
> to make them useful. OK norby@ (claudio@)
~ ospfd.conf.5
> Document redistribute set options. OK norby@ (claudio@)
~ rde.c ~ rde_lsdb.c
> Fix a crash seen on busy area border routers. The problem was a NULL
> dereference in rde_summary_update(). Even though we merge in the new LSA
> it may be suppressed because the remove happened less than 5 seconds ago.
> So the second lsa_find() is still unable to locate the LSA and in this case
> we may not access v->cost. Additionally only remove not yet deleted LSA
> in lsa_remove_invalid_sums(), removing already removed entries removes also
> the suppressed LSAs.
> Problem found and fix tested by Pierre-Yves Ritschard. OK norby@ (claudio@)
pkg_add
~ OpenBSD/PkgConfig.pm
> add rcompress method (espie@)
~ OpenBSD/Add.pm
> use lstat for symbolic links; fixes uninitialized uid/gid.
> ok espie@ (steven@)
~ pkg_create
> don't complain about uid/gid of symlinks.
> "makes sense" sturm@, "go for it" espie@ (steven@)
portmap
~ portmap.8
> missing full stop; from daniel matic (jmc@)
spamdb
~ spamdb.8 ~ spamdb.c
> make spamdb take multiple add/delete arguments, thus making it
> much easier to do bulk add/deletes without opening and locking the
> database for each one. testing by scads of people on tech@
> Ok deraadt@ jmc@ (beck@)
~ spamdb.8 ~ spamdb.c
> better synopsis/usage and a couple wee fixes;
> mostly ok beck (jmc@)
tcpdump
~ print-ip6opts.c
> switch IPv6 advanced API from RFC2292 to RFC3542 (2292 is superseded by
> 3542).
> the kernel still handles RFC2292 set/getsockopts, so that compiled binary
> has no trouble running. userland sees RFC3542 symbols only on header file
> so new code has to use RFC3542 API.
> bump libc shlib minor for function additions.
> tested on i386/amd64 by jmc, i386 by brad. checked by deraadt. (itojun@)
===============================================================================
More information about the owc
mailing list