[odc] Daily src changes for 2007-03-19

ODC auto at squish.net
Tue Mar 20 07:00:22 GMT 2007


OpenBSD src changes summary for 2007-03-19
==========================================

bin/df                                  distrib/notes
distrib/sets                            gnu/usr.bin/binutils
lib/libc                                lib/libevent
sbin/badsect                            sbin/bioctl
sbin/dump                               sbin/dumpfs
sbin/fsck_ffs                           sbin/fsirand
sbin/growfs                             sbin/ncheck_ffs
sbin/newfs                              sbin/scan_ffs
share/man                               sys/arch/i386/conf
sys/arch/i386/i386                      sys/arch/i386/include
sys/arch/i386/isa                       sys/arch/i386/pci
sys/arch/landisk/conf                   sys/arch/landisk/landisk
sys/arch/sh/sh                          sys/arch/sparc64/sparc64
sys/conf                                sys/dev
sys/dev/ic                              sys/dev/pci
sys/kern                                sys/net
sys/ufs/ffs                             usr.bin/compress
usr.bin/ssh                             usr.sbin/bgpd
usr.sbin/dvmrpd                         usr.sbin/hoststated
usr.sbin/ntpd                           usr.sbin/ospfd
usr.sbin/pkg_add                        usr.sbin/ripd

== bin =============================================================== 01/09 ==

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

df

  ~ ffs_df.c                              

  > Add FFS2 fields to the superblock, change file system tools to keep
  > accessing FFS1 fields, okay art@, quite some testing by ckuethe@, simon@
  > and thib@, thanks. (pedro@)

== distrib =========================================================== 02/09 ==

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

notes

  ~ luna88k/hardware                      

  > luna88k LCD device is now user-controllable by lcd(4).
  > ok miod@ (aoyama@)

sets

  ~ lists/man/mi                          

  > sync (deraadt@)

  ~ lists/man/mi                          

  > sync (deraadt@)

  ~ lists/base/md.landisk                 ~ lists/base/md.sgi
  ~ lists/comp/md.alpha                   ~ lists/comp/md.amd64
  ~ lists/comp/md.armish                  ~ lists/comp/md.cats
  ~ lists/comp/md.hppa                    ~ lists/comp/md.hppa64
  ~ lists/comp/md.i386                    ~ lists/comp/md.landisk
  ~ lists/comp/md.macppc                  ~ lists/comp/md.mvmeppc
  ~ lists/comp/md.sgi                     ~ lists/comp/md.sparc
  ~ lists/comp/md.sparc64                 ~ lists/comp/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
  ~ lists/comp/md.macppc                  ~ lists/comp/mi

  > sync (deraadt@)

  ~ lists/comp/mi                         

  > sync (deraadt@)

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

  > sync (deraadt@)

== gnu =============================================================== 03/09 ==

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

usr.bin/binutils

  ~ Makefile.bsd-wrapper                  

  > build two more man pages; Ingo Schwarze (deraadt@)

== lib =============================================================== 04/09 ==

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

libc

  ~ crypt/bcrypt.c                        

  > Get rid of useless #if 0 block, especially since the code is included
  > immediately after.
  > OK millert at .ay@)

libevent

  ~ Makefile                              ~ buffer.c
  ~ evbuffer.c                            ~ event-internal.h
  ~ event.3                               ~ event.c
  ~ event.h                               ~ kqueue.c
  ~ log.c                                 ~ log.h
  ~ select.c                              ~ shlib_version
  ~ signal.c                              + evdns.3
  + evdns.c                               + evdns.h
  + event_tagging.c                       + evhttp.h
  + http-internal.h                       + http.c

  > Update to libevent-1.3b while retaining our local changes.	beck@ OK
  > (millert@)

  ~ event.3                               

  > tweaks; (jmc@)

  ~ Makefile                              

  > provide MLINKS for evhttp_start() and evhttp_free(); (jmc@)

  ~ evdns.3                               

  > clean up this page; (jmc@)

  ~ Makefile                              

  > add MLINKS for evdns_err_to_string() and evdns_nameserver_add(); (jmc@)

  ~ event.3                               

  > +.Xr evdns 3 , (jmc@)

  ~ evdns.3                               

  > further cleanup; (jmc@)

== sbin ============================================================== 05/09 ==

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

badsect

  ~ badsect.c                             

  > Add FFS2 fields to the superblock, change file system tools to keep
  > accessing FFS1 fields, okay art@, quite some testing by ckuethe@, simon@
  > and thib@, thanks. (pedro@)

bioctl

  ~ bioctl.c                              

  > Add a new device that provides a framework for IO manipulation.  A very
  > basic
  > implementation of a RAID 1 is included in this but it does not deal with
  > failures yet.  Disabled in GENERIC.
  > Suggestions from and ok beck@ miod@ krw@ dlg@ deraadt@ (marco@)

dump

  ~ traverse.c                            

  > Add FFS2 fields to the superblock, change file system tools to keep
  > accessing FFS1 fields, okay art@, quite some testing by ckuethe@, simon@
  > and thib@, thanks. (pedro@)

dumpfs

  ~ dumpfs.c                              

  > Add FFS2 fields to the superblock, change file system tools to keep
  > accessing FFS1 fields, okay art@, quite some testing by ckuethe@, simon@
  > and thib@, thanks. (pedro@)

fsck_ffs

  ~ main.c                                ~ pass1.c
  ~ pass5.c                               ~ setup.c
  ~ utilities.c                           

  > Add FFS2 fields to the superblock, change file system tools to keep
  > accessing FFS1 fields, okay art@, quite some testing by ckuethe@, simon@
  > and thib@, thanks. (pedro@)

  ~ setup.c                               

  > be a tiny little bit more verbose when encoutering bad block or fragment
  > sizes; requested by mickey@ (otto@)

fsirand

  ~ fsirand.c                             

  > Bits to make fsirand grok FFS2, okay millert@ (pedro@)

growfs

  ~ debug.c                               ~ growfs.c

  > Add FFS2 fields to the superblock, change file system tools to keep
  > accessing FFS1 fields, okay art@, quite some testing by ckuethe@, simon@
  > and thib@, thanks. (pedro@)

ncheck_ffs

  ~ ncheck_ffs.c                          

  > Add FFS2 fields to the superblock, change file system tools to keep
  > accessing FFS1 fields, okay art@, quite some testing by ckuethe@, simon@
  > and thib@, thanks. (pedro@)

newfs

  ~ mkfs.c                                

  > Add FFS2 fields to the superblock, change file system tools to keep
  > accessing FFS1 fields, okay art@, quite some testing by ckuethe@, simon@
  > and thib@, thanks. (pedro@)

scan_ffs

  ~ scan_ffs.c                            

  > Add FFS2 fields to the superblock, change file system tools to keep
  > accessing FFS1 fields, okay art@, quite some testing by ckuethe@, simon@
  > and thib@, thanks. (pedro@)

== share ============================================================= 06/09 ==

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

man

  ~ man9/tc_init.9                        

  > correct name for the source file with timecounter implementation; ok jmc@
  > (alek@)

  ~ man4/man4.zaurus/Makefile             + man4/man4.zaurus/pxammc.4

  > Describe the pxammc(4) driver (uwe@)

  ~ man4/sdhc.4                           

  > sdhc does not relate to pci (uwe@)

  ~ man4/Makefile                         

  > put files that got deleted back (deraadt@)

  ~ man4/nmea.4                           

  > Document recent changes, i.e. that the sensor status can be CRITICAL when
  > tty timestamping is enabled but there is no PPS signal present. (mbalmer@)

  ~ man4/carp.4                           

  > groff does not like blank lines; (jmc@)

  ~ man4/nmea.4                           

  > tweak; (jmc@)

  ~ man4/man4.zaurus/apm.4                

  > new sentence, new line; (jmc@)

  ~ man4/man4.zaurus/pxaip.4              

  > - add .Cd entries for com2, zrc0, and pxammc0
  > - put zaudio0 .Cd entry in the correct place
  > - add pxammc(4) to the list of supported devices
  > - sync the .Nd lines for all devices
  > - kill duplicate entries in SEE ALSO (jmc@)

  ~ man4/man4.zaurus/pxaip.4              ~ man4/man4.zaurus/lcd.4
  ~ man4/man4.zaurus/pxadmac.4            ~ man4/man4.zaurus/pxaintc.4
  ~ man4/man4.zaurus/pxapcic.4            ~ man4/man4.zaurus/pxaudc.4
  ~ man4/man4.zaurus/saost.4              

  > english does not require that nouns be capitalised; (jmc@)

== sys =============================================================== 07/09 ==

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

arch/i386/conf

  ~ GENERIC                               ~ files.i386

  > Add a new device that provides a framework for IO manipulation.  A very
  > basic
  > implementation of a RAID 1 is included in this but it does not deal with
  > failures yet.  Disabled in GENERIC.
  > Suggestions from and ok beck@ miod@ krw@ dlg@ deraadt@ (marco@)

  ~ files.i386                            

  > Move i386 to timecounters. This is more or less the same code as amd64.
  > The "lapic" timer is ripped out since it wasn't actually a lapic timer,
  > but a hacked up tsc timer with some synchronization for MP. There is no
  > tsc timer right now since they are very unreliable on MP systems, systems
  > with apm, and systems that change the cpu clock. Which basically means
  > every modern machine out there. We're running with the i8259 timer now.
  > deraadt@ ok (art@)

  ~ GENERIC                               ~ files.i386

  > attach softraid to the root of the device tree in a machine independant
  > way, rather than requiring some glue in each machines mainbus probe.
  > it is still commented out.
  > based on a discussion with miod@ ok marco@ deraadt@ (dlg@)

arch/i386/i386

  ~ mainbus.c                             

  > Add a new device that provides a framework for IO manipulation.  A very
  > basic
  > implementation of a RAID 1 is included in this but it does not deal with
  > failures yet.  Disabled in GENERIC.
  > Suggestions from and ok beck@ miod@ krw@ dlg@ deraadt@ (marco@)

  ~ apm.c                                 ~ lapic.c
  ~ machdep.c                             

  > Move i386 to timecounters. This is more or less the same code as amd64.
  > The "lapic" timer is ripped out since it wasn't actually a lapic timer,
  > but a hacked up tsc timer with some synchronization for MP. There is no
  > tsc timer right now since they are very unreliable on MP systems, systems
  > with apm, and systems that change the cpu clock. Which basically means
  > every modern machine out there. We're running with the i8259 timer now.
  > deraadt@ ok (art@)

  ~ mainbus.c                             

  > attach softraid to the root of the device tree in a machine independant
  > way, rather than requiring some glue in each machines mainbus probe.
  > it is still commented out.
  > based on a discussion with miod@ ok marco@ deraadt@ (dlg@)

  ~ vm_machdep.c                          

  > Deactivate the pmap in cpu_exit. This way we can avoid quite a lot of
  > tlb shootdowns in the reaper.
  > mickey@ ok (art@)

arch/i386/include

  ~ _types.h                              ~ cpu.h

  > Move i386 to timecounters. This is more or less the same code as amd64.
  > The "lapic" timer is ripped out since it wasn't actually a lapic timer,
  > but a hacked up tsc timer with some synchronization for MP. There is no
  > tsc timer right now since they are very unreliable on MP systems, systems
  > with apm, and systems that change the cpu clock. Which basically means
  > every modern machine out there. We're running with the i8259 timer now.
  > deraadt@ ok (art@)

arch/i386/isa

  ~ clock.c                               

  > Move i386 to timecounters. This is more or less the same code as amd64.
  > The "lapic" timer is ripped out since it wasn't actually a lapic timer,
  > but a hacked up tsc timer with some synchronization for MP. There is no
  > tsc timer right now since they are very unreliable on MP systems, systems
  > with apm, and systems that change the cpu clock. Which basically means
  > every modern machine out there. We're running with the i8259 timer now.
  > deraadt@ ok (art@)

arch/i386/pci

  ~ pcibios.c                             ~ pcibiosvar.h

  > typo fixes; didickman at gmaileraadt@)

arch/landisk/conf

  ~ GENERIC                               ~ RAMDISK

  > Remove force-PIO workaround for wd at pciide.iod@)

arch/landisk/landisk

  ~ bus_dma.c                             

  > bus_dmamap_sync fixes to cope with real life. (miod@)

arch/sh/sh

  ~ cache_sh4.c                           

  > Default to writeback cache. (miod@)

arch/sparc64/sparc64

  ~ clock.c                               

  > please always test RAMDISK kernels (deraadt@)

  ~ clock.c                               

  > Not only did I break RAMDISK, I also left a debugging printf. (art@)

conf

  ~ files                                 

  > Add a new device that provides a framework for IO manipulation.  A very
  > basic
  > implementation of a RAID 1 is included in this but it does not deal with
  > failures yet.  Disabled in GENERIC.
  > Suggestions from and ok beck@ miod@ krw@ dlg@ deraadt@ (marco@)

  ~ GENERIC                               ~ files

  > attach softraid to the root of the device tree in a machine independant
  > way, rather than requiring some glue in each machines mainbus probe.
  > it is still commented out.
  > based on a discussion with miod@ ok marco@ deraadt@ (dlg@)

dev

  ~ biovar.h                              + softraid.c
  + softraidvar.h                         

  > Add a new device that provides a framework for IO manipulation.  A very
  > basic
  > implementation of a RAID 1 is included in this but it does not deal with
  > failures yet.  Disabled in GENERIC.
  > Suggestions from and ok beck@ miod@ krw@ dlg@ deraadt@ (marco@)

  ~ softraid.c                            ~ softraidvar.h

  > attach softraid to the root of the device tree in a machine independant
  > way, rather than requiring some glue in each machines mainbus probe.
  > it is still commented out.
  > based on a discussion with miod@ ok marco@ deraadt@ (dlg@)

  ~ softraid.c                            

  > Fix keyword expansion.
  > ok marco (mk@)

  ~ softraid.c                            ~ softraidvar.h

  > the autoconf glue funcs (match/attach/etc) are only used inside softraid.c,
  > so prototype them there rather than in softraidvar.h.
  > shuffle these funcs a little bit while here to make it look more like
  > everything else.
  > ok marco@ (dlg@)

dev/ic

  ~ acx.c                                 

  > Only call bus_dmamap_unload() if we loaded a dmamap beforehand. Found out
  > the hard way on sparc64. Now acx(4) no longer panics but it does not yet
  > work.  OK mglocker@ (claudio@)

dev/pci

  ~ if_bge.c                              

  > Fix some code relative to chips that don't currently work (BCM5722 &
  > BCM5756).  They still don't work but when they do they won't use an
  > inappropriate Jitter bug workaround. No effect on other chips.
  > From Michael Chan of Broadcom, via Linux tg3 via Brad.
  > ok reyk@ (krw@)

kern

  ~ tty_nmea.c                            

  > Change the way the nmea(4) line discipline takes the timestamp for
  > the timedelta sensor when no PPS signal is available.
  > Previously, the timestamp was taken at the leading '$' character
  > of a GPRMC message, which was not always correct, as some GPS units
  > send other messages first; we do not know when the GPRMC message
  > is sent within a data block (we refer to a data block as the set
  > of NMEA messages that are sent by a GPS unit in one go, usually
  > once per second).
  > nmea(4) now takes the timestamp at the first '$' character received
  > after the start of a new seconds.  Since GPS units transmit a data
  > block every second, the first message can be found by measuring the
  > gap between consecutive messages:  after the longest gap, the first
  > message of the next second follows.  And it is at the leading '$'
  > character of this message that we take the timestamp.
  > $GPGGA,.....    <- take timestamp here
  > $GPGSA,.....
  > $GPRMC,.....    <- decode time here
  > ..		   <- possibly more messages
  > <- longer gap till start of next second
  > $GPGGA,.....    <- it starts all over, take next timestamp
  > This code has been designed to work independent of the baudrate and
  > the rate at which the GPS sends out it's data blocks (usually 1 Hz,
  > but 5 Hz units are common as well):
  > With this change, precision is greatly improved in the absence of a
  > PPS signal and as a side effect, jitter is reduced.
  > Note that while this is much better than before, there is still a
  > slight offset to the real time, as calculating the fix in the GPS unit
  > and transmitting the '$' character takes a short, but unpredictable
  > amount of time.
  > When tty timestamping is enabled, but there is no PPS signal available,
  > the sensor status will be degraded to CRITICAL, which means "check your
  > hardware".
  > Thanks to Chris Kuethe for testing and feedback.  ok ckuethe. (mbalmer@)

  ~ init_main.c                           

  > attach softraid to the root of the device tree in a machine independant
  > way, rather than requiring some glue in each machines mainbus probe.
  > it is still commented out.
  > based on a discussion with miod@ ok marco@ deraadt@ (dlg@)

net

  ~ if_pflog.c                            

  > no longer create a pflog0 by default.
  > we had to put this workaround in since /etc/rc used to use the exit code
  > if "ifconfig pflog0" to decide wether we run on a kernel with pflog
  > support.
  > rc has been fixed to explicitely create pflog0 when pf and pflogd are
  > enabled in November 2006, so now is the time to remove this compat hack.
  > pplz who haven't updated rc since 2006/11/16 lose pflogd. ok ryan theo
  > (henning@)

  ~ if_spppsubr.c                         

  > Use u_int32_t instead of u_long for IP addresses.
  > OK claudio@ (mpf@)

ufs/ffs

  ~ ffs_vfsops.c                          ~ fs.h

  > Add FFS2 fields to the superblock, change file system tools to keep
  > accessing FFS1 fields, okay art@, quite some testing by ckuethe@, simon@
  > and thib@, thanks. (pedro@)

  ~ ffs_vfsops.c                          

  > Also shift superblock fields in ffs_reload(), okay beck@ deraadt@ (pedro@)

== usr.bin =========================================================== 08/09 ==

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

compress

  ~ gzopen.c                              

  > Fix check for failed read, and add another one; okay millert@ (pedro@)

ssh

  ~ sshd_config                           

  > Disable the legacy SSH protocol 1 for new installations via
  > a configuration override. In the future, we will change the
  > server's default itself so users who need the legacy protocol
  > will need to turn it on explicitly (djm@)

  ~ ssh-agent.c                           

  > Remove the signal handler that checks if the agent's parent process
  > has gone away, instead check when the select loop returns.	Record when
  > the next key will expire when scanning for expired keys.  Set the select
  > timeout to whichever of these two things happens next.  With djm@, with &
  > ok deraadt@ markus@ (dtucker@)

== usr.sbin ========================================================== 09/09 ==

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

bgpd

  ~ imsg.c                                ~ control.c

  > when our red/recv/recvmsg in imsg_read gives EINTR or EAGAIN, do not
  > signal "connection closed" upstream.
  > spotted by Valentin Kozamernik <tin at komna.comhenning@)

dvmrpd

  ~ control.c                             ~ imsg.c

  > do not signal "connection closed" upstream on EINTR/EAGAIN, from bgpd et al
  > (henning@)

hoststated

  ~ control.c                             ~ imsg.c

  > do not signal "connection closed" upstream on EINTR/EAGAIN, from bgpd et al
  > (henning@)

ntpd

  ~ imsg.c                                

  > when our red/recv/recvmsg in imsg_read gives EINTR or EAGAIN, do not
  > signal "connection closed" upstream.
  > spotted by Valentin Kozamernik <tin at komna.comhenning@)

ospfd

  ~ control.c                             ~ imsg.c

  > when our red/recv/recvmsg in imsg_read gives EINTR or EAGAIN, do not
  > signal "connection closed" upstream.
  > spotted by Valentin Kozamernik <tin at komna.comhenning@)

pkg_add

  ~ pkg_create                            

  > make `no @owner', `weird mode' and `@dirrm' into errors. (espie@)

ripd

  ~ control.c                             ~ imsg.c

  > do not signal "connection closed" upstream on EINTR/EAGAIN, from bgpd et al
  > (henning@)

  ~ kroute.c                              

  > Doh! If we support "redistribute rtlabel" we should actually track the
  > routing labels in ripd's kroute code. Just steal the code from ospfd which
  > does it right.  OK michele@ (claudio@)

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



More information about the odc mailing list