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

OWC auto at squish.net
Mon Jul 30 07:00:01 BST 2007


OpenBSD src changes summary for 2007-07-22 to 2007-07-29 inclusive
==================================================================

bin/cp                                  bin/mv
distrib/amd64                           distrib/miniroot
distrib/notes                           distrib/sets
etc/MAKEDEV.common                      etc/etc.amd64/MAKEDEV
etc/etc.amd64/MAKEDEV.md                etc/etc.amd64/disktab
etc/etc.hppa/sysctl.conf                etc/etc.i386/MAKEDEV
etc/etc.i386/MAKEDEV.md                 etc/etc.macppc/MAKEDEV
etc/etc.macppc/MAKEDEV.md               etc/root/root.mail
etc/sysctl.conf                         gnu/lib/libobjc
lib/libpthread                          libexec/ftpd
libexec/login_skey                      libexec/login_tis
regress/misc                            sbin/disklabel
sbin/route                              sbin/swapctl
share/man                               share/mk
share/tmac                              sys/arch/amd64/amd64
sys/arch/amd64/conf                     sys/arch/amd64/stand/libsa
sys/arch/amd64/stand/pxeboot            sys/arch/hppa/conf
sys/arch/hppa/dev                       sys/arch/hppa/hppa
sys/arch/hppa/include                   sys/arch/i386/i386
sys/arch/i386/stand/libsa               sys/arch/i386/stand/pxeboot
sys/arch/mac68k/dev                     sys/arch/mac68k/include
sys/arch/mac68k/mac68k                  sys/arch/macppc/macppc
sys/arch/macppc/stand/tbxidata          sys/arch/sparc64/include
sys/arch/sparc64/sparc64                sys/conf
sys/crypto                              sys/dev/bluetooth
sys/dev/ic                              sys/dev/pci
sys/dev/usb                             sys/dev/wscons
sys/kern                                sys/net
sys/net80211                            sys/netbt
sys/sys                                 sys/ufs/ufs
usr.bin/cdio                            usr.bin/cvs
usr.bin/dc                              usr.bin/ftp
usr.bin/make                            usr.bin/netstat
usr.bin/nice                            usr.bin/passwd
usr.bin/pmdb                            usr.bin/sudo
usr.bin/systat                          usr.bin/top
usr.bin/vi                              usr.sbin/dhcpd
usr.sbin/hoststated                     usr.sbin/httpd
usr.sbin/ospfd                          usr.sbin/ppp

== bin =============================================================== 01/12 ==

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

cp

  ~ cp.c                                  

  > STDIN_FILENO is better than fileno(stdin); zinovik at cs.karelia.ru (deraadt@)

mv

  ~ mv.c                                  

  > Separate code a little, making it clearer.	From Gilles Chehade
  > <root at evilkittens dot org>.
  > Reset blen on malloc failure.
  > Match blen type with st_blksize.
  > OK moritz@ (ray@)

== distrib =========================================================== 02/12 ==

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

amd64

  ~ common/Makefile.inc                   

  > grow ramdisk filesystem size (deraadt@)

miniroot

  ~ install.sub                           

  > oops, forgot to crank to 4.2 (deraadt@)

notes

  ~ hppa/hardware                         

  > Enable rl(4) on hppa, tested by me, ok kettenis@ (jsg@)

sets

  ~ 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/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/base/md.alpha                   

  > sync (deraadt@)

  ~ lists/base/md.alpha                   ~ lists/base/md.amd64
  ~ lists/base/md.armish                  ~ lists/base/md.aviion
  ~ lists/base/md.cats                    ~ lists/base/md.hp300
  ~ lists/base/md.hppa                    ~ lists/base/md.hppa64
  ~ lists/base/md.i386                    ~ lists/base/md.landisk
  ~ lists/base/md.luna88k                 ~ lists/base/md.mac68k
  ~ lists/base/md.macppc                  ~ lists/base/md.mvme68k
  ~ lists/base/md.mvme88k                 ~ lists/base/md.mvmeppc
  ~ lists/base/md.sgi                     ~ lists/base/md.sparc
  ~ lists/base/md.sparc64                 ~ lists/base/md.vax
  ~ lists/base/md.zaurus                  ~ lists/comp/md.alpha
  ~ lists/comp/md.amd64                   ~ lists/comp/md.armish
  ~ lists/comp/md.aviion                  ~ lists/comp/md.cats
  ~ lists/comp/md.hp300                   ~ lists/comp/md.hppa
  ~ lists/comp/md.hppa64                  ~ lists/comp/md.i386
  ~ lists/comp/md.landisk                 ~ lists/comp/md.luna88k
  ~ lists/comp/md.mac68k                  ~ lists/comp/md.macppc
  ~ lists/comp/md.mvme68k                 ~ lists/comp/md.mvme88k
  ~ lists/comp/md.mvmeppc                 ~ lists/comp/md.sgi
  ~ lists/comp/md.sparc                   ~ lists/comp/md.sparc64
  ~ lists/comp/md.vax                     ~ lists/comp/md.zaurus

  > sync (deraadt@)

== etc =============================================================== 03/12 ==

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

MAKEDEV.common

  ~ MAKEDEV.common                        

  > +bthub
  > ok mk@ (todd@)

etc.amd64/MAKEDEV

  ~ etc.amd64/MAKEDEV                     

  > sync (todd@)

etc.amd64/MAKEDEV.md

  ~ etc.amd64/MAKEDEV.md                  

  > bthub for amd64, from johan (todd@)

etc.amd64/disktab

  ~ etc.amd64/disktab                     

  > grow ramdisk filesystem size (deraadt@)

etc.hppa/sysctl.conf

  ~ etc.hppa/sysctl.conf                  

  > Add commented out machdep.led_blink=1
  > ok miod@ (kettenis@)

etc.i386/MAKEDEV

  ~ etc.i386/MAKEDEV                      

  > sync (todd@)

etc.i386/MAKEDEV.md

  ~ etc.i386/MAKEDEV.md                   

  > +bthub
  > ok mk@ (todd@)

etc.macppc/MAKEDEV

  ~ etc.macppc/MAKEDEV                    

  > sync (todd@)

  ~ etc.macppc/MAKEDEV                    

  > sync (todd@)

etc.macppc/MAKEDEV.md

  ~ etc.macppc/MAKEDEV.md                 

  > bthub for macppc, ok mk@ (todd@)

  ~ etc.macppc/MAKEDEV.md                 

  > same # of bthub devices created by default to match i386
  > pointed out by xsa@ (todd@)

root/root.mail

  ~ root/root.mail                        

  > crank to 4.2-beta (deraadt@)

sysctl.conf

  ~ sysctl.conf                           

  > document multipath options.
  > ok claudio@ (pyr@)

== gnu =============================================================== 04/12 ==

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

lib/libobjc

  ~ Makefile.bsd-wrapper                  ~ shlib_version
  ~ libobjc/thr-posix.c                   

  > - enable thread support in libobjc
  > - disable thread priorities in libobjc to avoid thread starvation issues
  > - major bump lib due to new link dependency on pthread
  > - link objc regress with -pthread
  > Tested on i386/amd64/powerpc/landisk/vax/sparc64/hppa. okay espie@ (kurt@)

== lib =============================================================== 05/12 ==

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

libpthread

  ~ man/pthread_mutex_lock.3              

  > apparently this function cannot return EBUSY, so back out -r1.7;
  > from pjanzen; ok marc (jmc@)

== libexec =========================================================== 06/12 ==

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

ftpd

  ~ ftpd.c                                

  > Fix potential memory leak, when snprintf(3) returns an empty buffer.
  > OK ray@ (moritz@)

login_skey

  ~ login_skey.c                          

  > Remove the space after "Password:" in password prompts where echo is
  > turned off.  This is consistent with historic UNIX behavior. (millert@)

login_tis

  ~ login_tis.c                           

  > Remove the space after "Password:" in password prompts where echo is
  > turned off.  This is consistent with historic UNIX behavior. (millert@)

== regress =========================================================== 07/12 ==

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

misc

  ~ objc/Makefile                         

  > - enable thread support in libobjc
  > - disable thread priorities in libobjc to avoid thread starvation issues
  > - major bump lib due to new link dependency on pthread
  > - link objc regress with -pthread
  > Tested on i386/amd64/powerpc/landisk/vax/sparc64/hppa. okay espie@ (kurt@)

== sbin ============================================================== 08/12 ==

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

disklabel

  ~ editor.c                              

  > rearrange newline printing code during editor startup; ok millert krw
  > (deraadt@)

route

  ~ show.c                                

  > Sync closer to netstat/show.c this removes also the unneeded variable
  > noticed by Igor Zinovik. (claudio@)

swapctl

  ~ swaplist.c                            

  > use calloc() instead of malloc(); zinovik at cs.karelia.ru (deraadt@)

== share ============================================================= 09/12 ==

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

man

  ~ man8/man8.i386/MAKEDEV.8              

  > sync (todd@)

  ~ man8/man8.macppc/MAKEDEV.8            

  > sync (todd@)

  ~ man8/man8.amd64/MAKEDEV.8             

  > sync (todd@)

  ~ man4/cdce.4                           

  > updates for:
  > - supported devices
  > - DIAGNOSTICS
  > - SEE ALSO
  > from Marc Winiger
  > ok mbalmer (jmc@)

  + man4/btms.4                           + man4/btkbd.4

  > Add man pages bits after gwk's src commit. Not linked yet.
  > OK gwk at . (xsa@)

  ~ man4/btms.4                           ~ man4/btkbd.4

  > tweaks; (jmc@)

  ~ man9/pci_intr_map.9                   

  > pci_intr_line() doesn't take a pointer as its argument. (kettenis@)

  ~ man9/sensor_attach.9                  

  > KNF synopsis: put stars in appropriate places (consistent with other
  > synopses) (cnst@)

mk

  ~ sys.mk                                

  > crank to 4.2-beta (deraadt@)

tmac

  ~ mdoc/doc-common                       

  > crank to 4.2-beta (deraadt@)

== sys =============================================================== 10/12 ==

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

arch/amd64/amd64

  ~ conf.c                                

  > bthub for amd64, based on diff from johan
  > reads ok xsa@ compile tested phessler (todd@)

arch/amd64/conf

  ~ Makefile.amd64                        ~ RAMDISK
  ~ RAMDISK_CD                            

  > grow ramdisk filesystem size (deraadt@)

arch/amd64/stand/libsa

  ~ exec_i386.c                           ~ pxe.c

  > As on i386:
  > We don't want to pass the PXE MAC address to the kernel when booting
  > from a local disk, since the MAC address causes the kernel to look for
  > root on NFS.  Do this by remembering (not adding to boot arguments) the
  > MAC address when opening the PXE device, and clearing this if we happen
  > to load a file off a non-network disk.
  > "works as advertised for me" todd@;
  > "stop sitting on this/no objections" deraadt@;
  > amd64 code mainly written by patch(1). (tom@)

arch/amd64/stand/pxeboot

  ~ conf.c                                ~ devopen.c

  > As on i386:
  > We don't want to pass the PXE MAC address to the kernel when booting
  > from a local disk, since the MAC address causes the kernel to look for
  > root on NFS.  Do this by remembering (not adding to boot arguments) the
  > MAC address when opening the PXE device, and clearing this if we happen
  > to load a file off a non-network disk.
  > "works as advertised for me" todd@;
  > "stop sitting on this/no objections" deraadt@;
  > amd64 code mainly written by patch(1). (tom@)

arch/hppa/conf

  ~ GENERIC                               

  > Enable rl(4) on hppa, tested by me, ok kettenis@ (jsg@)

  ~ RAMDISK                               

  > Add ssio(4) and its com(4) ports; thanks to jsg@ for reminding me.
  > (kettenis@)

  ~ RAMDISK                               

  > There seems to be enough room for rl(4) after all. (kettenis@)

arch/hppa/dev

  ~ clock.c                               

  > Move hppa to __HAVE_TIMECOUNTERS. (kettenis@)

arch/hppa/hppa

  ~ machdep.c                             

  > Move hppa to __HAVE_TIMECOUNTERS. (kettenis@)

arch/hppa/include

  ~ _types.h                              

  > Move hppa to __HAVE_TIMECOUNTERS. (kettenis@)

  ~ pcb.h                                 

  > Seperate members of "struct pcb" that are accessed using physical addresses
  > from thos that are exclusively accessed using virtual addresses and add
  > padding between them to make sure they don't share a cache line.  Fixes
  > random crashes on at least PA-8700 and PA-7200 based machines.  Without
  > this,
  > the PA-7200 based C110 wouldn't stay up long enough to do an install.
  > ok miod@ (kettenis@)

arch/i386/i386

  ~ conf.c                                

  > Add glue for a control device for bthub(4).  Will be used to configure
  > device inquiry/discovery parameters, pairings, and what else might be
  > needed.
  > From discussion with gwk.  MAKEDEV goo follows later.
  > ok and lots of input from miod. (mk@)

  ~ powernow-k7.c                         

  > Adapt powernow-k7.c driver to use the ACPI _PSS table for retreiving
  > p_state data based on similar work done to powernow-k8.c. This work was
  > done by Devin Smith <devin at devinsmith dot net> and this commit is a
  > slightly modified verson of his last diff to tech@, thanks again for your
  > work. (gwk@)

arch/i386/stand/libsa

  ~ exec_i386.c                           ~ pxe.c

  > We don't want to pass the PXE MAC address to the kernel when booting
  > from a local disk, since the MAC address causes the kernel to look for
  > root on NFS.  Do this by remembering (not adding to boot arguments) the
  > MAC address when opening the PXE device, and clearing this if we happen
  > to load a file off a non-network disk.
  > "works as advertised for me" todd@;
  > "stop sitting on this/no objections" deraadt@ (tom@)

arch/i386/stand/pxeboot

  ~ conf.c                                ~ devopen.c

  > We don't want to pass the PXE MAC address to the kernel when booting
  > from a local disk, since the MAC address causes the kernel to look for
  > root on NFS.  Do this by remembering (not adding to boot arguments) the
  > MAC address when opening the PXE device, and clearing this if we happen
  > to load a file off a non-network disk.
  > "works as advertised for me" todd@;
  > "stop sitting on this/no objections" deraadt@ (tom@)

arch/mac68k/dev

  ~ esp.c                                 

  > It turns out that VIA2 always interrupts at level 2, and IPL_BIO is always
  > 2
  > too, so we can make these constants. (miod@)

arch/mac68k/include

  ~ cpu.h                                 ~ intr.h

  > It turns out that VIA2 always interrupts at level 2, and IPL_BIO is always
  > 2
  > too, so we can make these constants. (miod@)

arch/mac68k/mac68k

  ~ intr.c                                ~ machdep.c
  ~ via.c                                 

  > It turns out that VIA2 always interrupts at level 2, and IPL_BIO is always
  > 2
  > too, so we can make these constants. (miod@)

  ~ via.c                                 

  > slot range check in add_nubus_intr() is wrong by one. (miod@)

arch/macppc/macppc

  ~ conf.c                                

  > bthub for macppc to make xsa happy.
  > todd will commit the MAKEDEV bits later. (mk@)

arch/macppc/stand/tbxidata

  ~ bsd.tbxi                              

  > crank to 4.2-beta (deraadt@)

arch/sparc64/include

  ~ param.h                               

  > Get rid of the fixe VA range for device mappings; use uvm_km_valloc()
  > instead.
  > This allows mappings of more than 256MB, needed by some frame buffers.
  > "looks good", miod@ (kettenis@)

  ~ param.h                               

  > Remove some goo for dealing with 32-bit cpu's.
  > "I don't mind this diff" miod@ (kettenis@)

arch/sparc64/sparc64

  ~ machdep.c                             

  > Get rid of the fixe VA range for device mappings; use uvm_km_valloc()
  > instead.
  > This allows mappings of more than 256MB, needed by some frame buffers.
  > "looks good", miod@ (kettenis@)

  ~ ofw_machdep.c                         

  > Don't try to map interrupts that are already fully specified.  Makes the
  > onboard IDE controller on the Ultrabook 170/200 work. (kettenis@)

  ~ autoconf.c                            

  > Add support for bootpaths like /pci at 1f,4000/ide at 3,0/ata at 0,0/cmdk at 0,0
  > in addition to paths like /pci at 1f,0/ide at d,0/disk at 0,0 for machines rooting
  > off wd(4).	This makes the Ultrabook 170/200 find its root disk.
  > tested by krw@ (kettenis@)

conf

  ~ newvers.sh                            

  > crank to 4.2-beta (deraadt@)

crypto

  ~ arc4.c                                ~ arc4.h

  > add rc4_skip() function that can be used to discard bytes from
  > the arc4 key stream.
  > rc4_skip(ctx, len);
  > is equivalent to:
  > u_int8_t dummy[len];
  > rc4_crypt(ctx, dummy, dummy, len);
  > except that is does not require storage space and that it saves
  > some cpu cycles.
  > ok deraadt@ (damien@)

dev/bluetooth

  ~ bthub.c                               ~ files.bluetooth

  > Add glue for a control device for bthub(4).  Will be used to configure
  > device inquiry/discovery parameters, pairings, and what else might be
  > needed.
  > From discussion with gwk.  MAKEDEV goo follows later.
  > ok and lots of input from miod. (mk@)

  ~ bthub.c                               

  > Some style/knf nits.
  > Also, don't restrict to only opening dev minor 0. (mk@)

  ~ files.bluetooth                       

  > bthub needs-count (mk@)

  ~ files.bluetooth                       

  > This shouldn't be needs-count -- especially because it breaks config.
  > Revert it to needs-flag.
  > Noticed by xsa. (mk@)

  + bthid.h                               + bthidev.h
  + btms.c                                + btkbd.c
  + btdev.h                               

  > Commiting for xsa@ who dosent want to for some reason. He has KNFed and
  > de-proplibed some of the netbsd bluetooth drives for HID devices
  > (mice and keyboards) they will however NOT BUILD YET as they lack the
  > glue device bthidev and our replacement for the problib.
  > no objections from uwe (gwk@)

  ~ btdev.h                               

  > Missing $OpenBSD$ tag. (xsa@)

dev/ic

  ~ ac97.c                                

  > Add ids for two Conexant codecs; not sure they're official
  > ("does not exist outside of mentions in linux/netbsd on the web"),
  > gleaned from
  > http://www.ussg.iu.edu/hypermail/linux/kernel/0504.0/1146.html.
  > "sure" deraadt@, ok with above comment jsg@ (ian@)

dev/pci

  ~ if_tht.c                              

  > the softc variable is sc, not sp. (dlg@)

  ~ if_tht.c                              

  > clear the IFF_ALLMULTI flag when the interface goes down. (dlg@)

  ~ azalia.h                              ~ azalia_codec.c

  > We will never make a mixer item out of the pin control operation, so
  > move it out of azalia_generic_mixer_set into its own function,
  > azalia_generic_mixer_pinctrl.  From kent at netbsd.
  > In azalia_stac9200_mixer_init, let the unsolicited event handler make
  > the initial headphone vs speaker choice.  Removes some duplicate code.
  > These changes only affect STAC9200.  Tested by krw@ on a Latitude
  > D620. (deanna@)

  ~ azalia_codec.c                        

  > STAC7661:
  > - Add set_port and get_port functions and use them to create a stereo
  > master volume out of the headphone and speaker dacs.  Unbreaks setting
  > the volume in ports like xmms.
  > - Use the correct number of steps for the dac volumes. (deanna@)

  ~ azalia_codec.c                        

  > STAC7661: rename "inputs.mic" to "record.volume".  This is what the
  > audio layer wants, and is a more accurate description.  Use the
  > correct number of steps. (deanna@)

  ~ azalia_codec.c                        

  > Fix a typo in a comment: VAIO SE -> VAIO SZ. (deanna@)

  ~ azalia_codec.c                        

  > STAC7661:
  > - enable internal mic and select it as the default recording source,
  > - create mixerctl record.source for selecting between internal and
  > external mics,
  > - mute input by default. (deanna@)

  ~ if_wpi.c                              ~ if_wpireg.h

  > hardware WEP in the TX path.
  > make sure to clear the SCAN lock in case the scan is interrupted. (damien@)

  ~ bktr/bktr_core.c                      

  > Back out the tracking of procs in struct selinfo. There's one serious
  > bug in the code, but as soon as I try to fix it, it seems to trigger
  > some other bugs. Instead of trying to figure out what's going on
  > while everyone suffers, it's better to back out and figure out
  > the bugs outside the tree. (art@)

  ~ pcidevs.h                             ~ pcidevs_data.h

  > regen (ckuethe@)

  ~ pcidevs                               

  > add a bunch of new nvidia devices
  > ok matthieu (ckuethe@)

dev/usb

  ~ if_cdce.c                             ~ if_cdcereg.h
  ~ usbcdc.h                              

  > This improves cdce(4) and makes some devices work that previously did not
  > (like the Sony Ericsson K610 mobile phone).
  > - Read hardware address from ethernet descriptor makes the Sony Ericsson
  > K610 work.
  > - Add support for status notifications (interrupt endpoint).
  > - Recognize if there is a union descriptori (thus remove CDCE_NO_UNION).
  > - Handle wrong union descriptors (master/slave values are swapped)
  > (Ambit NTL 250)
  > Diff done by Marc Winiger <mw at msys.ch>, tested by many on different
  > platforms and with various devices:  cable modems, mobile phones, and,
  > zaurus as USB function.
  > ok jsg, claudio, kili (mbalmer@)

  ~ if_cdce.c                             

  > define and use CDCE_DEBUG and DPRINTF/DPRINTFN to be less noisy on the
  > console.
  > From Marc Winiger <mw at msys.ch>
  > ok jsg, claudio (mbalmer@)

  ~ if_cdce.c                             

  > Add a missing splx() and while there update the printf() to match the
  > format
  > of the other ones. From Marc Winiger mw at msys . ch (claudio@)

  ~ usb.h                                 ~ usbf_subr.c

  > Correct the length of the usb_string_descriptor_t and fix a possible
  > buffer overflow.
  > Problem found by (and original diff from) Marc Winiger <mw at msys.ch>,
  > comment
  > by me on jsg's request.
  > ok jsg, claudio (mbalmer@)

  ~ usbdevs                               

  > add biometric coprocessor (jasper@)

  ~ usbdevs.h                             ~ usbdevs_data.h

  > regen (jasper@)

dev/wscons

  ~ wsdisplay.c                           

  > Back out the tracking of procs in struct selinfo. There's one serious
  > bug in the code, but as soon as I try to fix it, it seems to trigger
  > some other bugs. Instead of trying to figure out what's going on
  > while everyone suffers, it's better to back out and figure out
  > the bugs outside the tree. (art@)

kern

  ~ init_main.c                           ~ kern_fork.c
  ~ sys_generic.c                         

  > Back out the tracking of procs in struct selinfo. There's one serious
  > bug in the code, but as soon as I try to fix it, it seems to trigger
  > some other bugs. Instead of trying to figure out what's going on
  > while everyone suffers, it's better to back out and figure out
  > the bugs outside the tree. (art@)

net

  ~ bpf.c                                 

  > Back out the tracking of procs in struct selinfo. There's one serious
  > bug in the code, but as soon as I try to fix it, it seems to trigger
  > some other bugs. Instead of trying to figure out what's going on
  > while everyone suffers, it's better to back out and figure out
  > the bugs outside the tree. (art@)

net80211

  ~ ieee80211.h                           

  > cleanup definition of struct ieee80211_eapol_key.
  > prepend 802.1X header.
  > use byte-arrays to prevent access to unaligned fields. (damien@)

  ~ ieee80211_crypto.c                    ~ ieee80211_var.h

  > add ic_globalcnt to struct ieee80211com:
  > in an RSNA, each STA must maintain a 256-bit global key counter that
  > must be initialized to a random value (see 8.5.7). (damien@)

  ~ ieee80211_crypto.c                    ~ ieee80211_proto.h

  > add functions to compute EAPOL-Key Key MIC fields and to encrypt/decrypt
  > EAPOL-Key Data fields. (damien@)

  ~ ieee80211_crypto.c                    

  > remove arc4_ compatibility macros. (damien@)

  ~ ieee80211_crypto.c                    

  > remove some unused key derivation functions.
  > we won't support PeerKey handshake in a first time. (damien@)

  ~ ieee80211_crypto.c                    

  > use rc4_skip().
  > fix ieee80211_eapol_key_encrypt() so that we don't add more padding
  > bytes than necessary in the case of AES Key Wrap encryption. (damien@)

  ~ ieee80211_crypto.c                    ~ ieee80211_proto.h

  > new function to check the MIC of a received EAPOL-Key frame. (damien@)

  ~ ieee80211.h                           

  > WPA1 uses its own (non-standard) EAPOL-Key descriptor type.
  > Remove a double definition.
  > Add definitions for Key Data Encapsulations. (damien@)

  ~ ieee80211_crypto.c                    ~ ieee80211_crypto.h

  > extend the ieee80211_key structure with a key identifier, a flags field
  > and a 64-bit receive sequence counter (for group keys).
  > add a ieee80211_cipher_keylen() function to retrieve the key length
  > in bytes used by a specific cipher.
  > account for 802.1X header size when computing the Key MIC.
  > some cleanup in comments and variable names while i'm here. (damien@)

  ~ ieee80211_node.h                      

  > add a couple of fields to the ieee80211_node structure to manage RSN
  > states. those fields will be put in a separate structure (ieee80211_rsna)
  > in a future cleanup phase to save some space.
  > add a ni_port_valid field to manage PAE state.
  > in pre-RSNA networks, this field will be set to 1 after a successful
  > open authentication.  in RSNA networks, this field will be set to 1
  > after a successful 4-way handshake. (damien@)

  ~ ieee80211_var.h                       

  > add callbacks that drivers must implement to install/reset keys.
  > add a 64-bit replay counter for sending EAPOL-Key request frames.
  > add a ic_recv_eapol callback to process EAPOL frames.
  > drivers can redefine this callback but net80211 will implement it.
  > (damien@)

  ~ ieee80211_input.c                     ~ ieee80211_output.c
  ~ ieee80211_proto.c                     ~ ieee80211_proto.h

  > adds functions to parse and to build EAPOL-Key frames used in
  > the 4-way and group-key handshake.
  > the state machine is still missing though so this is not used
  > anywhere yet. (damien@)

netbt

  ~ hci_link.c                            ~ l2cap_signal.c
  ~ hci.h                                 

  > spacing, chop some of the more obscenely long lines. (gwk@)

sys

  ~ conf.h                                

  > Add glue for a control device for bthub(4).  Will be used to configure
  > device inquiry/discovery parameters, pairings, and what else might be
  > needed.
  > From discussion with gwk.  MAKEDEV goo follows later.
  > ok and lots of input from miod. (mk@)

  ~ param.h                               

  > crank to 4.2-beta (deraadt@)

  ~ proc.h                                ~ selinfo.h

  > Back out the tracking of procs in struct selinfo. There's one serious
  > bug in the code, but as soon as I try to fix it, it seems to trigger
  > some other bugs. Instead of trying to figure out what's going on
  > while everyone suffers, it's better to back out and figure out
  > the bugs outside the tree. (art@)

ufs/ufs

  ~ ufs_dirhash.c                         

  > Since __sparc__ gets defined on sparc64 too, add a !defined (__sparc64__)
  > to the condition that protects CPU_ISSUN4OR4C.  While we currently define
  > that macro on sparc64 too, we won't in the near future.
  > ok miod@ (kettenis@)

== usr.bin =========================================================== 11/12 ==

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

cdio

  ~ cdio.1                                

  > lexicographically sorts the list of commands
  > ok jmc@ (sobrado@)

cvs

  ~ checkout.c                            

  > Correctly handle the export command when writing to history file. (xsa@)

dc

  ~ dc.c                                  

  > sync the command usage with its synopsis
  > ok jmc@ (sobrado@)

ftp

  ~ cmds.c                                

  > Remove the space after "Password:" in password prompts where echo is
  > turned off.  This is consistent with historic UNIX behavior. (millert@)

make

  ~ var.c                                 

  > make sure loop variables use their own buffers.
  > (causes .for loops to give weird results very infrequently, memory handling
  > was slightly wrong, but not enough to break things thoroughly).
  > noticed by naddy@ (espie@)

  ~ arch.c                                ~ for.c
  ~ main.c                                ~ parse.c
  ~ suff.c                                ~ var.c
  ~ var.h                                 ~ varmodifiers.c
  ~ varmodifiers.h                        

  > change Var_ParseSkip API to increment the position instead of returning a
  > length, simplifies code.
  > (warns a bit, symptom of some further issues to fix).
  > okay millert@ (espie@)

  ~ arch.c                                ~ for.c
  ~ main.c                                ~ parse.c
  ~ suff.c                                ~ var.c
  ~ varmodifiers.c                        ~ varmodifiers.h

  > move the code that grabs a value in Var_Parse in its own function,
  > get_expanded_value.
  > Extend the code a bit to be much more thorough in case of a recursive
  > expansion: shows exactly the cycle of variable names involved.
  > okay millert@ (espie@)

  ~ arch.c                                ~ for.c
  ~ main.c                                ~ parse.c
  ~ suff.c                                ~ var.c
  ~ varmodifiers.c                        ~ varmodifiers.h

  > simplify computations in the var module: instead of advancing a char *
  > and keeping track of a length, we just advance the char *, and ditch
  > the length. We can still get the length at the end of the top-level
  > functions to satisfy existing interfaces.
  > Much simpler code, less error-prone.
  > Okay millert@ (espie@)

  ~ var.c                                 

  > zap unused variable (espie@)

  ~ parsevar.c                            

  > reformat to 8 chars tab, zap unneeded comment (no binary change) (espie@)

  ~ buf.c                                 ~ cmd_exec.c
  ~ dir.c                                 

  > reindent (no binary change) (espie@)

  ~ for.c                                 

  > reindent, no binary change (espie@)

  ~ lst.lib/lstAddNew.c                   ~ lst.lib/lstAppend.c
  ~ lst.lib/lstConcat.c                   ~ lst.lib/lstConcatDestroy.c
  ~ lst.lib/lstDeQueue.c                  ~ lst.lib/lstDestroy.c
  ~ lst.lib/lstDupl.c                     ~ lst.lib/lstFindFrom.c
  ~ lst.lib/lstForEachFrom.c              ~ lst.lib/lstInit.c
  ~ lst.lib/lstInsert.c                   ~ lst.lib/lstMember.c
  ~ lst.lib/lstRemove.c                   ~ lst.lib/lstReplace.c
  ~ lst.lib/lstSucc.c                     

  > reindent, no code change (espie@)

netstat

  ~ show.c                                

  > Bring back a few things from route/show.c which I like better. (claudio@)

  ~ main.c                                ~ netstat.1
  ~ netstat.h                             ~ show.c

  > Make it possible to show alternate routing tables in netstat. This mostly
  > comes from route(8) which already had the -T option.  OK henning@
  > (claudio@)

  ~ netstat.1                             

  > Update synopsis. with help by jmc@ (claudio@)

nice

  ~ nice.1                                

  > getpriority() and setpriority() are documented in the same page, so only
  > list one of them as a reference in SEE ALSO; (jmc@)

passwd

  ~ krb5_passwd.c                         

  > Remove the space after "Password:" in password prompts where echo is
  > turned off.  This is consistent with historic UNIX behavior. (millert@)

pmdb

  ~ elf_syms.c                            

  > uninit variable causing crash; veins at evilkittens.org (deraadt@)

  ~ aout_syms.c                           

  > same uninit variable bug as in elf_syms.c (deraadt@)

sudo

  - RUNSON                                - sudo.8
  - sudoers.5                             - visudo.8
  ~ BUGS                                  ~ CHANGES
  ~ HISTORY                               ~ INSTALL
  ~ INSTALL.configure                     ~ LICENSE
  ~ Makefile.in                           ~ PORTING
  ~ README                                ~ README.LDAP
  ~ TROUBLESHOOTING                       ~ UPGRADE
  ~ aclocal.m4                            ~ alloc.c
  ~ check.c                               ~ compat.h
  ~ config.guess                          ~ config.h
  ~ config.h.in                           ~ config.sub
  ~ configure                             ~ configure.in
  ~ def_data.c                            ~ def_data.h
  ~ def_data.in                           ~ defaults.c
  ~ env.c                                 ~ fileops.c
  ~ find_path.c                           ~ getspwuid.c
  ~ gettime.c                             ~ goodpath.c
  ~ ins_csops.h                           ~ install-sh
  ~ interfaces.c                          ~ interfaces.h
  ~ logging.c                             ~ logging.h
  ~ parse.c                               ~ parse.h
  ~ parse.lex                             ~ parse.yacc
  ~ pathnames.h                           ~ pathnames.h.in
  ~ set_perms.c                           ~ sudo.c
  ~ sudo.h                                ~ sudo_edit.c
  ~ sudo_noexec.c                         ~ sudoers
  ~ sudoers2ldif                          ~ testsudoers.c
  ~ tgetpass.c                            ~ version.h
  ~ visudo.c                              ~ zero_bytes.c
  ~ auth/afs.c                            ~ auth/aix_auth.c
  ~ auth/bsdauth.c                        ~ auth/dce.c
  ~ auth/fwtk.c                           ~ auth/kerb4.c
  ~ auth/kerb5.c                          ~ auth/pam.c
  ~ auth/passwd.c                         ~ auth/rfc1938.c
  ~ auth/secureware.c                     ~ auth/securid.c
  ~ auth/securid5.c                       ~ auth/sia.c
  ~ auth/sudo_auth.c                      ~ auth/sudo_auth.h
  ~ sudo/Makefile                         ~ visudo/Makefile
  + ldap.c                                + memrchr.c
  + schema.OpenLDAP                       + schema.iPlanet
  + sudo.pod                              + sudoers.pod
  + varsub                                + visudo.pod

  > Update to sudo 1.6.9p1.  Note that the environment handling in sudo
  > 1.6.9 has changed relative to older versions.  Sudo now starts
  > commands with a minimal environment containing the variables in the
  > env_keep and env_check lists.  This behavior is configurable in the
  > sudoers file.  Please see the "SECURITY NOTES" section in the sudo
  > manual. (millert@)

  ~ sudo.pod                              

  > make FILES section entries line up (millert@)

  ~ env.c                                 

  > env.c (millert@)

  ~ CHANGES                               ~ Makefile.in
  ~ sudo.pod                              ~ sudoers.pod
  ~ version.h                             ~ visudo.pod

  > Update to sudo 1.6.9p2 (millert@)

  ~ sudo.pod                              ~ sudoers.pod
  ~ visudo.pod                            

  > Change FILES section to use =item (millert@)

  ~ sudo.pod                              ~ sudoers.pod

  > add missing over/back (millert@)

systat

  ~ sensors.c                             

  > zap redundant code; ok deanna@ (cnst@)

top

  ~ display.c                             ~ machine.c
  ~ utils.c                               

  > replace a few more malloc(n*m) idioms with calloc(n,m) for safety;
  > inspired by zinovik at cs.karelia.ru (deraadt@)

  ~ display.c                             ~ display.h
  ~ top.c                                 

  > u_endscreen()'s argument is entirely unused; inspired by
  > zinovik at cs.karelia.ru (deraadt@)

  ~ display.c                             

  > size_t vs ssize_t error; spotted by zinovik at cs.karelia.ru (deraadt@)

vi

  ~ cl/cl_read.c                          

  > Add the correct file descriptor to rdfd when cycling through
  > the list of scripting windows.  Appears to be a cut and paste error.
  > OK deraadt@ (millert@)

== usr.sbin ========================================================== 12/12 ==

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

dhcpd

  ~ dhcpd.c                               

  > use 1 vs. -1 for true; ok henning@ krw@ (stevesk@)

hoststated

  ~ imsg.c                                

  > make imsg_create use dynamic buffers.
  > this does not change imsg_compose's behavior but allows the message's
  > buffer to grow and will avoid sending a ton of small messages when
  > unrolling lists between two processes.
  > discussed with claudio (and coming to ospfd soon). (pyr@)

  ~ hoststated.conf.5                     

  > Quote digest otherwise it won't be parsed as a string. (pyr@)

  ~ relay.c                               

  > Combine http filter/expect cases to simplify code.
  > ok reyk@ (jsg@)

httpd

  ~ src/modules/standard/mod_mime_magic.c

  > fix a variable shadowing problem
  > PR5549, From: veins at evilkittens.org (henning@)

ospfd

  ~ kroute.c                              

  > when multipath routes exist, display them in ospfctl sh fib output.
  > ok claudio@ (pyr@)

  ~ imsg.c                                

  > make imsg_create use dynamic buffers.
  > this does not change imsg_compose's behavior but allows the message's
  > buffer to grow and will avoid sending a ton of small messages when
  > unrolling lists between two processes.
  > this is needed for sending multiple routes at once when updating the
  > fib with multipath routes.
  > discussed and ok claudio@ (pyr@)

  ~ ospfd.c                               ~ ospfe.c
  ~ rde.c                                 

  > Don't fatal if the imsg pipe is closed, this is often triggered in the
  > parent
  > and hides the real cause of the termination.
  > OK norby@, reyk@, pyr@ (claudio@)

ppp

  ~ pppctl/pppctl.c                       

  > Remove the space after "Password:" in password prompts where echo is
  > turned off.  This is consistent with historic UNIX behavior. (millert@)

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


More information about the owc mailing list