[odc] Daily src changes for 2007-04-13

ODC auto at squish.net
Sat Apr 14 08:00:24 BST 2007


OpenBSD src changes summary for 2007-04-13
==========================================

bin/md5                                 bin/ps
distrib/alpha                           distrib/amd64
distrib/armish                          distrib/hp300
distrib/hppa                            distrib/i386
distrib/landisk                         distrib/luna88k
distrib/mac68k                          distrib/macppc
distrib/mvme68k                         distrib/mvme88k
distrib/mvmeppc                         distrib/notes
distrib/ramdisk                         distrib/sgi
distrib/sparc64                         distrib/vax
distrib/zaurus                          games/atc
libexec/spamd                           sbin/newfs
share/doc                               share/man
sys/arch/alpha/alpha                    sys/arch/alpha/conf
sys/arch/alpha/include                  sys/arch/amd64/amd64
sys/arch/arm/arm                        sys/arch/hppa/hppa
sys/arch/hppa64/hppa64                  sys/arch/i386/i386
sys/arch/i386/stand                     sys/arch/m68k/m68k
sys/arch/macppc/macppc                  sys/arch/powerpc/include
sys/arch/powerpc/powerpc                sys/arch/sparc64/sparc64
sys/dev                                 sys/dev/ic
sys/dev/microcode                       sys/dev/pci
sys/isofs/cd9660                        sys/kern
sys/nfs                                 sys/scsi
sys/sys                                 sys/ufs/ffs
sys/ufs/ufs                             sys/uvm
usr.bin/bgplg                           usr.bin/calendar
usr.bin/cvs                             usr.bin/locate
usr.bin/sendbug                         usr.bin/top

== bin =============================================================== 01/08 ==

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

md5

  ~ cksum.1                               ~ md5.1
  ~ md5.c                                 ~ rmd160.1
  ~ sha1.1                                

  > allow multiple -t to increase the test count.  cpus are getting too fast.
  > ok grunk. with manpage from grunk and jmc (tedu@)

ps

  ~ keyword.c                             

  > Userland gets 7 chars of wchan, not 6; noticed by thib@
  > ok mickey@ otto@ (miod@)

== distrib =========================================================== 02/08 ==

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

alpha

  ~ bsd.rd/Makefile                       ~ common/Makefile.inc

  > Update install media generation to the new semantics of the -c flag.
  > Also replace "newfs -O" with "newfs -O 0" now that -O takes an option.
  > (millert@)

amd64

  ~ common/Makefile.inc                   

  > Update install media generation to the new semantics of the -c flag.
  > Also replace "newfs -O" with "newfs -O 0" now that -O takes an option.
  > (millert@)

armish

  ~ ramdisk/Makefile                      

  > Update install media generation to the new semantics of the -c flag.
  > Also replace "newfs -O" with "newfs -O 0" now that -O takes an option.
  > (millert@)

hp300

  ~ ramdisk/Makefile                      

  > Update install media generation to the new semantics of the -c flag.
  > Also replace "newfs -O" with "newfs -O 0" now that -O takes an option.
  > (millert@)

hppa

  ~ ramdisk/Makefile                      

  > Update install media generation to the new semantics of the -c flag.
  > Also replace "newfs -O" with "newfs -O 0" now that -O takes an option.
  > (millert@)

i386

  ~ common/Makefile.inc                   ~ ramdisk_cd/Makefile

  > Update install media generation to the new semantics of the -c flag.
  > Also replace "newfs -O" with "newfs -O 0" now that -O takes an option.
  > (millert@)

landisk

  ~ miniroot/Makefile                     ~ ramdisk/Makefile

  > Update install media generation to the new semantics of the -c flag.
  > Also replace "newfs -O" with "newfs -O 0" now that -O takes an option.
  > (millert@)

luna88k

  ~ ramdisk/Makefile                      

  > Update install media generation to the new semantics of the -c flag.
  > Also replace "newfs -O" with "newfs -O 0" now that -O takes an option.
  > (millert@)

mac68k

  ~ ramdisk/Makefile                      

  > Update install media generation to the new semantics of the -c flag.
  > Also replace "newfs -O" with "newfs -O 0" now that -O takes an option.
  > (millert@)

macppc

  ~ ramdisk/Makefile                      

  > Update install media generation to the new semantics of the -c flag.
  > Also replace "newfs -O" with "newfs -O 0" now that -O takes an option.
  > (millert@)

mvme68k

  ~ ramdisk/Makefile                      

  > Update install media generation to the new semantics of the -c flag.
  > Also replace "newfs -O" with "newfs -O 0" now that -O takes an option.
  > (millert@)

mvme88k

  ~ ramdisk/Makefile                      

  > Update install media generation to the new semantics of the -c flag.
  > Also replace "newfs -O" with "newfs -O 0" now that -O takes an option.
  > (millert@)

mvmeppc

  ~ ramdisk/Makefile                      

  > Update install media generation to the new semantics of the -c flag.
  > Also replace "newfs -O" with "newfs -O 0" now that -O takes an option.
  > (millert@)

notes

  ~ amd64/hardware                        ~ i386/hardware
  ~ macppc/hardware                       

  > Adjust the malo(4) HW list here as well. (claudio@)

  ~ sparc/hardware                        

  > GENERIC can not run in 8MB anymore. (miod@)

ramdisk

  ~ Makefile                              

  > Update install media generation to the new semantics of the -c flag.
  > Also replace "newfs -O" with "newfs -O 0" now that -O takes an option.
  > (millert@)

sgi

  ~ ramdisk/Makefile                      

  > Update install media generation to the new semantics of the -c flag.
  > Also replace "newfs -O" with "newfs -O 0" now that -O takes an option.
  > (millert@)

sparc64

  ~ bsd.rd/Makefile                       ~ common/Makefile.inc
  ~ ramdisk/Makefile                      ~ ramdiskB/Makefile

  > Update install media generation to the new semantics of the -c flag.
  > Also replace "newfs -O" with "newfs -O 0" now that -O takes an option.
  > (millert@)

vax

  ~ ramdisk/Makefile.inc                  ~ common/Makefile.inc

  > Update install media generation to the new semantics of the -c flag.
  > Also replace "newfs -O" with "newfs -O 0" now that -O takes an option.
  > (millert@)

zaurus

  ~ ramdisk/Makefile                      

  > Update install media generation to the new semantics of the -c flag.
  > Also replace "newfs -O" with "newfs -O 0" now that -O takes an option.
  > (millert@)

== games ============================================================= 03/08 ==

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

atc

  ~ atc.6                                 

  > let -f and -g be in different options even if the argument
  > names to both flags are the same.
  > spotted by jmc@ with relation to other manual page.
  > ok by jmc@ (sobrado@)

  ~ main.c                                

  > when updating atc(6) to split the -f and -g flags in two options
  > I missed synchronizing the usage() function.
  > problem noticed by jmc@ (sobrado@)

== libexec =========================================================== 04/08 ==

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

spamd

  ~ sync.c                                

  > rename h_name to sh_name. hname gets redefined in netdb.h to a zero
  > sized array, so memory corruption occurs when writing the field.
  > problem encountered by Jeremy C. Reed. ok reyk@ (otto@)

  ~ spamd.c                               

  > fix helo to error out if no domain is provided
  > ok millert@ (beck@)

== sbin ============================================================== 05/08 ==

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

newfs

  ~ mkfs.c                                ~ newfs.8
  ~ newfs.c                               

  > Add support for creating ffs2 filesystems.	Note that the concept
  > of a constant-sized track is obsolete in today's world of variable
  > blocks per track disks so the cylinder group packing algorithm has
  > been updated.  Based on the ufs2 changes in FreeBSD by Kirk McKusick.
  > From pedro@ with changes by me as well as a few from NetBSD.
  > OK pedro@ beck@ thib@ and tested by more... (millert@)

  ~ newfs.8                               

  > new sentence, new line;
  > -O takes an argument; (jmc@)

  ~ newfs.c                               

  > cut the verbosity from usage() and instead print a synopsis,
  > as matched by the man page; ok millert (jmc@)

  ~ newfs.c                               

  > Missing bit in last commit, remove -z for getopt string. (millert@)

  ~ newfs.8                               

  > tweak the description of -O2; ok millert (jmc@)

== share ============================================================= 06/08 ==

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

doc

  ~ smm/01.setup/2.t                      

  > Update install media generation to the new semantics of the -c flag.
  > Also replace "newfs -O" with "newfs -O 0" now that -O takes an option.
  > (millert@)

man

  ~ man4/malo.4                           

  > Paul de Weerd donated some Tenda wireless devices. The TWL541C and TWL542P
  > are supported by malo(4). (claudio@)

  ~ man7/hier.7                           

  > there is no /usr/src/lkm, apparently; (jmc@)

  ~ man8/diskless.8                       

  > mountd(8) should be running on the server for diskless setups;
  > from Mattieu Baptiste (jmc@)

== sys =============================================================== 07/08 ==

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

arch/alpha/alpha

  ~ genassym.cf                           ~ machdep.c
  ~ pmap.c                                + ipifuncs.c

  > get alpha SMP into a state where it at least compiles:
  > - add machine-dependent spinlock operations
  > - add basic interprocessor interrupt sending and receiving code
  > from NetBSD; ok miod@ (martin@)

arch/alpha/conf

  ~ files.alpha                           

  > get alpha SMP into a state where it at least compiles:
  > - add machine-dependent spinlock operations
  > - add basic interprocessor interrupt sending and receiving code
  > from NetBSD; ok miod@ (martin@)

arch/alpha/include

  ~ cpu.h                                 ~ intr.h
  + lock.h                                

  > get alpha SMP into a state where it at least compiles:
  > - add machine-dependent spinlock operations
  > - add basic interprocessor interrupt sending and receiving code
  > from NetBSD; ok miod@ (martin@)

arch/amd64/amd64

  ~ pmap.c                                

  > map peeing -> mapping (miod@)

  ~ pmap.c                                

  > While splitting flags and pqflags might have been a good idea in theory
  > to separate locking, on most modern machines this is not enough
  > since operations on short types touch other short types that share the
  > same word in memory.
  > Merge pg_flags and pqflags again and now use atomic operations to change
  > the flags. Also bump wire_count to an int and pg_version might go
  > int as well, just for alignment.
  > tested by many, many. ok miod@ (art@)

arch/arm/arm

  ~ pmap.c                                

  > map peeing -> mapping (miod@)

arch/hppa/hppa

  ~ pmap.c                                

  > While splitting flags and pqflags might have been a good idea in theory
  > to separate locking, on most modern machines this is not enough
  > since operations on short types touch other short types that share the
  > same word in memory.
  > Merge pg_flags and pqflags again and now use atomic operations to change
  > the flags. Also bump wire_count to an int and pg_version might go
  > int as well, just for alignment.
  > tested by many, many. ok miod@ (art@)

arch/hppa64/hppa64

  ~ pmap.c                                

  > While splitting flags and pqflags might have been a good idea in theory
  > to separate locking, on most modern machines this is not enough
  > since operations on short types touch other short types that share the
  > same word in memory.
  > Merge pg_flags and pqflags again and now use atomic operations to change
  > the flags. Also bump wire_count to an int and pg_version might go
  > int as well, just for alignment.
  > tested by many, many. ok miod@ (art@)

arch/i386/i386

  ~ pmap.c                                

  > map peeing -> mapping (miod@)

  ~ locore.s                              

  > Move the proc0 stack below the proc0 page tables so that in case we
  > overflow the stack, we run into the symbol table (not critical) instead
  > of overwriting the page tables.
  > From mickey, ok art@, ok toby@ (art@)

  ~ pmap.c                                

  > When freeing PTP pages, we need to wait until TLB shootdown has been
  > done until we put them on the freelist and risk them being reused.
  > If the page is reused before being shot, there's a risk that it's still
  > in the PDE TLB and speculative execution might use data from it to
  > load TLBs. If the page isn't zeroed anymore we risk loading bogus
  > tlbs from it.
  > Inspired by a similar change in NetBSD.
  > toby@ ok, tested by many at the hackathon. (art@)

  ~ pmap.c                                ~ pmapae.c

  > While splitting flags and pqflags might have been a good idea in theory
  > to separate locking, on most modern machines this is not enough
  > since operations on short types touch other short types that share the
  > same word in memory.
  > Merge pg_flags and pqflags again and now use atomic operations to change
  > the flags. Also bump wire_count to an int and pg_version might go
  > int as well, just for alignment.
  > tested by many, many. ok miod@ (art@)

arch/i386/stand

  ~ Makefile                              

  > Update install media generation to the new semantics of the -c flag.
  > Also replace "newfs -O" with "newfs -O 0" now that -O takes an option.
  > (millert@)

arch/m68k/m68k

  ~ pmap_motorola.c                       

  > While splitting flags and pqflags might have been a good idea in theory
  > to separate locking, on most modern machines this is not enough
  > since operations on short types touch other short types that share the
  > same word in memory.
  > Merge pg_flags and pqflags again and now use atomic operations to change
  > the flags. Also bump wire_count to an int and pg_version might go
  > int as well, just for alignment.
  > tested by many, many. ok miod@ (art@)

arch/macppc/macppc

  ~ clock.c                               

  > Timecounters for macppc.  As clean and simple as sparc64.  Uses the %tb
  > special register.
  > ok drahn@ (kettenis@)

arch/powerpc/include

  ~ _types.h                              

  > Timecounters for macppc.  As clean and simple as sparc64.  Uses the %tb
  > special register.
  > ok drahn@ (kettenis@)

arch/powerpc/powerpc

  ~ pmap.c                                

  > Relax the cache flags logic in pmap_kenter_pa, to make sure that mappings
  > entered before vm_physmem[] are initialized will be cached. This is a
  > temporary measure until this pmap implements pmap_steal_memory().
  > Help and ok drahn@ (miod@)

arch/sparc64/sparc64

  ~ pmap.c                                

  > While splitting flags and pqflags might have been a good idea in theory
  > to separate locking, on most modern machines this is not enough
  > since operations on short types touch other short types that share the
  > same word in memory.
  > Merge pg_flags and pqflags again and now use atomic operations to change
  > the flags. Also bump wire_count to an int and pg_version might go
  > int as well, just for alignment.
  > tested by many, many. ok miod@ (art@)

dev

  ~ ipmi.c                                

  > move the debugging messages into #ifdef IPMI_DEBUG, we do not need to
  > compile them by default.
  > ok marco@ (reyk@)

dev/ic

  ~ athvar.h                              ~ ath.c
  ~ ar5xxx.c                              ~ ar5xxx.h

  > The integrated Atheros NICs found in IBM/Lenovo ThinkPads use the same
  > device ID for old AR5212-based 32bit and new AR5424-based 64bit (PCI
  > Express Mini Card) interfaces.  Use an extra check to look if the card
  > is 64bit and attach it as a single chip device.  This prevents a panic
  > when attaching the device on some laptops like the T60.
  > Tested on a T42 (old AR5212 Mini PCI interface),
  > Tested on a T60 (new AR5424 Mini Card interface)
  > Nevertheless, the AR5424 does not work yet.
  > Thanks to Stefan Konrath (reyk@)

  ~ siopvar_common.h                      

  > scsi_generic is now 16 bytes. Adjust offsets into structure being
  > passed to controller so they point where expected. Fixes martin@'s
  > alpha and sparc machines. (krw@)

  ~ osiopvar.h                            

  > scsi_generic is now 16 bytes. Adjust padding so struct is still
  > 256 bytes. (krw@)

dev/microcode

  ~ siop/siop.ss                          

  > scsi_generic is now 16 bytes. Adjust offsets into structure being
  > passed to controller so they point where expected. Fixes martin@'s
  > alpha and sparc machines. (krw@)

  ~ siop/siop.out                         

  > scsi_generic is now 16 bytes. Adjust offsets into structure being
  > passed to controller so they point where expected. Fixes martin@'s
  > alpha and sparc machines. (krw@)

dev/pci

  ~ pcidevs                               

  > add Ageia and a GeForce card
  > from Brad Davis <bdavis at cove-mtn.com  > "sure" jsg@ (jasper@)

  ~ pcidevs.h                             ~ pcidevs_data.h

  > regen (jasper@)

  ~ if_ath_pci.c                          

  > The integrated Atheros NICs found in IBM/Lenovo ThinkPads use the same
  > device ID for old AR5212-based 32bit and new AR5424-based 64bit (PCI
  > Express Mini Card) interfaces.  Use an extra check to look if the card
  > is 64bit and attach it as a single chip device.  This prevents a panic
  > when attaching the device on some laptops like the T60.
  > Tested on a T42 (old AR5212 Mini PCI interface),
  > Tested on a T60 (new AR5424 Mini Card interface)
  > Nevertheless, the AR5424 does not work yet.
  > Thanks to Stefan Konrath (reyk@)

isofs/cd9660

  ~ cd9660_vnops.c                        

  > Remove cluster reading from cd9660_read(); wich doesnt work.
  > From mickey@; ok thib@,miod@ (thib@)

kern

  ~ vfs_subr.c                            

  > Remove comments talking about vnode interlock.  No binary change.
  > ok thib (bluhm@)

  ~ vfs_subr.c                            

  > Move the declaration of VN_KNOTE() into vnode.h instead of having
  > multiple defines all over;
  > ok tedu@ (thib@)

  ~ kern_malloc_debug.c                   

  > While splitting flags and pqflags might have been a good idea in theory
  > to separate locking, on most modern machines this is not enough
  > since operations on short types touch other short types that share the
  > same word in memory.
  > Merge pg_flags and pqflags again and now use atomic operations to change
  > the flags. Also bump wire_count to an int and pg_version might go
  > int as well, just for alignment.
  > tested by many, many. ok miod@ (art@)

nfs

  ~ nfs_subs.c                            

  > remove some unneeded externs and unused declerations.
  > There's no need to extern stuff thats declared in the same file.
  > ok tedu@ (thib@)

  ~ nfs_var.h                             

  > Move the declaration of VN_KNOTE() into vnode.h instead of having
  > multiple defines all over;
  > ok tedu@ (thib@)

scsi

  ~ sd.c                                  

  > If a removable device refuses to process PREVENT_ALLOW to lock the
  > media in while the device is open, allow the open anyway. Fixes some
  > USB devices which do odd things when presented by PREVENT_ALLOW.
  > Suggestion from mickey at .  > ok millert@ marco@ (krw@)

sys

  ~ vnode.h                               

  > Move the declaration of VN_KNOTE() into vnode.h instead of having
  > multiple defines all over;
  > ok tedu@ (thib@)

ufs/ffs

  ~ ffs_vnops.c                           

  > Move the declaration of VN_KNOTE() into vnode.h instead of having
  > multiple defines all over;
  > ok tedu@ (thib@)

ufs/ufs

  ~ ufs_vnops.c                           

  > Move the declaration of VN_KNOTE() into vnode.h instead of having
  > multiple defines all over;
  > ok tedu@ (thib@)

uvm

  ~ uvm_amap.c                            ~ uvm_anon.c
  ~ uvm_aobj.c                            ~ uvm_fault.c
  ~ uvm_km.c                              ~ uvm_loan.c
  ~ uvm_map.c                             ~ uvm_page.c
  ~ uvm_page.h                            ~ uvm_page_i.h
  ~ uvm_pager.c                           ~ uvm_pdaemon.c
  ~ uvm_pglist.c                          ~ uvm_swap.c
  ~ uvm_vnode.c                           

  > While splitting flags and pqflags might have been a good idea in theory
  > to separate locking, on most modern machines this is not enough
  > since operations on short types touch other short types that share the
  > same word in memory.
  > Merge pg_flags and pqflags again and now use atomic operations to change
  > the flags. Also bump wire_count to an int and pg_version might go
  > int as well, just for alignment.
  > tested by many, many. ok miod@ (art@)

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

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

bgplg

  ~ bgplg.c                               ~ bgplg.h

  > spaces (claudio@)

calendar

  ~ calendars/calendar.history            

  > typo, reported by Matthew Clarke (clamat, telus dot net) (miod@)

cvs

  ~ cvs.1                                 

  > - document server temporary directory
  > - sort FILES
  > OK jmc at .sa@)

locate

  ~ locate/locate.1                       

  > the ellipsis in the synopsis of this command is not an optional
  > argument.  the argument name for -l must be the same in the
  > synopsis and the options list.
  > written with help by jmc@
  > ok by jmc@ (sobrado@)

sendbug

  ~ sendbug.1                             

  > +.Xr dmesg 8 (jmc@)

  ~ sendbug.1                             

  > document dmesg(8) attachment a little more fully; ok ray (jmc@)

top

  ~ machine.c                             

  > include cleanup and fix in comment; from Mark Lumsden (otto@)

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



More information about the odc mailing list