[odc] Daily src changes for 2005-11-13

ODC auto at squish.net
Mon Nov 14 07:09:20 GMT 2005


OpenBSD src changes summary for 2005-11-13
==========================================

lib/libc                                libexec/login_krb5
sbin/disklabel                          sbin/ipsecctl
sbin/isakmpd                            sbin/scsi
share/man                               sys/arch/amd64/amd64
sys/arch/amd64/include                  sys/arch/hp300/dev
sys/arch/hp300/hp300                    sys/arch/i386/i386
sys/arch/i386/include                   sys/arch/i386/pci
sys/arch/m68k/include                   sys/arch/mac68k/mac68k
sys/arch/macppc/conf                    sys/arch/macppc/dev
sys/arch/macppc/macppc                  sys/arch/macppc/pci
sys/arch/powerpc/include                sys/arch/powerpc/powerpc
sys/arch/sparc/include                  sys/arch/sparc/sparc
sys/dev/i2c                             sys/dev/pci
sys/kern                                sys/scsi
sys/sys                                 usr.bin/ftp
usr.bin/mg                              usr.sbin/bind
usr.sbin/dhcpd                          usr.sbin/dhcrelay
usr.sbin/tcpdump                        

== lib =============================================================== 01/07 ==

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

libc

  ~ net/getaddrinfo.3                     

  > save errno in example code. from mpech@ ok jmc@ (otto@)

== libexec =========================================================== 02/07 ==

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

login_krb5

  ~ login_krb5.c                          

  > handle asprintf() failure; from dhill at mindcry.orgeraadt@)

== sbin ============================================================== 03/07 ==

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

disklabel

  ~ disklabel.c                           

  > missing fclose(); from dhill at mindcry.orgeraadt@)

ipsecctl

  ~ ipsecctl.c                            

  > fclose() file descriptor of the rule file when we are done with it.
  > From David Hill <dhill at mindcry dot org>, thanks! (hshoexer@)

  ~ pfkdump.c                             

  > spacing (deraadt@)

isakmpd

  ~ virtual.c                             

  > zap unused variable and silence gcc.
  > From Mike Belopuhov <mkb at crypt dot org dot ru>
  > Thanks! (hshoexer@)

scsi

  ~ scsi.c                                

  > missing fclose(); dhill at mindcry.orgeraadt@)

== share ============================================================= 04/07 ==

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

man

  ~ man4/options.4                        

  > Use SCSI_DELAY only once. Document it. Default to no delay.
  > Fixes two second system 'freeze' when umass device plugged in. Speeds
  > up boot by not waiting for a minimum of 2 seconds at each scsi bus.
  > ok jmc@ pedro@ deraadt@ (krw@)

== sys =============================================================== 05/07 ==

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

arch/amd64/amd64

  ~ machdep.c                             + kgdb_machdep.c

  > untested kgdb support for amd64. prolly needs more work when
  > getting and setting the registers, but it's a start. kettenis@ ok. (fgsch@)

  ~ machdep.c                             

  > remove unused define. (fgsch@)

arch/amd64/include

  ~ db_machdep.h                          

  > untested kgdb support for amd64. prolly needs more work when
  > getting and setting the registers, but it's a start. kettenis@ ok. (fgsch@)

arch/hp300/dev

  ~ fhpib.c                               ~ nhpib.c

  > Fix timeout usage introduced during the timeout API change (better late
  > than never), allows slower disks on nhpib to work again. (miod@)

  ~ hd.c                                  

  > Better error message layout. (miod@)

arch/hp300/hp300

  ~ kgdb_machdep.c                        

  > move kgdb_connect and kgdb_panic into MI. looked by miod@ and kettenis@
  > (fgsch@)

  ~ locore.s                              

  > Align _delay() on 8 bytes, not 2^8 bytes. (miod@)

arch/i386/i386

  ~ acpi_machdep.c                        ~ bios.c
  ~ db_memrw.c                            ~ machdep.c
  ~ mem.c                                 ~ mpbios.c
  ~ pmap.c                                

  > convert more MD macros to their MI counterparts, this time
  > i386_round_page(), i386_trunc_page(), i386_btop() and i386_ptob() (martin@)

  ~ machdep.c                             

  > need cast to vaddr_t
  > found the hard way by deraadt@ (martin@)

  ~ kgdb_machdep.c                        

  > move kgdb_connect and kgdb_panic into MI. looked by miod@ and kettenis@
  > (fgsch@)

arch/i386/include

  ~ db_machdep.h                          

  > move kgdb_connect and kgdb_panic into MI. looked by miod@ and kettenis@
  > (fgsch@)

arch/i386/pci

  ~ pci_addr_fixup.c                      

  > convert more MD macros to their MI counterparts, this time
  > i386_round_page(), i386_trunc_page(), i386_btop() and i386_ptob() (martin@)

arch/m68k/include

  ~ db_machdep.h                          

  > move kgdb_connect and kgdb_panic into MI. looked by miod@ and kettenis@
  > (fgsch@)

arch/mac68k/mac68k

  ~ locore.s                              

  > Align _delay() on 8 bytes, not 2^8 bytes. (miod@)

arch/macppc/conf

  ~ GENERIC                               ~ files.macppc

  > maciic at ki2c
  > ok deraadt@ (kettenis@)

arch/macppc/dev

  ~ uni_n.c                               

  > Attach children for matched controllers, not just u3.
  > ok deraadt@ (kettenis@)

  ~ ki2c.c                                ~ ki2cvar.h

  > Add code to turn ki2c(4) into a proper i2c controller.
  > ok deraadt@ (kettenis@)

  ~ smu.c                                 

  > Use name of device driver as wmesg for lock. (kettenis@)

  ~ uni_n.c                               

  > match u4 (drahn@)

arch/macppc/macppc

  ~ cpu.c                                 

  > Recognized 970MP processor. (drahn@)

arch/macppc/pci

  ~ ht.c                                  

  > Map the config space area based on sc_maxdevs. (removes panic) (drahn@)

arch/powerpc/include

  ~ cpu.h                                 

  > Recognized 970MP processor. (drahn@)

arch/powerpc/powerpc

  ~ pmap.c                                

  > splimp -> splvm
  > ok drahn@ (brad@)

arch/sparc/include

  ~ db_machdep.h                          

  > move kgdb_connect and kgdb_panic into MI. looked by miod@ and kettenis@
  > (fgsch@)

arch/sparc/sparc

  ~ kgdb_machdep.c                        

  > move kgdb_connect and kgdb_panic into MI. looked by miod@ and kettenis@
  > (fgsch@)

dev/i2c

  ~ lm75.c                                

  > code was totally borked, if it failed to detect a LM77 it left the
  > type as 0; ok kettenis (deraadt@)

dev/pci

  ~ if_em.c                               ~ if_em.h

  > - Introduce two more stat counters, counting number of RX
  > overruns and number of watchdog timeouts.
  > - Do not increase if->if_oerrors in em_watchdog(), since
  > this leads to counter slipping back, when if->if_oerrors
  > is recalculated in em_update_stats_counters(). Instead
  > increase watchdog counter in em_watchdog() and take it
  > into account in em_update_stats_counters().
  > From glebius FreeBSD
  > ok dlg@ (brad@)

kern

  ~ kgdb_stub.c                           

  > move kgdb_connect and kgdb_panic into MI. looked by miod@ and kettenis@
  > (fgsch@)

  ~ kern_sensors.c                        

  > shorten this a bit through better use of TAILQ macros.
  > mostly ok otto@ (ive since fixed the chunk he was worried about) (dlg@)

scsi

  ~ ses.c                                 

  > if the particular ses device has no slots or sensors to handle, then free
  > all the resources. (dlg@)

  ~ safte.c                               

  > lock updates to the buffer with the enclosure status in it so that one
  > process cant read from it while another one is fetching it from the scsi
  > device.
  > looks ok krw@ (dlg@)

  ~ ses.c                                 

  > lock accesses to the buffer so that it wont get confused between the
  > multiple processes using it (dlg@)

  ~ scsi_base.c                           ~ scsiconf.h
  ~ sd.c                                  

  > Use scsi_delay() instead of delay() when waiting for scsi disk to
  > become ready. Make verbiage SC_DEBUG().
  > ok dlg@ (krw@)

  ~ scsiconf.c                            ~ scsi_base.c

  > Use SCSI_DELAY only once. Document it. Default to no delay.
  > Fixes two second system 'freeze' when umass device plugged in. Speeds
  > up boot by not waiting for a minimum of 2 seconds at each scsi bus.
  > ok jmc@ pedro@ deraadt@ (krw@)

  ~ scsi_base.c                           

  > ATAPI Tape drives need 6 byte MODE SENSE commands according to at
  > least one spec. Unlike other ATAPI devices.
  > Fixes PR #4611. (krw@)

  ~ sd.c                                  

  > Allow removable disks to be spun up if they ask for initialization
  > after being opened.  Use SC_DEBUG() to suppress some verbiage during
  > spin up. Return actual errors encountered during attempt to spin up,
  > rather than always returning EIO.
  > ok dlg@ (krw@)

sys

  ~ kgdb.h                                

  > move kgdb_connect and kgdb_panic into MI. looked by miod@ and kettenis@
  > (fgsch@)

== usr.bin =========================================================== 06/07 ==

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

ftp

  ~ ftp.c                                 

  > fseeko() and lseek() have different return values.	cope with that
  > correctly.	spotted by dhill at mindcry.orgeraadt@)

mg

  ~ file.c                                

  > Copy buffer before handing it to basename().
  > Inspired by a patch from Han Boetes. (kjell@)

  ~ buffer.c                              ~ dired.c
  ~ fileio.c                              

  > Better error checking of snprintfs. From Han Boetes. (kjell@)

== usr.sbin ========================================================== 07/07 ==

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

bind

  ~ bin/dig/nslookup.1                    

  > set type=XX sets the /type/ of the information query, not the /top/
  > ok jakob@ (tom@)

dhcpd

  ~ print.c                               

  > pretty up print_hw_addr(), and even fix a teeny buffer overflow; ok otto
  > (deraadt@)

dhcrelay

  ~ dhcrelay.c                            

  > pretty up print_hw_addr(), and even fix a teeny buffer overflow; ok otto
  > (deraadt@)

tcpdump

  ~ privsep_pcap.c                        

  > Do not clobber errno, from Andrey Matveev. ok canacar@ (otto@)

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



More information about the odc mailing list