[owc] Weekly src changes ending 2007-10-07

OWC auto at squish.net
Mon Oct 8 07:00:01 BST 2007


OpenBSD src changes summary for 2007-09-30 to 2007-10-07 inclusive
==================================================================

distrib/sets                            gnu/usr.bin/binutils
include/stdbool.h                       kerberosV
lib/libc                                regress/sys
regress/usr.bin                         sbin/growfs
sbin/pfctl                              share/man
share/zoneinfo                          sys/arch/alpha/dev
sys/arch/alpha/isa                      sys/arch/alpha/tc
sys/arch/amd64/conf                     sys/arch/arm/arm
sys/arch/hppa/dev                       sys/arch/hppa/gsc
sys/arch/hppa/hppa                      sys/arch/hppa64/conf
sys/arch/hppa64/hppa64                  sys/arch/hppa64/include
sys/arch/i386/conf                      sys/arch/i386/i386
sys/arch/i386/include                   sys/arch/i386/pci
sys/arch/landisk/landisk                sys/arch/macppc/conf
sys/arch/macppc/macppc                  sys/arch/mvme68k/dev
sys/arch/mvme88k/dev                    sys/arch/mvme88k/mvme88k
sys/arch/mvmeppc/mvmeppc                sys/arch/sgi/sgi
sys/arch/sh/sh                          sys/arch/sparc/dev
sys/arch/sparc/sparc                    sys/arch/sparc64/dev
sys/arch/sparc64/include                sys/arch/sparc64/sparc64
sys/arch/vax/vax                        sys/arch/vax/vsa
sys/arch/zaurus/dev                     sys/compat/svr4
sys/ddb                                 sys/dev
sys/dev/ata                             sys/dev/i2c
sys/dev/i2o                             sys/dev/ic
sys/dev/isa                             sys/dev/microcode
sys/dev/mii                             sys/dev/pci
sys/dev/sdmmc                           sys/dev/sun
sys/dev/usb                             sys/isofs/cd9660
sys/isofs/udf                           sys/msdosfs
sys/net                                 sys/netatalk
sys/netbt                               sys/netinet
sys/netinet6                            sys/netnatm
sys/nfs                                 sys/ntfs
sys/sys                                 sys/ufs/ext2fs
sys/ufs/ufs                             usr.bin/compile_et
usr.bin/cvs                             usr.bin/file
usr.bin/fstat                           usr.bin/grep
usr.bin/learn                           usr.bin/mail
usr.bin/make                            usr.bin/pcc
usr.bin/rpcgen                          usr.bin/ssh
usr.bin/sudo                            usr.bin/top
usr.sbin/bgpd                           usr.sbin/dhcpd
usr.sbin/hoststatectl                   usr.sbin/hoststated
usr.sbin/ndp                            usr.sbin/ospfd
usr.sbin/pkg_add                        usr.sbin/procmap
usr.sbin/tcpdump                        

== distrib =========================================================== 01/11 ==

  http://www.openbsd.org/cgi-bin/cvsweb/src/distrib

sets

  ~ lists/comp/mi                         

  > sync (deraadt@)

  ~ lists/man/mi                          

  > sync (deraadt@)

== gnu =============================================================== 02/11 ==

  http://www.openbsd.org/cgi-bin/cvsweb/src/gnu

usr.bin/binutils

  ~ gdb/i386obsd-nat.c                    ~ gdb/config/i386/obsd.mh

  > On i386, use PCB_SAVECTX flags to distinguish between state saved by a
  > normal
  > context switch, and state saved by savectx().  This makes backtraces from
  > kernel crash dumps work much better. (kettenis@)

== include =========================================================== 03/11 ==

  http://www.openbsd.org/cgi-bin/cvsweb/src/include

stdbool.h

  ~ stdbool.h                             

  > pcc knows _Bool. ok beck@ miod @millert (otto@)

== kerberosV ========================================================= 04/11 ==

  http://www.openbsd.org/cgi-bin/cvsweb/src/kerberosV

kerberosV

  ~ src/doc/setup.texi                    

  > Typo, from Mark Peoples (biorn@)

== lib =============================================================== 05/11 ==

  http://www.openbsd.org/cgi-bin/cvsweb/src/lib

libc

  ~ gen/rewinddir.c                       ~ gen/telldir.c

  > fix a libpthread PANIC in seekdir(3) caused by a recursive mutex lock.
  > remove the recursive lock in __seekdir() and ensure all callers properly
  > lock dd_lock prior to calling.  reported and tested by bernd@
  > okay marc@ tedu@ (kurt@)

  ~ time/tz-link.htm                      

  > update to tzcode2007h from elsie.nci.nih.gov (millert@)

== regress =========================================================== 06/11 ==

  http://www.openbsd.org/cgi-bin/cvsweb/src/regress

sys

  ~ dev/audio_rw/Makefile                 ~ dev/audio_rw/audiotest_rw.1
  ~ dev/audio_rw/audiotest_rw.c           

  > add two new audio ioctls, AUDIO_GETPRINFO and AUDIO_GETRRINFO, and the
  > data structure these ioctls use, audio_bufinfo.
  > these ioctls return information about the play and record buffers
  > into the audio_bufinfo structure.
  > these are being added to aid in porting non-native audio applications
  > and libraries, and to fix issues in our OSS audio emulation.  these
  > ioctls exist only on OpenBSD and should not be used in code intended
  > for distribution.
  > ok ratchov (jakemsr@)

usr.bin

  + pcc/cc/ccom/enum001.c                 

  > test case involving superfluous type warnings involving enums (otto@)

  + pcc/cc/ccom/const001.c                

  > compare of constants outside type range (otto@)

  ~ pcc/cc/cpp/Makefile                   ~ pcc/cc/cpp/skip001.out

  > fix by actually using pcc (otto@)

  + pcc/Makefile                          + pcc/cc/Makefile
  + pcc/cc/ccom/Makefile                  

  > more regress scaffolding (otto@)

  ~ pcc/cc/cpp/Makefile                   ~ pcc/cc/cpp/skip001.out

  > work in obj dir (otto@)

  ~ bc/Makefile                           

  > typo (otto@)

  ~ pcc/cc/ccom/Makefile                  ~ pcc/cc/ccom/enum001.c
  ~ pcc/cc/ccom/init004.c                 ~ pcc/cc/ccom/tmpalloc001.c
  ~ pcc/cc/cpp/Makefile                   

  > basic tests now work, including those that should fail (otto@)

  ~ pcc/cc/ccom/darray001.c               

  > typo (otto@)

  - pcc/cc/Makefile                       - pcc/cc/ccom/Makefile
  - pcc/cc/ccom/const001.c                - pcc/cc/ccom/darray001.c
  - pcc/cc/ccom/enum001.c                 - pcc/cc/ccom/init001.c
  - pcc/cc/ccom/init002.c                 - pcc/cc/ccom/init003.c
  - pcc/cc/ccom/init004.c                 - pcc/cc/ccom/tmpalloc001.c
  - pcc/cc/cpp/Makefile                   - pcc/cc/cpp/skip001.c
  - pcc/cc/cpp/skip001.out                - pcc/cc/cpp/subdir/include.h
  ~ pcc/Makefile                          + pcc/ccom/Makefile
  + pcc/ccom/const001.c                   + pcc/ccom/darray001.c
  + pcc/ccom/enum001.c                    + pcc/ccom/init001.c
  + pcc/ccom/init002.c                    + pcc/ccom/init003.c
  + pcc/ccom/init004.c                    + pcc/ccom/tmpalloc001.c
  + pcc/cpp/Makefile                      + pcc/cpp/res1
  + pcc/cpp/res2                          + pcc/cpp/res3
  + pcc/cpp/res4                          + pcc/cpp/res5
  + pcc/cpp/res6                          + pcc/cpp/res7
  + pcc/cpp/res8                          + pcc/cpp/res9
  + pcc/cpp/skip001.c                     + pcc/cpp/skip001.out
  + pcc/cpp/test1                         + pcc/cpp/test2
  + pcc/cpp/test3                         + pcc/cpp/test4
  + pcc/cpp/test5                         + pcc/cpp/test6
  + pcc/cpp/test7                         + pcc/cpp/test8
  + pcc/cpp/test9                         + pcc/cpp/subdir/include.h

  > and reorg this tree as well (otto@)

== sbin ============================================================== 07/11 ==

  http://www.openbsd.org/cgi-bin/cvsweb/src/sbin

growfs

  ~ growfs.c                              

  > check fgets return value
  > use strncmp instead of strcmp
  > with help of ray@ "Looks OK" millert@ (chl@)

pfctl

  ~ parse.y                               

  > Backout NUMBER to string conversion.
  > Requested by deraadt@ (mpf@)

== share ============================================================= 08/11 ==

  http://www.openbsd.org/cgi-bin/cvsweb/src/share

man

  ~ man5/pf.conf.5                        

  > while rdr'ing port spamd to portsmtpis perfectly valid, it is at least
  > a bit confuzzling, so swap.
  > From: Olli Hauer <ohauer at gmx.de> (henning@)

  ~ man4/msk.4                            

  > mention the 88E804x Fast Ethernet chipsets.
  > ok dlg@ (brad@)

  ~ man9/Makefile                         

  > add missing MLINKS section for iic(9);  'please commit this!' jmc@ (cnst@)

  ~ man4/bwi.4                            

  > Add Apple Airport Extreme devices.
  > From brad@, OK jsg@ (mglocker@)

  ~ man4/bwi.4                            

  > sort the hardware list; (jmc@)

  ~ man4/bridge.4                         

  > Clarifications about the interaction of bridge and PF.
  > From Geoff Steckel with a few changes
  > "please commit it (if no one objects)" jmc, "yes" henning (sthen@)

  ~ man4/audio.4                          

  > add two new audio ioctls, AUDIO_GETPRINFO and AUDIO_GETRRINFO, and the
  > data structure these ioctls use, audio_bufinfo.
  > these ioctls return information about the play and record buffers
  > into the audio_bufinfo structure.
  > these are being added to aid in porting non-native audio applications
  > and libraries, and to fix issues in our OSS audio emulation.  these
  > ioctls exist only on OpenBSD and should not be used in code intended
  > for distribution.
  > ok ratchov (jakemsr@)

  ~ man4/bwi.4                            

  > Since we know the firmware load works, merge the single firmware files
  > together to one single, finally.
  > You need to bump the firmware package to version 1.3!
  > OK jsg@ (mglocker@)

  ~ man4/man4.i386/Makefile               + man4/man4.i386/glxpcib.4

  > Add support for the PCI-ISA bridge, timecounter, and watchdog timer
  > found in the CS5536 companion chip to the AMD Geode LX-800 processor.
  > glxpcib(4) driver written by mickey, with some tweaks by me.  Manpage
  > nits by jmc.
  > Tested on the Soekris net5501 (by me) and the Alix 2a2
  > (by earxtacy at dixinet.com)
  > ok kettenis (mbalmer@)

  ~ man4/Makefile                         ~ man4/iic.4
  + man4/spdmem.4                         

  > Port of Nicolas Joly, Paul Goyette & Tobias Nygren's
  > spdmem(4) driver for Serial Presence Detect memory information. (jsg@)

  ~ man4/man4.i386/Makefile               + man4/man4.i386/amdpcib.4

  > manual page for an upcoming driver.
  > "committ it" deraadt. (mbalmer@)

  ~ man4/pci.4                            

  > mention amdpcib(4) and glxpcib(4). (mbalmer@)

  ~ man4/isa.4                            

  > mention amdpcib(4) and glxpcib(4) (mbalmer@)

  ~ man4/man4.i386/amdpcib.4              

  > mention the LPC bridge part. (mbalmer@)

  ~ man4/pci.4                            

  > for miscellaneous devices section:
  > - sync Nd for amdpcib(4)
  > - add pcib(4)
  > - adjust the width size of the list accordingly (jmc@)

  ~ man4/pci.4                            ~ man4/man4.i386/amdpcib.4

  > AMD8111 -> AMD-8111 (jmc@)

  ~ man4/man4.amd64/Makefile              + man4/man4.amd64/amdpcib.4

  > amd64 needs the page too (deraadt@)

zoneinfo

  ~ datfiles/africa                       ~ datfiles/asia
  ~ datfiles/southamerica                 

  > update to tzdata2007h from elsie.nci.nih.gov (millert@)

== sys =============================================================== 09/11 ==

  http://www.openbsd.org/cgi-bin/cvsweb/src/sys

arch/alpha/dev

  ~ bus_dma.c                             

  > Apply (with slight variants) this elimination of bzero() with M_ZERO:
  > -	    if ((mapstore = malloc(mapsize, M_DEVBUF,
  > -		(flags & BUS_DMA_NOWAIT) ? M_NOWAIT : M_WAITOK)) == NULL)
  > +	    if ((mapstore = malloc(mapsize, M_DEVBUF, (flags & BUS_DMA_NOWAIT)
  > ?
  > +		(M_NOWAIT | M_ZERO) : (M_WAITOK | M_ZERO))) == NULL)
  > return (ENOMEM);
  > -	    bzero(mapstore, mapsize); (krw@)

arch/alpha/isa

  ~ isadma_bounce.c                       

  > Some archs used memset() rather than bzero(). So duplicate diff
  > previously applied to other archs deleting a memset() this time. e.g.
  > -	    if ((mapstore = malloc(mapsize, M_DEVBUF,
  > -		(flags & BUS_DMA_NOWAIT) ? M_NOWAIT : M_WAITOK)) == NULL)
  > +	    if ((mapstore = malloc(mapsize, M_DEVBUF, (flags & BUS_DMA_NOWAIT)
  > ?
  > +		(M_NOWAIT | M_ZERO) : (M_WAITOK | M_ZERO))) == NULL)
  > return (ENOMEM);
  > -	    memset(mapstore, 0, mapsize); (krw@)

arch/alpha/tc

  ~ tc_dma_3000_500.c                     

  > Simpliest memset(,0,) -> M_ZERO changes. One (caddr *) cast removal,
  > otherwise just adding M_ZERO to malloc() and removing the immediately
  > adjacent memset(,0,). (krw@)

arch/amd64/conf

  ~ GENERIC                               

  > Enable Broadcom wireless, bwi(4).
  > If people testing could send mail to mglocker and myself we'd appreciate
  > it.
  > ok mglocker@ (jsg@)

  ~ GENERIC                               ~ files.amd64

  > Add a driver, amdpcib(4), for the AMD 8111 series LPC bridge and HPET
  > written
  > by mickey, man page by me.	Help, suggestions by Theo and jmc.
  > Enable this driver and glxpcib(4) in all RAMDISK kernel,  but glxpcib(4)
  > does not provide the watchdog timer in the RAMDISK kernels.
  > Prodded by deraadt.
  > E (mbalmer@)

arch/arm/arm

  ~ bus_dma.c                             

  > Some archs used memset() rather than bzero(). So duplicate diff
  > previously applied to other archs deleting a memset() this time. e.g.
  > -	    if ((mapstore = malloc(mapsize, M_DEVBUF,
  > -		(flags & BUS_DMA_NOWAIT) ? M_NOWAIT : M_WAITOK)) == NULL)
  > +	    if ((mapstore = malloc(mapsize, M_DEVBUF, (flags & BUS_DMA_NOWAIT)
  > ?
  > +		(M_NOWAIT | M_ZERO) : (M_WAITOK | M_ZERO))) == NULL)
  > return (ENOMEM);
  > -	    memset(mapstore, 0, mapsize); (krw@)

  ~ mem.c                                 

  > Simpliest memset(,0,) -> M_ZERO changes. One (caddr *) cast removal,
  > otherwise just adding M_ZERO to malloc() and removing the immediately
  > adjacent memset(,0,). (krw@)

arch/hppa/dev

  ~ apic.c                                ~ astro.c

  > Simpliest memset(,0,) -> M_ZERO changes. One (caddr *) cast removal,
  > otherwise just adding M_ZERO to malloc() and removing the immediately
  > adjacent memset(,0,). (krw@)

arch/hppa/gsc

  ~ gsckbc.c                              

  > More easy bzero() -> M_ZERO. Use 'p = malloc(sizeof(*p) ...' where
  > obvious. (krw@)

arch/hppa/hppa

  ~ mainbus.c                             

  > Apply (with slight variants) this elimination of bzero() with M_ZERO:
  > -	    if ((mapstore = malloc(mapsize, M_DEVBUF,
  > -		(flags & BUS_DMA_NOWAIT) ? M_NOWAIT : M_WAITOK)) == NULL)
  > +	    if ((mapstore = malloc(mapsize, M_DEVBUF, (flags & BUS_DMA_NOWAIT)
  > ?
  > +		(M_NOWAIT | M_ZERO) : (M_WAITOK | M_ZERO))) == NULL)
  > return (ENOMEM);
  > -	    bzero(mapstore, mapsize); (krw@)

arch/hppa64/conf

  ~ files.hppa64                          

  > Simple single-processor only mutex implementation; cloned from hppa.
  > (kettenis@)

arch/hppa64/hppa64

  ~ mainbus.c                             

  > Apply (with slight variants) this elimination of bzero() with M_ZERO:
  > -	    if ((mapstore = malloc(mapsize, M_DEVBUF,
  > -		(flags & BUS_DMA_NOWAIT) ? M_NOWAIT : M_WAITOK)) == NULL)
  > +	    if ((mapstore = malloc(mapsize, M_DEVBUF, (flags & BUS_DMA_NOWAIT)
  > ?
  > +		(M_NOWAIT | M_ZERO) : (M_WAITOK | M_ZERO))) == NULL)
  > return (ENOMEM);
  > -	    bzero(mapstore, mapsize); (krw@)

  ~ disksubr.c                            

  > Remove unused variable. (kettenis@)

  + mutex.c                               

  > Simple single-processor only mutex implementation; cloned from hppa.
  > (kettenis@)

arch/hppa64/include

  + mutex.h                               

  > Simple single-processor only mutex implementation; cloned from hppa.
  > (kettenis@)

  + lock.h                                

  > Provide <machine/lock.h> on hppa64 too. (kettenis@)

arch/i386/conf

  ~ GENERIC                               

  > Enable Broadcom wireless, bwi(4).
  > If people testing could send mail to mglocker and myself we'd appreciate
  > it.
  > ok mglocker@ (jsg@)

  ~ GENERIC                               ~ files.i386

  > Add support for the PCI-ISA bridge, timecounter, and watchdog timer
  > found in the CS5536 companion chip to the AMD Geode LX-800 processor.
  > glxpcib(4) driver written by mickey, with some tweaks by me.  Manpage
  > nits by jmc.
  > Tested on the Soekris net5501 (by me) and the Alix 2a2
  > (by earxtacy at dixinet.com)
  > ok kettenis (mbalmer@)

  ~ GENERIC                               ~ RAMDISK
  ~ RAMDISKB                              ~ RAMDISKC
  ~ RAMDISK_CD                            ~ files.i386

  > Add a driver, amdpcib(4), for the AMD 8111 series LPC bridge and HPET
  > written
  > by mickey, man page by me.	Help, suggestions by Theo and jmc.
  > Enable this driver and glxpcib(4) in all RAMDISK kernel,  but glxpcib(4)
  > does not provide the watchdog timer in the RAMDISK kernels.
  > Prodded by deraadt.
  > E (mbalmer@)

arch/i386/i386

  ~ machdep.c                             

  > On i386, only call amd64_errata() on amd64 processors (family 0xf),
  > tested by krw at . This diff by itself is insufficient to ensure that
  > we are only running on an amd64: todd@'s machine is a mobile Athlon XP
  > that has a cpuid family of 0xf but is not an amd64 processor so more
  > must be done but this should prevent the vast majority of cases.
  > ok tom@ (gwk@)

  ~ genassym.cf                           ~ locore.s

  > Add pcb_flags member to 'struct pcb', and set PCB_SAVECTX on contexts saved
  > by savectx().
  > ok art@, miod@ (kettenis@)

arch/i386/include

  ~ param.h                               

  > more btoc -> atop (martin@)

  ~ pcb.h                                 

  > Add pcb_flags member to 'struct pcb', and set PCB_SAVECTX on contexts saved
  > by savectx().
  > ok art@, miod@ (kettenis@)

arch/i386/pci

  + glxpcib.c                             

  > Add support for the PCI-ISA bridge, timecounter, and watchdog timer
  > found in the CS5536 companion chip to the AMD Geode LX-800 processor.
  > glxpcib(4) driver written by mickey, with some tweaks by me.  Manpage
  > nits by jmc.
  > Tested on the Soekris net5501 (by me) and the Alix 2a2
  > (by earxtacy at dixinet.com)
  > ok kettenis (mbalmer@)

  ~ glxpcib.c                             

  > Add a driver, amdpcib(4), for the AMD 8111 series LPC bridge and HPET
  > written
  > by mickey, man page by me.	Help, suggestions by Theo and jmc.
  > Enable this driver and glxpcib(4) in all RAMDISK kernel,  but glxpcib(4)
  > does not provide the watchdog timer in the RAMDISK kernels.
  > Prodded by deraadt.
  > E (mbalmer@)

arch/landisk/landisk

  ~ bus_dma.c                             

  > Some archs used memset() rather than bzero(). So duplicate diff
  > previously applied to other archs deleting a memset() this time. e.g.
  > -	    if ((mapstore = malloc(mapsize, M_DEVBUF,
  > -		(flags & BUS_DMA_NOWAIT) ? M_NOWAIT : M_WAITOK)) == NULL)
  > +	    if ((mapstore = malloc(mapsize, M_DEVBUF, (flags & BUS_DMA_NOWAIT)
  > ?
  > +		(M_NOWAIT | M_ZERO) : (M_WAITOK | M_ZERO))) == NULL)
  > return (ENOMEM);
  > -	    memset(mapstore, 0, mapsize); (krw@)

arch/macppc/conf

  ~ GENERIC                               

  > Enable Broadcom wireless, bwi(4).
  > If people testing could send mail to mglocker and myself we'd appreciate
  > it.
  > ok mglocker@ (jsg@)

arch/macppc/macppc

  ~ dma.c                                 

  > Apply (with slight variants) this elimination of bzero() with M_ZERO:
  > -	    if ((mapstore = malloc(mapsize, M_DEVBUF,
  > -		(flags & BUS_DMA_NOWAIT) ? M_NOWAIT : M_WAITOK)) == NULL)
  > +	    if ((mapstore = malloc(mapsize, M_DEVBUF, (flags & BUS_DMA_NOWAIT)
  > ?
  > +		(M_NOWAIT | M_ZERO) : (M_WAITOK | M_ZERO))) == NULL)
  > return (ENOMEM);
  > -	    bzero(mapstore, mapsize); (krw@)

arch/mvme68k/dev

  ~ vs.c                                  

  > MALLOC+bzero -> malloc+M_ZERO.
  > In ip_esp.c all allocated memory is now zero'd in the
  > "malloc(sizeof(*tc) + alen ..." case. The +alen memory was not
  > initialized by the bzero() call. Noticed by chl at .
  > "Looks good" art@ "seems ok" chl@ (krw@)

  ~ vs.c                                  

  > Oops. Forgot to do FREE -> free when I did MALLOC -> malloc. (krw@)

arch/mvme88k/dev

  ~ vs.c                                  

  > MALLOC+bzero -> malloc+M_ZERO.
  > In ip_esp.c all allocated memory is now zero'd in the
  > "malloc(sizeof(*tc) + alen ..." case. The +alen memory was not
  > initialized by the bzero() call. Noticed by chl at .
  > "Looks good" art@ "seems ok" chl@ (krw@)

  ~ vs.c                                  

  > Oops. Forgot to do FREE -> free when I did MALLOC -> malloc. (krw@)

arch/mvme88k/mvme88k

  ~ bus_dma.c                             

  > Some archs used memset() rather than bzero(). So duplicate diff
  > previously applied to other archs deleting a memset() this time. e.g.
  > -	    if ((mapstore = malloc(mapsize, M_DEVBUF,
  > -		(flags & BUS_DMA_NOWAIT) ? M_NOWAIT : M_WAITOK)) == NULL)
  > +	    if ((mapstore = malloc(mapsize, M_DEVBUF, (flags & BUS_DMA_NOWAIT)
  > ?
  > +		(M_NOWAIT | M_ZERO) : (M_WAITOK | M_ZERO))) == NULL)
  > return (ENOMEM);
  > -	    memset(mapstore, 0, mapsize); (krw@)

arch/mvmeppc/mvmeppc

  ~ bus_dma.c                             

  > Some archs used memset() rather than bzero(). So duplicate diff
  > previously applied to other archs deleting a memset() this time. e.g.
  > -	    if ((mapstore = malloc(mapsize, M_DEVBUF,
  > -		(flags & BUS_DMA_NOWAIT) ? M_NOWAIT : M_WAITOK)) == NULL)
  > +	    if ((mapstore = malloc(mapsize, M_DEVBUF, (flags & BUS_DMA_NOWAIT)
  > ?
  > +		(M_NOWAIT | M_ZERO) : (M_WAITOK | M_ZERO))) == NULL)
  > return (ENOMEM);
  > -	    memset(mapstore, 0, mapsize); (krw@)

arch/sgi/sgi

  ~ bus_dma.c                             

  > Apply (with slight variants) this elimination of bzero() with M_ZERO:
  > -	    if ((mapstore = malloc(mapsize, M_DEVBUF,
  > -		(flags & BUS_DMA_NOWAIT) ? M_NOWAIT : M_WAITOK)) == NULL)
  > +	    if ((mapstore = malloc(mapsize, M_DEVBUF, (flags & BUS_DMA_NOWAIT)
  > ?
  > +		(M_NOWAIT | M_ZERO) : (M_WAITOK | M_ZERO))) == NULL)
  > return (ENOMEM);
  > -	    bzero(mapstore, mapsize); (krw@)

arch/sh/sh

  ~ mem.c                                 

  > Simpliest memset(,0,) -> M_ZERO changes. One (caddr *) cast removal,
  > otherwise just adding M_ZERO to malloc() and removing the immediately
  > adjacent memset(,0,). (krw@)

arch/sparc/dev

  ~ esp.c                                 ~ fd.c
  ~ xd.c                                  ~ xy.c

  > More easy bzero() -> M_ZERO. Use 'p = malloc(sizeof(*p) ...' where
  > obvious. (krw@)

arch/sparc/sparc

  ~ disksubr.c                            

  > Fiddle Sun traditional disklabel recognition to eliminate union and
  > associated field access defines. This reverts most changes to
  > dev/sun/disklabel.h without eliminating new functionality. Fix
  > comments to line up and fit on 80 column line, making both tsi@ and I
  > feel better.
  > Simplify logic in disksubr.c. No semantic change.
  > Tested & ok tsi at . (krw@)

arch/sparc64/dev

  ~ ebus.c                                ~ fd.c
  ~ pckbc_ebus.c                          

  > More easy bzero() -> M_ZERO. Use 'p = malloc(sizeof(*p) ...' where
  > obvious. (krw@)

arch/sparc64/include

  ~ cpu.h                                 

  > Move intrpending array into 'struct cpu_info'. (kettenis@)

arch/sparc64/sparc64

  ~ genassym.cf                           ~ locore.s

  > Move intrpending array into 'struct cpu_info'. (kettenis@)

  ~ machdep.c                             

  > Apply (with slight variants) this elimination of bzero() with M_ZERO:
  > -	    if ((mapstore = malloc(mapsize, M_DEVBUF,
  > -		(flags & BUS_DMA_NOWAIT) ? M_NOWAIT : M_WAITOK)) == NULL)
  > +	    if ((mapstore = malloc(mapsize, M_DEVBUF, (flags & BUS_DMA_NOWAIT)
  > ?
  > +		(M_NOWAIT | M_ZERO) : (M_WAITOK | M_ZERO))) == NULL)
  > return (ENOMEM);
  > -	    bzero(mapstore, mapsize); (krw@)

  ~ disksubr.c                            

  > Fiddle Sun traditional disklabel recognition to eliminate union and
  > associated field access defines. This reverts most changes to
  > dev/sun/disklabel.h without eliminating new functionality. Fix
  > comments to line up and fit on 80 column line, making both tsi@ and I
  > feel better.
  > Simplify logic in disksubr.c. No semantic change.
  > Tested & ok tsi at . (krw@)

arch/vax/vax

  ~ bus_dma.c                             

  > Apply (with slight variants) this elimination of bzero() with M_ZERO:
  > -	    if ((mapstore = malloc(mapsize, M_DEVBUF,
  > -		(flags & BUS_DMA_NOWAIT) ? M_NOWAIT : M_WAITOK)) == NULL)
  > +	    if ((mapstore = malloc(mapsize, M_DEVBUF, (flags & BUS_DMA_NOWAIT)
  > ?
  > +		(M_NOWAIT | M_ZERO) : (M_WAITOK | M_ZERO))) == NULL)
  > return (ENOMEM);
  > -	    bzero(mapstore, mapsize); (krw@)

arch/vax/vsa

  ~ lcg.c                                 ~ lcspx.c
  ~ smg.c                                 

  > More easy bzero() -> M_ZERO. Use 'p = malloc(sizeof(*p) ...' where
  > obvious. (krw@)

arch/zaurus/dev

  ~ zaurus_flash.c                        

  > MALLOC+bzero -> malloc+M_ZERO.
  > In ip_esp.c all allocated memory is now zero'd in the
  > "malloc(sizeof(*tc) + alen ..." case. The +alen memory was not
  > initialized by the bzero() call. Noticed by chl at .
  > "Looks good" art@ "seems ok" chl@ (krw@)

  ~ zaurus_flash.c                        

  > Oops. Forgot to do FREE -> free when I did MALLOC -> malloc. (krw@)

compat/svr4

  ~ svr4_misc.c                           

  > more btoc -> atop (martin@)

ddb

  ~ db_elf.c                              

  > Use db_printf instead of printf, to prevent problems with locking
  > kprintf_mutex in the early stages of booting.
  > ok miod@ (a while ago) (kettenis@)

dev

  ~ audio.c                               

  > add two new audio ioctls, AUDIO_GETPRINFO and AUDIO_GETRRINFO, and the
  > data structure these ioctls use, audio_bufinfo.
  > these ioctls return information about the play and record buffers
  > into the audio_bufinfo structure.
  > these are being added to aid in porting non-native audio applications
  > and libraries, and to fix issues in our OSS audio emulation.  these
  > ioctls exist only on OpenBSD and should not be used in code intended
  > for distribution.
  > ok ratchov (jakemsr@)

  ~ sequencer.c                           

  > Simpliest memset(,0,) -> M_ZERO changes. One (caddr *) cast removal,
  > otherwise just adding M_ZERO to malloc() and removing the immediately
  > adjacent memset(,0,). (krw@)

dev/ata

  ~ atascsi.c                             

  > More easy bzero() -> M_ZERO. Use 'p = malloc(sizeof(*p) ...' where
  > obvious. (krw@)

dev/i2c

  ~ i2c_scan.c                            

  > add support for scanning the spdmem range of addresses, using a different
  > probe function; based on earlier work by jsg, and retested by us (deraadt@)

  ~ files.i2c                             + spdmem.c

  > Port of Nicolas Joly, Paul Goyette & Tobias Nygren's
  > spdmem(4) driver for Serial Presence Detect memory information. (jsg@)

  ~ spdmem.c                              

  > Print CAS latency for DDR/DDR2.
  > Shuffle strings around to look pretty as suggested by deraadt. (jsg@)

dev/i2o

  ~ i2o.h                                 ~ iop.c
  ~ iopsp.c                               ~ iopvar.h

  > attribute packed -> __packed
  > okayd by miod a while ago, ok by pyr (gilles@)

dev/ic

  ~ an.c                                  ~ atw.c
  ~ gem.c                                 ~ rtw.c

  > s/NPBFILTER/NBPFILTER/ in #endif comment. No functional change. (kettenis@)

  ~ bwi.c                                 

  > BWI_BBP_ATTEN is a 16-bit register, so use CSR_WRITE_2 to access it.
  > Fixes unaligned access on strict-alignment architectures.
  > ok mglocker@ (kettenis@)

  ~ bwi.c                                 

  > Don't count interrupts with state "not of interest".
  > From Oleg Safiullin.  OK jsg@ (mglocker@)

  ~ bwireg.h                              

  > Shows the real size of a register in the hex define.
  > OK jsg@ (mglocker@)

  ~ bwi.c                                 

  > Spacing. (mglocker@)

  ~ aac.c                                 ~ ac97.c
  ~ acx.c                                 ~ ath.c
  ~ cac.c                                 ~ dc.c
  ~ gdt_common.c                          ~ malo.c
  ~ oosiop.c                              ~ osiop.c
  ~ sili.c                                ~ sti.c
  ~ vga.c                                 ~ wdc.c

  > More easy bzero() -> M_ZERO. Use 'p = malloc(sizeof(*p) ...'. (krw@)

  ~ bwi.c                                 ~ bwivar.h

  > Use uint_* consistent.
  > Agreed with jsg@ (mglocker@)

  ~ aic79xx_openbsd.h                     

  > more btoc -> atop (martin@)

  ~ bwi.c                                 

  > Disable default debug setting, make tx power map printing debug only.
  > (jsg@)

  ~ bwi.c                                 

  > Print the MAC address. (jsg@)

  ~ bwi.c                                 

  > remove rate_fb variable as it always gets set to the same value
  > as rate anyway. (jsg@)

  ~ bwi.c                                 

  > Fix `bogus xmit rate setup' panic, which mostly happened while associating
  > to an 11b AP due to not correct initialized tx rates. (mglocker@)

  ~ bwi.c                                 

  > Spacing. (mglocker@)

  ~ if_wi_hostap.c                        

  > MALLOC+bzero -> malloc+M_ZERO.
  > In ip_esp.c all allocated memory is now zero'd in the
  > "malloc(sizeof(*tc) + alen ..." case. The +alen memory was not
  > initialized by the bzero() call. Noticed by chl at .
  > "Looks good" art@ "seems ok" chl@ (krw@)

  ~ bwi.c                                 ~ bwivar.h

  > Since we know the firmware load works, merge the single firmware files
  > together to one single, finally.
  > You need to bump the firmware package to version 1.3!
  > OK jsg@ (mglocker@)

  ~ aacreg.h                              ~ anreg.h

  > attribute packed -> __packed
  > ok miod@ a while ago, ok pyr@ (gilles@)

  ~ anreg.h                               

  > gilles missed one of the __attribute__((__packed__)) here in
  > the __attribute__((__packed__)) -> __packed conversion. (jsg@)

  ~ if_wi_hostap.c                        

  > Oops. Forgot to do FREE -> free when I did MALLOC -> malloc. (krw@)

dev/isa

  ~ fd.c                                  ~ pckbc_isa.c
  ~ seagate.c                             

  > More easy bzero() -> M_ZERO. Use 'p = malloc(sizeof(*p) ...' where
  > obvious. (krw@)

  ~ if_ex.c                               

  > Rename bus_space macros. ISA_GET/PUT -> CSR_READ/WRITE
  > Tested by todd@
  > ok dlg@ (brad@)

dev/microcode

  + bwi/Makefile                          + bwi/build/Makefile
  + bwi/build/build.c                     + bwi/extract/Makefile
  + bwi/extract/extract.c                 

  > Import the bwi single firmware-file builder / extractor before we forget
  > about it.  It's not linked into microcode/Makefile.
  > OK deraadt@ (mglocker@)

dev/mii

  ~ eephy.c                               ~ eephyreg.h

  > Disable fiber/copper auto-selection on the 88E1111 if it is in RGMII mode,
  > to
  > work around the fact that the onboard PHYs attached to nfe(4) on the Sun
  > X4100 M2 have fiber/copper auto-selection enabled even though the
  > interfaces
  > are clearly copper-only.
  > Fixes PR system/5587.
  > ok jsg@, claudio@ (kettenis@)

  ~ eephy.c                               

  > Oops, committed this with a typo, which made it do not quite the right
  > thing. (kettenis@)

dev/pci

  ~ mbg.c                                 

  > Add support for the high-resulution timer found in the GPS170PCI card.
  > Thanks for otto@ for looking at the time calculations (mbalmer@)

  ~ ahci.c                                ~ arc.c
  ~ hifn7751.c                            ~ if_em.c
  ~ if_ixgb.c                             ~ if_nxe.c
  ~ if_san_common.c                       ~ if_sandrv.c
  ~ ises.c                                ~ musycc.c
  ~ tga.c                                 ~ ubsec.c

  > More easy bzero() -> M_ZERO. Use 'p = malloc(sizeof(*p) ...' where
  > obvious. (krw@)

  ~ pcidevs                               

  > add new Intel E1000 and 10Gb PCIe PCI ids.
  > Most of the ids were from FreeBSD though the quad port blade id came
  > from the Linux E1000 driver.
  > ok dlg@ (brad@)

  ~ pcidevs.h                             ~ pcidevs_data.h

  > regen (brad@)

  ~ if_vr.c                               

  > In vr_attach() only touch the VR_STICKHW register if the adapter
  > is found to have PCI power management capability. It has been
  > found that unconditionally touching this register with the original
  > VIA Rhine chipset, which does not have power management capability,
  > and due to the shorter width of the IO addess space, it is possible
  > for the vr(4) driver to do bad things with hw with IO address space
  > adjacent to a vr(4) adapter.
  > Tested by a few users, brad@ and jmc at .
  > ok dlg@ (brad@)

  ~ if_msk.c                              ~ if_skreg.h

  > add initial support for the Marvell PCIe Yukon FE+ Fast Ethernet chipsets.
  > Inspired by similar changes to the Linux sky2 driver.
  > Tested by dunceor, Schoeberle Daniel, moritz@ and brad@ on existing
  > known working adapters. These chipsets are not actually available
  > in hardware yet.
  > ok dlg@ (brad@)

  ~ if_vrreg.h                            

  > Remove renaming of fields with #define.
  > Tested by jmc@
  > ok dlg@ (brad@)

  ~ if_vrreg.h                            

  > g/c ETHER_CRC_LEN.
  > ok dlg@ (brad@)

  ~ azalia_codec.c                        

  > The Acer TravelMate 3010 (ALC883) has a couple of gpio pins that need
  > to be enabled in order for it to produce sound.  It can use the same
  > gpio function as the macs, so rename that to azalia_gpio_unmute.
  > Tested by damien@, no regressions noticed by jakemsr@ (deanna@)

  ~ if_cas.c                              

  > NPBFILTER -> NBPFILTER in comments.
  > ok kettenis@ (jsg@)

  ~ agp_amd.c                             ~ agp_i810.c
  ~ agp_intel.c                           ~ agp_via.c
  ~ cz.c                                  

  > Simpliest memset(,0,) -> M_ZERO changes. One (caddr *) cast removal,
  > otherwise just adding M_ZERO to malloc() and removing the immediately
  > adjacent memset(,0,). (krw@)

  + amdpcib.c                             

  > Add a driver, amdpcib(4), for the AMD 8111 series LPC bridge and HPET
  > written
  > by mickey, man page by me.	Help, suggestions by Theo and jmc.
  > Enable this driver and glxpcib(4) in all RAMDISK kernel,  but glxpcib(4)
  > does not provide the watchdog timer in the RAMDISK kernels.
  > Prodded by deraadt.
  > E (mbalmer@)

dev/sdmmc

  ~ sdhc.c                                

  > More easy bzero() -> M_ZERO. Use 'p = malloc(sizeof(*p) ...' where
  > obvious. (krw@)

dev/sun

  ~ disklabel.h                           

  > Fiddle Sun traditional disklabel recognition to eliminate union and
  > associated field access defines. This reverts most changes to
  > dev/sun/disklabel.h without eliminating new functionality. Fix
  > comments to line up and fit on 80 column line, making both tsi@ and I
  > feel better.
  > Simplify logic in disksubr.c. No semantic change.
  > Tested & ok tsi at . (krw@)

dev/usb

  ~ if_atu.c                              

  > Another NPBFILTER comment typo.
  > From Jung <moorang at gmail.com> (jsg@)

  ~ umidi.c                               ~ usb_subr.c

  > Simpliest memset(,0,) -> M_ZERO changes. One (caddr *) cast removal,
  > otherwise just adding M_ZERO to malloc() and removing the immediately
  > adjacent memset(,0,). (krw@)

  ~ usbdevs                               

  > track systems traqmate gps data acquisition system (jcs@)

  ~ usbdevs.h                             ~ usbdevs_data.h

  > regen (jcs@)

isofs/cd9660

  ~ cd9660_vfsops.c                       

  > MALLOC+bzero -> malloc+M_ZERO.
  > In ip_esp.c all allocated memory is now zero'd in the
  > "malloc(sizeof(*tc) + alen ..." case. The +alen memory was not
  > initialized by the bzero() call. Noticed by chl at .
  > "Looks good" art@ "seems ok" chl@ (krw@)

isofs/udf

  ~ udf_vfsops.c                          

  > MALLOC+bzero -> malloc+M_ZERO.
  > In ip_esp.c all allocated memory is now zero'd in the
  > "malloc(sizeof(*tc) + alen ..." case. The +alen memory was not
  > initialized by the bzero() call. Noticed by chl at .
  > "Looks good" art@ "seems ok" chl@ (krw@)

  ~ udf_vfsops.c                          

  > Oops. Forgot to do FREE -> free when I did MALLOC -> malloc. (krw@)

msdosfs

  ~ msdosfs_denode.c                      

  > MALLOC+bzero -> malloc+M_ZERO.
  > In ip_esp.c all allocated memory is now zero'd in the
  > "malloc(sizeof(*tc) + alen ..." case. The +alen memory was not
  > initialized by the bzero() call. Noticed by chl at .
  > "Looks good" art@ "seems ok" chl@ (krw@)

  ~ msdosfs_denode.c                      

  > Oops. Forgot to do FREE -> free when I did MALLOC -> malloc. (krw@)

net

  ~ if_media.h                            

  > add a 2.5 Gbps fiber media type.
  > From FreeBSD
  > ok claudio@ dlg@ (brad@)

netatalk

  ~ at_control.c                          

  > Last of the really easy bzero() -> M_ZERO. Use 'p = malloc(sizeof(*p) ...'
  > where obvious. (krw@)

  ~ ddp_usrreq.c                          

  > MALLOC+bzero -> malloc+M_ZERO.
  > In ip_esp.c all allocated memory is now zero'd in the
  > "malloc(sizeof(*tc) + alen ..." case. The +alen memory was not
  > initialized by the bzero() call. Noticed by chl at .
  > "Looks good" art@ "seems ok" chl@ (krw@)

  ~ ddp_usrreq.c                          

  > Oops. Forgot to do FREE -> free when I did MALLOC -> malloc. (krw@)

netbt

  ~ hci_event.c                           ~ l2cap_upper.c
  ~ rfcomm_upper.c                        ~ sco_upper.c

  > Last of the really easy bzero() -> M_ZERO. Use 'p = malloc(sizeof(*p) ...'
  > where obvious. (krw@)

netinet

  ~ in.c                                  

  > Last of the really easy bzero() -> M_ZERO. Use 'p = malloc(sizeof(*p) ...'
  > where obvious. (krw@)

  ~ ip_esp.c                              ~ ip_ipcomp.c

  > MALLOC+bzero -> malloc+M_ZERO.
  > In ip_esp.c all allocated memory is now zero'd in the
  > "malloc(sizeof(*tc) + alen ..." case. The +alen memory was not
  > initialized by the bzero() call. Noticed by chl at .
  > "Looks good" art@ "seems ok" chl@ (krw@)

  ~ ip_esp.c                              ~ ip_ipcomp.c

  > Oops. Forgot to do FREE -> free when I did MALLOC -> malloc. (krw@)

netinet6

  ~ nd6.c                                 ~ nd6_rtr.c

  > Last of the really easy bzero() -> M_ZERO. Use 'p = malloc(sizeof(*p) ...'
  > where obvious. (krw@)

netnatm

  ~ natm_pcb.c                            

  > MALLOC+bzero -> malloc+M_ZERO.
  > In ip_esp.c all allocated memory is now zero'd in the
  > "malloc(sizeof(*tc) + alen ..." case. The +alen memory was not
  > initialized by the bzero() call. Noticed by chl at .
  > "Looks good" art@ "seems ok" chl@ (krw@)

  ~ natm_pcb.c                            

  > Oops. Forgot to do FREE -> free when I did MALLOC -> malloc. (krw@)

nfs

  ~ nfs_subs.c                            

  > Make sure nfsrv_v2errmap[] really contains ELAST initialized values.
  > (miod@)

ntfs

  ~ ntfs_subr.c                           

  > MALLOC+bzero -> malloc+M_ZERO.
  > In ip_esp.c all allocated memory is now zero'd in the
  > "malloc(sizeof(*tc) + alen ..." case. The +alen memory was not
  > initialized by the bzero() call. Noticed by chl at .
  > "Looks good" art@ "seems ok" chl@ (krw@)

  ~ ntfs_subr.c                           

  > Oops. Forgot to do FREE -> free when I did MALLOC -> malloc. (krw@)

sys

  ~ audioio.h                             

  > add two new audio ioctls, AUDIO_GETPRINFO and AUDIO_GETRRINFO, and the
  > data structure these ioctls use, audio_bufinfo.
  > these ioctls return information about the play and record buffers
  > into the audio_bufinfo structure.
  > these are being added to aid in porting non-native audio applications
  > and libraries, and to fix issues in our OSS audio emulation.  these
  > ioctls exist only on OpenBSD and should not be used in code intended
  > for distribution.
  > ok ratchov (jakemsr@)

ufs/ext2fs

  ~ ext2fs_vfsops.c                       

  > Simpliest memset(,0,) -> M_ZERO changes. One (caddr *) cast removal,
  > otherwise just adding M_ZERO to malloc() and removing the immediately
  > adjacent memset(,0,). (krw@)

ufs/ufs

  ~ ufs_quota.c                           

  > Last of the really easy bzero() -> M_ZERO. Use 'p = malloc(sizeof(*p) ...'
  > where obvious. (krw@)

  ~ ufs_dirhash.c                         

  > MALLOC/FREE -> malloc/free + M_ZERO.
  > As a side effect, this probably fixes PR5596, if the allocation
  > of dh_hash succeeds and the dh_blkfree fails, we jump into the
  > fail case, but we haven't initialized dh_hash properly, that is
  > filling the array with memory from the dirhash pool, but the
  > != NULL check holds, since the memory hasn't been zeroed and
  > so we start pool_put()'ing, causing the crash in PR5596.
  > PR5596 debugging by pedro.
  > ok art@, krw@ (thib@)

== usr.bin =========================================================== 10/11 ==

  http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin

compile_et

  ~ compile_et.1                          

  > delete ugly $Header stuff; pr 5595 (deraadt@)

cvs

  ~ commit.c                              

  > reset the default branch early on so rcs_head_get() does not screw us up
  > and returns a possibly wrong revision as 'current revision'.
  > noticed by tobias@ his regress testing (joris@)

  ~ edit.c                                ~ entries.c
  ~ file.c                                ~ root.c
  ~ util.c                                

  > strcspn() change
  > was okay'd by pyr@ and ok by millert@ (gilles@)

  ~ date.y                                

  > replace abort() by return (-1)
  > from ray@ suggestion
  > "looks good" ray@ (chl@)

  ~ cvs.c                                 

  > break after exit() is useless
  > ok ray@ (chl@)

  ~ client.c                              

  > nb is an int, so it should be compared to an int.
  > ok ray@ (chl@)

file

  ~ apprentice.c                          

  > use strcspn instead of strchr to properly overwrite '\n' in fgets returned
  > buffer
  > check if the first byte is NUL instead of invoking strlen()
  > with help of ray@ "Looks OK" millert@ (chl@)

fstat

  ~ fstat.1                               ~ fstat.c

  > sort the fields in manual page in the same order as in fstat output;
  > use the same name for fields in the manual page and command output;
  > while here, fix spacing
  > millert@ has observed that this change makes the header fields consistent
  > with what is the output by NetBSD and FreeBSD too
  > ok millert@ (sobrado@)

grep

  ~ util.c                                

  > Process patterns containing $ end ^ (but not as last or first char)
  > using regcomp() instead of fastcomp(). ok millert@ (otto@)

learn

  ~ src/learn.c                           

  > use strcspn to properly overwrite '\n' in fgets returned buffer
  > check fgets return value
  > use sizeof (buf) instead of hardcoded value
  > with help of moritz@ and ray@
  > "Those seem OK" moritz@ "OK" ray@ "Looks OK" millert@ (chl@)

mail

  ~ fio.c                                 

  > check if it's really a newline before removing it
  > with the help of ray@ "Looks OK" millert@ (chl@)

make

  ~ job.c                                 

  > replace realloc/memset/pointer-arithmetic with recalloc; ok millert@ ray@
  > espie@ (cnst@)

pcc

  ~ mip/manifest.h                        ~ mip/optim2.c
  ~ mip/pass2.h                           ~ mip/reader.c
  ~ cc/cc/cc.1                            ~ cc/cc/cc.c

  > pull fro ragge's repo:
  > -C support for cc and deljumps optimization; both by Stefan Kempf (otto@)

  ~ cc/ccom/cgram.y                       ~ cc/ccom/pftn.c

  > pull form ragge's repo:
  > __builtin_va* support. (otto@)

  ~ mip/regs.c                            

  > fix format and type
  > ok otto@ (gilles@)

  ~ cc/cc/cc.1                            ~ cc/ccom/ccom.1
  ~ cc/cpp/cpp.1                          

  > pull from ragge's repo: man page diffs from Igor Sobrado (otto@)

  ~ cc/cc/cc.c                            

  > pull form ragge's repo:
  > Pass -g onto linker.  From Laurent Desnogues. (otto@)

  ~ mip/regs.c                            

  > pull from ragge's repo:
  > #include and obscure name clash fix. From From Laurent Desnogues. (otto@)

  ~ cc/ccom/trees.c                       

  > void functions should not return value (otto@)

  ~ mip/mkext.c                           

  > fix evil 64-bit bug: if we're using longs for bitsets 1 << shift will
  > be undefined if shift > 31. Makes ccom work much better on 64-bit
  > archs. (otto@)

  ~ cc/cc/cc.c                            

  > fix indentation on options parsing
  > ok otto and ragge (gilles@)

  ~ cc/cc/cc.c                            

  > strncpy -> strlcpy
  > ok ragge (gilles@)

  ~ cc/ccom/trees.c                       

  > Add patch to solve false errors from enums.
  > XXX - enums should be revisited someday. (otto@)

  ~ cc/ccom/init.c                        

  > optimize a "not so bright" piece of code. Reduces compilation time on my
  > evil test case from > 3m to < 1s. ok ragge@ (otto@)

  ~ arch/x86/local.c                      ~ arch/x86/macdefs.h

  > From master repository log:
  > Do not optimize away a cast if constant too large for target type.
  > Should remove branch but need to check for side effects in that case.
  > Also correct possible incorrect min constant. (ragge@)

  ~ arch/x86/local.c                      

  > _Bool is also a type, don't discrimnate against it; ok ragge@ (otto@)

  ~ arch/x86/local.c                      

  > From master repo:
  > > Do not try to branch-optimize pointer comparisions, found by Otto M.
  > (ragge@)

  ~ cc/ccom/trees.c                       

  > From master repo:
  > > Compalin if user is applying sizeof to bitfield, from Stefan Kempf.
  > (ragge@)

  ~ cc/cpp/scanner.l                      

  > From master repo:
  > > Don't let pragmas pass through if #ifdef'd away, from Stefan Kempf.
  > (ragge@)

  - arch/nova/README                      

  > and another stray file (otto@)

  - arch/m16c/TODO                        - arch/mips/TODO

  > garbage collect a few files (otto@)

  - arch/m16c/code.c                      - arch/m16c/local.c
  - arch/m16c/local2.c                    - arch/m16c/macdefs.h
  - arch/m16c/order.c                     - arch/m16c/table.c
  - arch/mips/code.c                      - arch/mips/local.c
  - arch/mips/local2.c                    - arch/mips/macdefs.h
  - arch/mips/order.c                     - arch/mips/table.c
  - arch/nova/code.c                      - arch/nova/local.c
  - arch/nova/local2.c                    - arch/nova/macdefs.h
  - arch/nova/order.c                     - arch/nova/table.c
  - arch/pdp10/code.c                     - arch/pdp10/local.c
  - arch/pdp10/local2.c                   - arch/pdp10/macdefs.h
  - arch/pdp10/order.c                    - arch/pdp10/table.c
  - arch/vax/code.c                       - arch/vax/local.c
  - arch/vax/local2.c                     - arch/vax/macdefs.h
  - arch/vax/order.c                      - arch/vax/table.c
  - arch/x86/code.c                       - arch/x86/local.c
  - arch/x86/local2.c                     - arch/x86/macdefs.h
  - arch/x86/order.c                      - arch/x86/table.c
  - cc/cc/Makefile                        - cc/cc/cc.1
  - cc/cc/cc.c                            - cc/ccom/Makefile
  - cc/ccom/Makefile.inc                  - cc/ccom/ccom.1
  - cc/ccom/cgram.y                       - cc/ccom/gcc_compat.c
  - cc/ccom/init.c                        - cc/ccom/inline.c
  - cc/ccom/main.c                        - cc/ccom/optim.c
  - cc/ccom/pass1.h                       - cc/ccom/pftn.c
  - cc/ccom/scan.l                        - cc/ccom/stabs.c
  - cc/ccom/symtabs.c                     - cc/ccom/trees.c
  - cc/ccom/vax/Makefile                  - cc/ccom/x86/Makefile
  - cc/cpp/Makefile                       - cc/cpp/cpp.1
  - cc/cpp/cpp.c                          - cc/cpp/cpp.h
  - cc/cpp/cpy.y                          - cc/cpp/scanner.l
  - cc/cpp/tests/res1                     - cc/cpp/tests/res2
  - cc/cpp/tests/res3                     - cc/cpp/tests/res4
  - cc/cpp/tests/res5                     - cc/cpp/tests/res6
  - cc/cpp/tests/res7                     - cc/cpp/tests/res8
  - cc/cpp/tests/res9                     - cc/cpp/tests/test1
  - cc/cpp/tests/test2                    - cc/cpp/tests/test3
  - cc/cpp/tests/test4                    - cc/cpp/tests/test5
  - cc/cpp/tests/test6                    - cc/cpp/tests/test7
  - cc/cpp/tests/test8                    - cc/cpp/tests/test9
  - os/dragonfly/ccconfig.h               - os/linux/ccconfig.h
  - os/netbsd/ccconfig.h                  - os/netbsd/f77config.h
  - os/none/ccconfig.h                    - os/openbsd/ccconfig.h
  - os/openbsd/f77config.h                ~ Makefile
  ~ cc/Makefile                           + ccconfig.h
  + f77config.h                           + cc/cc.1
  + cc/cc.c                               + ccom/Makefile
  + ccom/Makefile.inc                     + ccom/ccom.1
  + ccom/cgram.y                          + ccom/gcc_compat.c
  + ccom/init.c                           + ccom/inline.c
  + ccom/main.c                           + ccom/optim.c
  + ccom/pass1.h                          + ccom/pftn.c
  + ccom/scan.l                           + ccom/stabs.c
  + ccom/symtabs.c                        + ccom/trees.c
  + ccom/vax/Makefile                     + ccom/x86/Makefile
  + cpp/Makefile                          + cpp/cpp.1
  + cpp/cpp.c                             + cpp/cpp.h
  + cpp/cpy.y                             + cpp/scanner.l
  + m16c/TODO                             + m16c/code.c
  + m16c/local.c                          + m16c/local2.c
  + m16c/macdefs.h                        + m16c/order.c
  + m16c/table.c                          + mips/TODO
  + mips/code.c                           + mips/local.c
  + mips/local2.c                         + mips/macdefs.h
  + mips/order.c                          + mips/table.c
  + nova/README                           + nova/code.c
  + nova/local.c                          + nova/local2.c
  + nova/macdefs.h                        + nova/order.c
  + nova/table.c                          + pdp10/code.c
  + pdp10/local.c                         + pdp10/local2.c
  + pdp10/macdefs.h                       + pdp10/order.c
  + pdp10/table.c                         + vax/code.c
  + vax/local.c                           + vax/local2.c
  + vax/macdefs.h                         + vax/order.c
  + vax/table.c                           + x86/code.c
  + x86/local.c                           + x86/local2.c
  + x86/macdefs.h                         + x86/order.c
  + x86/table.c                           

  > reorg pcc tree; requested by and ok deraadt@; ok ragge@ (otto@)

  ~ ccom/Makefile.inc                     ~ ccom/cgram.y
  ~ ccom/pass1.h                          ~ ccom/pftn.c
  ~ ccom/scan.l                           ~ ccom/trees.c

  > Merge from ragge's repo:
  > Add initial support for packed/aligned/rename pragmas.
  > Still missing:  Support for architectures with strict alignment.
  > TODO: Cleanup the rename stuff so that it's not depending on gcc
  > compat. (otto@)

  ~ ccom/gcc_compat.c                     

  > merge from ragge's repo:
  > Add __inline__ as gcc-compatible keyword. (otto@)

  ~ cc/cc.c                               

  > merge from ragge's repo:
  > Bugfix for .i files, by Jeremy Reed. (otto@)

  ~ config.h                              ~ cpp/cpp.c
  ~ mip/regs.c                            

  > get rid of the configure remains (otto@)

rpcgen

  ~ rpc_clntout.c                         ~ rpc_cout.c
  ~ rpc_hout.c                            ~ rpc_main.c
  ~ rpc_parse.c                           ~ rpc_sample.c
  ~ rpc_scan.c                            ~ rpc_svcout.c
  ~ rpc_tblout.c                          ~ rpc_util.c

  > Some -Wall cleanup to help fix other bugs.
  > ok krw@ (weingart@)

  ~ rpc_main.c                            

  > Nuke MSDOS portion.  Add <unistd.h> for STDERR_FILENO in the
  > generated files.
  > "Yes, with extreme prejudice." millert@ (weingart@)

  ~ rpc_util.h                            ~ rpc_svcout.c

  > nullproc() is used in more than one file.
  > millert@ ok (weingart@)

ssh

  ~ ssh-keygen.c                          

  > handles zero-sized strings that fgets can return
  > properly removes trailing newline
  > removes an unused variable
  > correctly counts line number
  > "looks ok" ray@ markus@ (chl@)

sudo

  ~ sudoers                               

  > add WRKOBJDIR to default env_keep to help 'make fake' in ports.
  > ok millert@ (sthen@)

  ~ sudoers                               

  > add SSH_AUTH_SOCK to env_keep.
  > ok millert@ (steven@)

top

  ~ display.c                             

  > unused static var; from Mark Lumsden (otto@)

  ~ utils.c                               

  > typos in comment; from Pierre Riteau (otto@)

  ~ top.c                                 

  > only init screen when in interactive mode; ok ray@ (otto@)

== usr.sbin ========================================================== 11/11 ==

  http://www.openbsd.org/cgi-bin/cvsweb/src/usr.sbin

bgpd

  ~ kroute.c                              

  > when inserting blackhole or reject routes, set the gateway address to
  > 127.0.0.1 / ::1 unconditioally, since RTF_BLACKHOLE/REJECT are not
  > actually checked in the forwarding path and the gw doesn't matter
  > otherwise.
  > makes them work.. found teh hard way by me. claudio ok (henning@)

dhcpd

  ~ pfutils.c                             

  > Allow the various pf table actions to operate independently. For example,
  > "-L leased" wouldn't work without "-A abandoned".
  > testing help from merdely
  > "i like" deraadt (ckuethe@)

hoststatectl

  ~ hoststatectl.8                        

  > Sync .nd with other parts of hoststated, prompted by jmc@ (pyr@)

hoststated

  ~ parse.y                               

  > keep lines < 80. (pyr@)

  ~ relay.c                               

  > kill some remaining debug that snuk in. (pyr@)

  ~ parse.y                               

  > Add NUMBER to hoststated's lexer, very similar to what has gone in
  > in the other daemons recently. Prompted and based on work by deraadt@
  > proofread and ok gilles@ (pyr@)

  ~ parse.y                               

  > clean up merged code. (pyr@)

  ~ hoststated.c                          ~ hoststated.h
  ~ parse.y                               

  > stop messing with lgetc to please hoststated's check/expect.
  > instead move some of the logic in yylex and do hoststated specific
  > translations into hoststated.c
  > ok gilles@ (pyr@)

  ~ hoststated.h                          

  > cast to an int (reyk@)

  ~ parse.y                               

  > cast to an int (reyk@)

  ~ relay.c                               

  > unbreak non-SSL relays by calling the ssl context init only if the SSL
  > flag is present... (reyk@)

  ~ hoststated.c                          ~ hoststated.h
  ~ relay.c                               

  > stylistic changes in the relay/relay_config structure. (reyk@)

ndp

  ~ gmt2local.c                           ~ gmt2local.h

  > delete ugly $Header stuff; pr 5595 (deraadt@)

ospfd

  ~ printconf.c                           

  > When printing the config always include the interface IP address.
  > Without this multiple networks on one interface could not be distinguished.
  > OK norby@ (claudio@)

  ~ kroute.c                              ~ ospfd.c
  ~ ospfe.c                               ~ parse.y
  ~ rde.c                                 ~ rde_spf.c

  > fix alot of whitespace problems... (norby@)

pkg_add

  ~ OpenBSD/SharedLibs.pm                 

  > finish loop as soon as the ldconfig search directories have been found.
  > ok espie@ (steven@)

procmap

  ~ procmap.c                             

  > Use kinfo_proc2 instead of kinfo_proc.
  > ok art@ (kettenis@)

tcpdump

  ~ print-ip6.c                           

  > Handle CARP for IPv6. Reported and tested by todd@
  > ok todd@, henning@ (canacar@)

  ~ INSTALL                               ~ README
  ~ addrtoname.c                          ~ addrtoname.h
  ~ appletalk.h                           ~ bootp.h
  ~ bpf_dump.c                            ~ decnet.h
  ~ ethertype.h                           ~ extract.h
  ~ fddi.h                                ~ gmt2local.c
  ~ gmt2local.h                           ~ gnuc.h
  ~ interface.h                           ~ ipx.h
  ~ llc.h                                 ~ machdep.c
  ~ machdep.h                             ~ nameser.h
  ~ netbios.h                             ~ ntp.h
  ~ parsenfsfh.c                          ~ print-arp.c
  ~ print-atalk.c                         ~ print-atm.c
  ~ print-bgp.c                           ~ print-bootp.c
  ~ print-carp.c                          ~ print-cdp.c
  ~ print-decnet.c                        ~ print-dhcp6.c
  ~ print-domain.c                        ~ print-dvmrp.c
  ~ print-enc.c                           ~ print-ether.c
  ~ print-etherip.c                       ~ print-fddi.c
  ~ print-hsrp.c                          ~ print-icmp.c
  ~ print-igrp.c                          ~ print-ike.c
  ~ print-ip.c                            ~ print-ipsec.c
  ~ print-ipx.c                           ~ print-isoclns.c
  ~ print-krb.c                           ~ print-l2tp.c
  ~ print-llc.c                           ~ print-lwres.c
  ~ print-netbios.c                       ~ print-ntp.c
  ~ print-null.c                          ~ print-ospf.c
  ~ print-ospf6.c                         ~ print-pflog.c
  ~ print-pfsync.c                        ~ print-pim.c
  ~ print-ppp.c                           ~ print-raw.c
  ~ print-rip.c                           ~ print-sl.c
  ~ print-smb.c                           ~ print-snmp.c
  ~ print-sunrpc.c                        ~ print-tcp.c
  ~ print-tftp.c                          ~ print-timed.c
  ~ print-udp.c                           ~ print-udpencap.c
  ~ print-vrrp.c                          ~ print-wb.c
  ~ savestr.c                             ~ savestr.h
  ~ setsignal.c                           ~ setsignal.h
  ~ smbutil.c                             ~ tcpdump.c
  ~ util.c                                

  > trash $Header goo which is just annoying; 5595 (deraadt@)

===============================================================================


More information about the owc mailing list