[odc] Daily src changes for 2007-11-27

ODC auto at squish.net
Wed Nov 28 07:00:01 GMT 2007


OpenBSD src changes summary for 2007-11-27
==========================================

bin/chio                                distrib/sets
lib/libc                                libexec/ld.so
libexec/tftpd                           regress/usr.bin
sbin/ifconfig                           sbin/pfctl
sbin/wsconsctl                          share/man
sys/arch/amd64/amd64                    sys/arch/amd64/pci
sys/arch/i386/i386                      sys/arch/i386/pci
sys/arch/m68k/fpsp                      sys/arch/macppc/stand
sys/arch/mvme88k/dev                    sys/arch/sgi/conf
sys/arch/sgi/dev                        sys/arch/sgi/include
sys/arch/sparc/dev                      sys/arch/sparc/stand/boot
sys/arch/sparc64/conf                   sys/arch/sparc64/include
sys/arch/sparc64/sparc64                sys/compat/bsdos
sys/compat/freebsd                      sys/compat/hpux
sys/compat/ibcs2                        sys/compat/linux
sys/compat/osf1                         sys/compat/sunos
sys/compat/svr4                         sys/compat/ultrix
sys/conf                                sys/dev
sys/dev/acpi                            sys/dev/i2o
sys/dev/ic                              sys/dev/pci
sys/dev/usb                             sys/dev/wscons
sys/kern                                sys/lib/libkern
sys/msdosfs                             sys/net
sys/netinet                             sys/netinet6
sys/scsi                                sys/sys
sys/ufs/ffs                             sys/uvm
usr.bin/indent                          usr.bin/mg
usr.bin/sudo                            usr.bin/top
usr.bin/xlint                           usr.sbin/afs
usr.sbin/amd                            usr.sbin/bgpd
usr.sbin/config                         usr.sbin/ifstated
usr.sbin/ospf6ctl                       usr.sbin/ospf6d
usr.sbin/tcpdump                        

== bin =============================================================== 01/10 ==

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

chio

  ~ chio.c                                

  > typos;  ok jmc@
  > sys/dev/pci/pciide.c from naddy@ (martynas@)

== distrib =========================================================== 02/10 ==

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

sets

  ~ lists/base/md.amd64                   ~ lists/base/md.i386
  ~ lists/comp/md.amd64                   ~ lists/comp/md.i386
  ~ lists/man/mi                          

  > sync (deraadt@)

== lib =============================================================== 03/10 ==

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

libc

  ~ string/memrchr.c                      

  > typos;  ok jmc@
  > sys/dev/pci/pciide.c from naddy@ (martynas@)

== libexec =========================================================== 04/10 ==

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

ld.so

  ~ loader.c                              ~ resolve.h
  ~ alpha/rtld_machine.c                  ~ amd64/rtld_machine.c
  ~ arm/rtld_machine.c                    ~ hppa/rtld_machine.c
  ~ i386/rtld_machine.c                   ~ mips64/rtld_machine.c
  ~ powerpc/rtld_machine.c                ~ sh/rtld_machine.c
  ~ sparc/rtld_machine.c                  ~ sparc64/rtld_machine.c

  > Make _dl_md_reloc_got() report errors, and take them into account.
  > Fixes PR #5579. (miod@)

  ~ dlfcn.c                               

  > Fix dlsym w/special handles when called from an executable that has been
  > linked without -E. dlsym issues reported by Pedro Martelletto <pedro at
  > ambientworks.net>. okay tedu@ (kurt@)

tftpd

  ~ tftpd.c                               

  > add missing header for inet_ntoa.
  > "sure" deraadt@ (chl@)

  ~ tftpd.8                               

  > tweak previous; (jmc@)

== regress =========================================================== 05/10 ==

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

usr.bin

  ~ diff/t11.1                            

  > typos;  ok jmc@
  > sys/dev/pci/pciide.c from naddy@ (martynas@)

== sbin ============================================================== 06/10 ==

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

ifconfig

  ~ ifconfig.c                            

  > fix format strings
  > ok mpf@ henning@ (chl@)

  ~ ifconfig.c                            

  > fix format strings
  > ok mpf@ (chl@)

pfctl

  ~ pfctl.c                               ~ pfctl_optimize.c

  > typos;  ok jmc@
  > sys/dev/pci/pciide.c from naddy@ (martynas@)

wsconsctl

  ~ util.c                                

  > Add a few missing device entries. (miod@)

== share ============================================================= 07/10 ==

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

man

  ~ man4/pppoe.4                          

  > Don't give bad advice. The MTU/MSS issue is not solvable by changing the
  > MTU
  > of any interface of the pppoe router. The best way to get a reliable
  > network
  > connection is to use pf(4) and the max-mss scrub option.
  > OK henning@, mbalmer@ Yes please! sthen@ (claudio@)

  ~ man1/gcc-local.1                      

  > tweak the Ox warning section; (jmc@)

  ~ man4/mbg.4                            ~ man4/nmea.4

  > tweak previous; (jmc@)

  + man4/man4.sgi/gbe.4                   

  > Initial support for the SGI Graphics Back End (GBE) frame buffer found in
  > SGI O2 machines. We currently rely on the video hardware being initialised
  > by the ARCS firmware and can only use the initial resolution with a colour
  > depth of 32 bits. This driver is disabled by default.
  > ok miod@ (jsing@)

  ~ man4/man4.sgi/Makefile                

  > Remember to add gbe.4... (jsing@)

  ~ man4/man4.sgi/gbe.4                   

  > missing rcs id
  > "feel free to do so" jsing@ (jasper@)

  ~ man4/options.4                        

  > TCP_COMPAT_42 was last used in 1997.  Kill it.
  > ok millert (deraadt@)

  ~ man4/man4.sgi/gbe.4                   

  > tweak -r1.1; (jmc@)

  ~ man4/man4.sgi/intro.4                 

  > add gbe(4); (jmc@)

  ~ man4/pppoe.4                          

  > On jmc@'s request add a bit that mentions that the pf(4) mssfix up is only
  > needed on pppoe(4) and not needed with pppoe(8) because it is done by
  > ppp(8)
  > by default. OK jmc@ (claudio@)

  ~ man4/ural.4                           

  > there are no 802.11a ural devices. (damien@)

  ~ man4/usb.4                            

  > sync ural entry; (jmc@)

== sys =============================================================== 08/10 ==

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

arch/amd64/amd64

  ~ lock_machdep.c                        

  > ARGH. Work has poisoned my mind. KNF the braces. (art@)

  ~ syscall.c                             

  > Implement the NOLOCK semantics. MPSAFE will have to wait a while until
  > we decide how to handle interrupts.
  > deraadt@ ok (art@)

arch/amd64/pci

  ~ pchb.c                                

  > Unify amd64 and i386 code further; ok oga kettenis (deraadt@)

arch/i386/i386

  ~ lock_machdep.c                        

  > ARGH. Work has poisoned my mind. KNF the braces. (art@)

  ~ cpu.c                                 

  > typos;  ok jmc@
  > sys/dev/pci/pciide.c from naddy@ (martynas@)

arch/i386/pci

  ~ pchb.c                                

  > Unify amd64 and i386 code further; ok oga kettenis (deraadt@)

arch/m68k/fpsp

  ~ fpsp.h                                

  > typos;  ok jmc@
  > sys/dev/pci/pciide.c from naddy@ (martynas@)

arch/macppc/stand

  ~ main.c                                

  > typos;  ok jmc@
  > sys/dev/pci/pciide.c from naddy@ (martynas@)

arch/mvme88k/dev

  ~ mainbus.c                             

  > typos;  ok jmc@
  > sys/dev/pci/pciide.c from naddy@ (martynas@)

arch/sgi/conf

  ~ files.sgi                             ~ GENERIC

  > Initial support for the SGI Graphics Back End (GBE) frame buffer found in
  > SGI O2 machines. We currently rely on the video hardware being initialised
  > by the ARCS firmware and can only use the initial resolution with a colour
  > depth of 32 bits. This driver is disabled by default.
  > ok miod@ (jsing@)

arch/sgi/dev

  + gbe.c                                 + gbereg.h

  > Initial support for the SGI Graphics Back End (GBE) frame buffer found in
  > SGI O2 machines. We currently rely on the video hardware being initialised
  > by the ARCS firmware and can only use the initial resolution with a colour
  > depth of 32 bits. This driver is disabled by default.
  > ok miod@ (jsing@)

  ~ gbe.c                                 ~ gbereg.h

  > add rcs id
  > "feel free to do so" jsing@ (jasper@)

arch/sgi/include

  ~ bus.h                                 

  > Add BUS_SPACE_MAP_LINEAR
  > ok miod@ (jsing@)

arch/sparc/dev

  ~ fd.c                                  ~ si.c

  > typos;  ok jmc@
  > sys/dev/pci/pciide.c from naddy@ (martynas@)

arch/sparc/stand/boot

  ~ Makefile                              

  > need strcmp.c here (martin@)

arch/sparc64/conf

  ~ files.sparc64                         

  > Like i386 and amd64 - make the __mp_lock not spin at splhigh.
  > help from & ok art@ (kettenis@)

arch/sparc64/include

  ~ atomic.h                              ~ mplock.h

  > Like i386 and amd64 - make the __mp_lock not spin at splhigh.
  > help from & ok art@ (kettenis@)

arch/sparc64/sparc64

  ~ ipifuncs.c                            

  > intr_disable() returns an u_int64_t. (kettenis@)

  + lock_machdep.c                        

  > Like i386 and amd64 - make the __mp_lock not spin at splhigh.
  > help from & ok art@ (kettenis@)

compat/bsdos

  ~ bsdos_syscall.h                       ~ bsdos_syscallargs.h
  ~ bsdos_syscalls.c                      ~ bsdos_sysent.c

  > regen (art@)

compat/freebsd

  ~ freebsd_syscall.h                     ~ freebsd_syscallargs.h
  ~ freebsd_syscalls.c                    ~ freebsd_sysent.c

  > regen (art@)

compat/hpux

  ~ hppa/hpux_syscall.h                   ~ hppa/hpux_syscallargs.h
  ~ hppa/hpux_syscalls.c                  ~ hppa/hpux_sysent.c
  ~ m68k/hpux_syscall.h                   ~ m68k/hpux_syscallargs.h
  ~ m68k/hpux_syscalls.c                  ~ m68k/hpux_sysent.c

  > Missed those because they are in a weird place. (art@)

compat/ibcs2

  ~ ibcs2_syscall.h                       ~ ibcs2_syscallargs.h
  ~ ibcs2_syscalls.c                      ~ ibcs2_sysent.c

  > regen (art@)

compat/linux

  ~ linux_syscall.h                       ~ linux_syscallargs.h
  ~ linux_syscalls.c                      ~ linux_sysent.c

  > regen (art@)

compat/osf1

  ~ osf1_syscall.h                        ~ osf1_syscallargs.h
  ~ osf1_syscalls.c                       ~ osf1_sysent.c

  > regen (art@)

compat/sunos

  ~ sunos_syscall.h                       ~ sunos_syscallargs.h
  ~ sunos_syscalls.c                      ~ sunos_sysent.c

  > regen (art@)

compat/svr4

  ~ svr4_syscall.h                        ~ svr4_syscallargs.h
  ~ svr4_syscalls.c                       ~ svr4_sysent.c

  > regen (art@)

compat/ultrix

  ~ ultrix_syscall.h                      ~ ultrix_syscallargs.h
  ~ ultrix_syscalls.c                     ~ ultrix_sysent.c

  > regen (art@)

conf

  ~ files                                 

  > split crypto functions out into their own file, so softraid.c is not such
  > a jungle.  ok deraadt marco (tedu@)

  ~ files                                 

  > also move softraid raid1 into own file, ok marco (tedu@)

  ~ GENERIC                               

  > TCP_COMPAT_42 was last used in 1997.  Kill it.
  > ok millert (deraadt@)

dev

  ~ softraid.c                            ~ softraidvar.h
  + softraid_crypto.c                     

  > split crypto functions out into their own file, so softraid.c is not such
  > a jungle.  ok deraadt marco (tedu@)

  ~ softraid.c                            ~ softraidvar.h
  + softraid_raid1.c                      

  > also move softraid raid1 into own file, ok marco (tedu@)

dev/acpi

  ~ acpi.c                                

  > Fix off-by-one that made us attach acpicpu0 and acpicpu1 on GENERIC
  > kernels.
  > ok marco@ (kettenis@)

dev/i2o

  ~ iop.c                                 

  > typos;  ok jmc@
  > sys/dev/pci/pciide.c from naddy@ (martynas@)

dev/ic

  ~ aic79xx.c                             ~ aic7xxx.c

  > typos;  ok jmc@
  > sys/dev/pci/pciide.c from naddy@ (martynas@)

dev/pci

  ~ if_casreg.h                           ~ pciide.c

  > typos;  ok jmc@
  > sys/dev/pci/pciide.c from naddy@ (martynas@)

  ~ if_iwn.c                              ~ if_iwnreg.h

  > fix DMA alignment constraints: rings must be aligned on a 256-byte
  > boundary, "keep warm" page must be aligned on a 4KB boundary.
  > make sure sc->shared->len[x][y] == sc->shared->len[x + 256][y] for
  > all x < 64. (damien@)

  ~ if_iwnreg.h                           

  > fix shared area structure. (damien@)

dev/usb

  ~ if_atu.c                              ~ if_atureg.h

  > typos;  ok jmc@
  > sys/dev/pci/pciide.c from naddy@ (martynas@)

  ~ if_zyd.c                              ~ if_zydreg.h

  > properly update hardware multicast filter.
  > hints from zd1211rw. (damien@)

dev/wscons

  ~ wsconsio.h                            

  > Add display type for SGI GBE.
  > ok miod@ (jsing@)

  ~ wsemul_dumb.c                         ~ wsemul_sun.c
  ~ wsemul_vt100.c                        ~ wsemul_vt100_chars.c
  ~ wsemul_vt100_keys.c                   ~ wsemul_vt100_subr.c
  ~ wsemul_vt100var.h                     ~ wsemulvar.h

  > Remove whitespace at EOL, KNF, ansify. Move jump scroll code to a separate
  > routine. No functional change (har, har) (miod@)

kern

  ~ tty_nmea.c                            

  > Only checksum the NMEA sentence if it as GPRMC message.
  > suggested by otto. (mbalmer@)

  ~ kern_sig.c                            

  > typos;  ok jmc@
  > sys/dev/pci/pciide.c from naddy@ (martynas@)

  ~ uipc_mbuf.c                           

  > make the deceptively complicated leading and trailing space into functions.
  > this reduces kernel size quite a bit. ok claudio (tedu@)

  ~ makesyscalls.sh                       

  > Add possibility to add flags to syscalls in syscalls.master to mark
  > syscalls as NOLOCK and MPSAFE. The flags have slightly different semantics:
  > NOLOCK - the syscall doesn't grab any locks whatsoever.
  > MPSAFE - the syscall deals with its own locking.
  > What this means in practice is that NOLOCK syscalls can always be done
  > without the biglock. The MPSAFE syscalls can be done without the biglock
  > on CPUs that don't handle interrupts that require biglock (to preserve
  > lock ordering).
  > deraadt@ ok (art@)

  ~ syscalls.master                       

  > Mark getpid as NOLOCK just for testing. (art@)

  ~ init_sysent.c                         ~ syscalls.c

  > regen (art@)

lib/libkern

  + arch/mips64/memcpy.S                  

  > mips64 also needs memcpy.S, otherwise memcpy.c gets built, which conflicts
  > with bcopy.S
  > ok miod@ (jsing@)

msdosfs

  ~ msdosfs_lookup.c                      

  > typos;  ok jmc@
  > sys/dev/pci/pciide.c from naddy@ (martynas@)

net

  ~ if_strip.c                            

  > typos;  ok jmc@
  > sys/dev/pci/pciide.c from naddy@ (martynas@)

  ~ pf.c                                  

  TAGGED OPENBSD_4_2
  > MFC: rev 1.565 (me)
  > fix a memory leak (henning@)

netinet

  ~ ip_carp.c                             

  > Make carp(4) behave more like a ethernet interface by initalizing the
  > IPv4 interface address similar to arp_ifinit(). The main difference is
  > that we do not send out a gracious arp as the carp(4) is not ready to send
  > at that moment. This will make backup interface show up like the master
  > ones.
  > OK mpf@ earlier version OK henning@ mcbride@ (claudio@)

  ~ tcp_input.c                           

  > typos;  ok jmc@
  > sys/dev/pci/pciide.c from naddy@ (martynas@)

  ~ tcp_input.c                           ~ tcp_subr.c
  ~ tcp_timer.c                           ~ tcp_usrreq.c

  > TCP_COMPAT_42 was last used in 1997.  Kill it.
  > ok millert (deraadt@)

netinet6

  ~ ip6_input.c                           

  > typos;  ok jmc@
  > sys/dev/pci/pciide.c from naddy@ (martynas@)

scsi

  ~ ss.c                                  ~ st.c
  ~ uk.c                                  

  > typos;  ok jmc@
  > sys/dev/pci/pciide.c from naddy@ (martynas@)

sys

  ~ socket.h                              

  > typos;  ok jmc@
  > sys/dev/pci/pciide.c from naddy@ (martynas@)

  ~ mbuf.h                                

  > make the deceptively complicated leading and trailing space into functions.
  > this reduces kernel size quite a bit. ok claudio (tedu@)

  ~ systm.h                               

  > Add possibility to add flags to syscalls in syscalls.master to mark
  > syscalls as NOLOCK and MPSAFE. The flags have slightly different semantics:
  > NOLOCK - the syscall doesn't grab any locks whatsoever.
  > MPSAFE - the syscall deals with its own locking.
  > What this means in practice is that NOLOCK syscalls can always be done
  > without the biglock. The MPSAFE syscalls can be done without the biglock
  > on CPUs that don't handle interrupts that require biglock (to preserve
  > lock ordering).
  > deraadt@ ok (art@)

  ~ syscall.h                             ~ syscallargs.h

  > regen (art@)

ufs/ffs

  ~ ffs_balloc.c                          

  > typos;  ok jmc@
  > sys/dev/pci/pciide.c from naddy@ (martynas@)

uvm

  ~ uvm_swap.c                            

  > Shoot old netbsd compat code from almost 20 years ago; ok art (deraadt@)

== usr.bin =========================================================== 09/10 ==

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

indent

  ~ lexi.c                                

  > typos;  ok jmc@
  > sys/dev/pci/pciide.c from naddy@ (martynas@)

mg

  ~ fileio.c                              

  > typos;  ok jmc@
  > sys/dev/pci/pciide.c from naddy@ (martynas@)

sudo

  ~ ldap.c                                ~ memrchr.c

  > typos;  ok jmc@
  > sys/dev/pci/pciide.c from naddy@ (martynas@)

top

  ~ top.c                                 

  > use symbolic constant 'Infinity' instead of -1 where appropriate; from
  > Mark Lumsden (otto@)

xlint

  ~ lint1/decl.c                          

  > typos;  ok jmc@
  > sys/dev/pci/pciide.c from naddy@ (martynas@)

== usr.sbin ========================================================== 10/10 ==

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

afs

  ~ lib/libarla/Makefile.rxdef.inc        

  > fix typo (espie@)

amd

  ~ amd/map.c                             

  > typos;  ok jmc@
  > sys/dev/pci/pciide.c from naddy@ (martynas@)

bgpd

  ~ rde.c                                 ~ rde.h
  ~ rde_decide.c                          ~ rde_update.c

  > Prefixes or actually pathes that would cause a rooting loops should not be
  > dropped when parsed but instead be added to the RIB marked as not eligible.
  > So the decision process does not pick them up as a valid route.
  > Tested and some ideas by Tony Sarendal (tony (at) polarcap (dot) org)
  > (claudio@)

config

  ~ mkmakefile.c                          

  > add missing header for errx.
  > ok otto@ deraadt@ (chl@)

ifstated

  ~ ifstated.c                            

  > remove some unneeded #includes; ok mcbride@ (stevesk@)

ospf6ctl

  ~ ospf6ctl.c                            

  > update "show database" output (work in progress) but now link local LSA
  > are printed again. (claudio@)

ospf6d

  ~ interface.c                           ~ neighbor.c
  ~ ospf6.h                               ~ ospf6d.h
  ~ ospfe.c                               ~ rde.c
  ~ rde.h                                 ~ rde_lsdb.c

  > Monster diff to bring us a bit on track again.
  > a) implement all (or at least most) lsa_check() cases.
  > b) classify the LSA scope correctly and add a per interface lsa_tree for
  > the link local stuff.
  > c) implement a function to parse a prefix.
  > There is still a lot missing currently link local LSA are added to the
  > interface tree but nothing can access them (lsa_find() and a few friends
  > need some changes).
  > OK norby@ (claudio@)

  ~ ospf6d.h                              ~ ospfe.c
  ~ rde.c                                 ~ rde.h
  ~ rde_lsdb.c                            ~ rde_spf.c

  > Make lsa_find() find link local LSA by passing the interface instead of the
  > area as lookup point. Additionally make lsa_dump or actually the code
  > around
  > it pass all LSA to ospf6ctl. The rde_spf.c are not final. (claudio@)

tcpdump

  ~ privsep.c                             

  > typos;  ok jmc@
  > sys/dev/pci/pciide.c from naddy@ (martynas@)

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


More information about the odc mailing list