[odc] Daily src changes for 2008-03-24

ODC auto at squish.net
Tue Mar 25 07:00:01 GMT 2008


OpenBSD src changes summary for 2008-03-24
==========================================

bin/ps                                  distrib/sets
games/boggle                            gnu/usr.bin/perl
kerberosV                               lib/libc
libexec/ftpd                            libexec/login_skey
libexec/login_tis                       libexec/tftp-proxy
libexec/tftpd                           regress/sys
regress/usr.bin                         sbin/isakmpd
sbin/mount_portal                       sbin/pflogd
sbin/ping6                              share/man
share/mk                                sys/arch/amd64/conf
sys/arch/i386/conf                      sys/arch/sparc64/dev
sys/arch/sparc64/sparc64                sys/dev
sys/dev/pci                             sys/dev/raidframe
sys/kern                                usr.bin/make
usr.bin/ssh                             usr.sbin/bgpd
usr.sbin/bind                           usr.sbin/config
usr.sbin/ospf6d                         usr.sbin/ospfd
usr.sbin/ppp                            usr.sbin/relayd
usr.sbin/ripd                           usr.sbin/route6d
usr.sbin/rtadvd                         usr.sbin/rtsold
usr.sbin/snmpd                          usr.sbin/syslogd
usr.sbin/tcpdump                        usr.sbin/traceroute6

== bin =============================================================== 01/13 ==

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

ps

  ~ fmt.c                                 

  > - extern.h is already included by ps.h, so zap it.
  > from Jacek Masiulaniec, via ray@
  > ok ray@ (jasper@)

== distrib =========================================================== 02/13 ==

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

sets

  ~ lists/man/mi                          

  > sync (deraadt@)

== games ============================================================= 03/13 ==

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

boggle

  ~ boggle/bog.c                          

  > remove dependency on recalloc() (millert@)

== gnu =============================================================== 04/13 ==

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

usr.bin/perl

  ~ perl.c                                

  > msg_controllen has to be CMSG_SPACE so that the kernel can account for
  > each cmsg_len (ie. msg_controllen = sum of CMSG_ALIGN(cmsg_len).  This
  > works now that kernel fd passing has been fixed to accept a bit of
  > sloppiness because of this ABI repair.
  > lots of discussion with kettenis (deraadt@)

== kerberosV ========================================================= 05/13 ==

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

kerberosV

  ~ src/kcm/connect.c                     

  > msg_controllen has to be CMSG_SPACE so that the kernel can account for
  > each cmsg_len (ie. msg_controllen = sum of CMSG_ALIGN(cmsg_len).  This
  > works now that kernel fd passing has been fixed to accept a bit of
  > sloppiness because of this ABI repair.
  > lots of discussion with kettenis (deraadt@)

== lib =============================================================== 06/13 ==

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

libc

  ~ gen/auth_subr.c                       

  > msg_controllen has to be CMSG_SPACE so that the kernel can account for
  > each cmsg_len (ie. msg_controllen = sum of CMSG_ALIGN(cmsg_len).  This
  > works now that kernel fd passing has been fixed to accept a bit of
  > sloppiness because of this ABI repair.
  > lots of discussion with kettenis (deraadt@)

== libexec =========================================================== 07/13 ==

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

ftpd

  ~ monitor_fdpass.c                      

  > msg_controllen has to be CMSG_SPACE so that the kernel can account for
  > each cmsg_len (ie. msg_controllen = sum of CMSG_ALIGN(cmsg_len).  This
  > works now that kernel fd passing has been fixed to accept a bit of
  > sloppiness because of this ABI repair.
  > lots of discussion with kettenis (deraadt@)

login_skey

  ~ login_skey.c                          

  > msg_controllen has to be CMSG_SPACE so that the kernel can account for
  > each cmsg_len (ie. msg_controllen = sum of CMSG_ALIGN(cmsg_len).  This
  > works now that kernel fd passing has been fixed to accept a bit of
  > sloppiness because of this ABI repair.
  > lots of discussion with kettenis (deraadt@)

login_tis

  ~ login_tis.c                           

  > msg_controllen has to be CMSG_SPACE so that the kernel can account for
  > each cmsg_len (ie. msg_controllen = sum of CMSG_ALIGN(cmsg_len).  This
  > works now that kernel fd passing has been fixed to accept a bit of
  > sloppiness because of this ABI repair.
  > lots of discussion with kettenis (deraadt@)

tftp-proxy

  ~ tftp-proxy.c                          

  > msg_controllen has to be CMSG_SPACE so that the kernel can account for
  > each cmsg_len (ie. msg_controllen = sum of CMSG_ALIGN(cmsg_len).  This
  > works now that kernel fd passing has been fixed to accept a bit of
  > sloppiness because of this ABI repair.
  > lots of discussion with kettenis (deraadt@)

tftpd

  ~ tftpd.c                               

  > msg_controllen has to be CMSG_SPACE so that the kernel can account for
  > each cmsg_len (ie. msg_controllen = sum of CMSG_ALIGN(cmsg_len).  This
  > works now that kernel fd passing has been fixed to accept a bit of
  > sloppiness because of this ABI repair.
  > lots of discussion with kettenis (deraadt@)

== regress =========================================================== 08/13 ==

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

sys

  ~ kern/unfdpass/unfdpass.c              

  > msg_controllen has to be CMSG_SPACE so that the kernel can account for
  > each cmsg_len (ie. msg_controllen = sum of CMSG_ALIGN(cmsg_len).  This
  > works now that kernel fd passing has been fixed to accept a bit of
  > sloppiness because of this ABI repair.
  > lots of discussion with kettenis (deraadt@)

usr.bin

  ~ ssh/sftp-badcmds.sh                   

  > disable no-replace rename test now that we prefer a POSIX rename; spotted
  > by dkrause@ (djm@)

== sbin ============================================================== 09/13 ==

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

isakmpd

  ~ monitor_fdpass.c                      

  > msg_controllen has to be CMSG_SPACE so that the kernel can account for
  > each cmsg_len (ie. msg_controllen = sum of CMSG_ALIGN(cmsg_len).  This
  > works now that kernel fd passing has been fixed to accept a bit of
  > sloppiness because of this ABI repair.
  > lots of discussion with kettenis (deraadt@)

mount_portal

  ~ activate.c                            

  > msg_controllen has to be CMSG_SPACE so that the kernel can account for
  > each cmsg_len (ie. msg_controllen = sum of CMSG_ALIGN(cmsg_len).  This
  > works now that kernel fd passing has been fixed to accept a bit of
  > sloppiness because of this ABI repair.
  > lots of discussion with kettenis (deraadt@)

pflogd

  ~ privsep_fdpass.c                      

  > msg_controllen has to be CMSG_SPACE so that the kernel can account for
  > each cmsg_len (ie. msg_controllen = sum of CMSG_ALIGN(cmsg_len).  This
  > works now that kernel fd passing has been fixed to accept a bit of
  > sloppiness because of this ABI repair.
  > lots of discussion with kettenis (deraadt@)

ping6

  ~ ping6.c                               

  > msg_controllen has to be CMSG_SPACE so that the kernel can account for
  > each cmsg_len (ie. msg_controllen = sum of CMSG_ALIGN(cmsg_len).  This
  > works now that kernel fd passing has been fixed to accept a bit of
  > sloppiness because of this ABI repair.
  > lots of discussion with kettenis (deraadt@)

== share ============================================================= 10/13 ==

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

man

  ~ man4/man4.sgi/power.4                 

  > Correct the synopsis.
  > ok jasper@ (jsing@)

  ~ man5/bsd.port.mk.5                    

  > - since we are in control of shared library versions, advise people to
  > use "0.0" for SHARED_LIBS version when importing a new port
  > ok espie@ (ajacoutot@)

  ~ man3/CMSG_DATA.3                      

  > msg_controllen has to be CMSG_SPACE so that the kernel can account for
  > each cmsg_len (ie. msg_controllen = sum of CMSG_ALIGN(cmsg_len).  This
  > works now that kernel fd passing has been fixed to accept a bit of
  > sloppiness because of this ABI repair.
  > lots of discussion with kettenis (deraadt@)

  ~ man4/it.4                             

  > add it(4) at port 0x228, found on some motherboards.
  > ok deraadt@ (form@)

  ~ man4/man4.sparc64/ifb.4               

  > add "sparc64" to .Dt; (jmc@)

mk

  ~ bsd.dep.mk                            

  > check for emptiness of SRCS, since make warns otherwise.
  > okay deraadt@ (espie@)

== sys =============================================================== 11/13 ==

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

arch/amd64/conf

  ~ GENERIC                               

  > add it(4) at port 0x228, found on some motherboards.
  > ok deraadt@ (form@)

arch/i386/conf

  ~ GENERIC                               

  > add it(4) at port 0x228, found on some motherboards.
  > ok deraadt@ (form@)

arch/sparc64/dev

  ~ pci_machdep.c                         

  > Remove KASSERT that's causing grieve on sun4v, and I've never seen
  > triggered. (kettenis@)

arch/sparc64/sparc64

  ~ cpu.c                                 

  > Use correct cpuid on sun4v. (kettenis@)

dev

  ~ vnd.c                                 

  > Change XXgetdisklabel() to the 'normal' four parameter model to
  > prepare for adding missing DIOC* ioctl's.
  > No functional change. (krw@)

dev/pci

  ~ auvia.c                               

  > auvia(4) doesn't record properly, so don't claim full-duplex
  > capabilities. (jakemsr@)

  ~ auich.c                               

  > 8-bit has been emulated for some time now.	quit lying. (jakemsr@)

dev/raidframe

  ~ rf_openbsdkintf.c                     

  > Change XXgetdisklabel() to the 'normal' four parameter model to
  > prepare for adding missing DIOC* ioctl's.
  > No functional change. (krw@)

kern

  ~ uipc_usrreq.c                         

  > We were led astray (like many others before us) to believe that
  > msg_controllen should be CMSG_LEN() instead of CMSG_SPACE() because
  > the kernel fd passing code was erroring out when
  > "cm->cmsg_len != control->m_len"
  > instead of
  > "CMSG_ALIGN(cm->cmsg_len) != control->m_len".
  > On machines with 16-byte alignment, when one thinks about how the ALIGN
  > padding happens, it is clear that msg_controllen has to be CMSG_SPACE()
  > or the kernel cannot hope to bounds check the messages correctly.
  > For now, change the check to cm->cmsg_len > control->m_len to permit the
  > old ABI to continue working.  Later perhaps when all the old binaries
  > are gone we can stop permitting their use.
  > lots of discussion with kettenis (deraadt@)

  ~ subr_userconf.c                       

  > Make it possible to disable/enable pseudo devices in UKC, config file and
  > at config -e. -moj	ok deraadt@ (maja@)

== usr.bin =========================================================== 12/13 ==

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

make

  ~ job.c                                 ~ memory.c
  ~ memory.h                              

  > bye, bye recalloc. Bad interface for various reasons.
  > discussed with deraadt@ and otto@ and millert@ (espie@)

ssh

  ~ monitor_fdpass.c                      

  > msg_controllen has to be CMSG_SPACE so that the kernel can account for
  > each cmsg_len (ie. msg_controllen = sum of CMSG_ALIGN(cmsg_len).  This
  > works now that kernel fd passing has been fixed to accept a bit of
  > sloppiness because of this ABI repair.
  > lots of discussion with kettenis (deraadt@)

== usr.sbin ========================================================== 13/13 ==

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

bgpd

  ~ buffer.c                              ~ imsg.c

  > msg_controllen has to be CMSG_SPACE so that the kernel can account for
  > each cmsg_len (ie. msg_controllen = sum of CMSG_ALIGN(cmsg_len).  This
  > works now that kernel fd passing has been fixed to accept a bit of
  > sloppiness because of this ABI repair.
  > lots of discussion with kettenis (deraadt@)

bind

  ~ lib/isc/unix/privsep_fdpass.c         ~ lib/isc/unix/socket.c

  > msg_controllen has to be CMSG_SPACE so that the kernel can account for
  > each cmsg_len (ie. msg_controllen = sum of CMSG_ALIGN(cmsg_len).  This
  > works now that kernel fd passing has been fixed to accept a bit of
  > sloppiness because of this ABI repair.
  > lots of discussion with kettenis (deraadt@)

config

  ~ gram.y                                ~ mkioconf.c
  ~ sem.c                                 ~ sem.h
  ~ ukcutil.c                             

  > Make it possible to disable/enable pseudo devices in UKC, config file and
  > at config -e. -moj	ok deraadt@ (maja@)

ospf6d

  ~ packet.c                              

  > msg_controllen has to be CMSG_SPACE so that the kernel can account for
  > each cmsg_len (ie. msg_controllen = sum of CMSG_ALIGN(cmsg_len).  This
  > works now that kernel fd passing has been fixed to accept a bit of
  > sloppiness because of this ABI repair.
  > lots of discussion with kettenis (deraadt@)

ospfd

  ~ packet.c                              

  > msg_controllen has to be CMSG_SPACE so that the kernel can account for
  > each cmsg_len (ie. msg_controllen = sum of CMSG_ALIGN(cmsg_len).  This
  > works now that kernel fd passing has been fixed to accept a bit of
  > sloppiness because of this ABI repair.
  > lots of discussion with kettenis (deraadt@)

ppp

  ~ ppp/bundle.c                          

  > msg_controllen has to be CMSG_SPACE so that the kernel can account for
  > each cmsg_len (ie. msg_controllen = sum of CMSG_ALIGN(cmsg_len).  This
  > works now that kernel fd passing has been fixed to accept a bit of
  > sloppiness because of this ABI repair.
  > lots of discussion with kettenis (deraadt@)

relayd

  ~ buffer.c                              ~ imsg.c

  > msg_controllen has to be CMSG_SPACE so that the kernel can account for
  > each cmsg_len (ie. msg_controllen = sum of CMSG_ALIGN(cmsg_len).  This
  > works now that kernel fd passing has been fixed to accept a bit of
  > sloppiness because of this ABI repair.
  > lots of discussion with kettenis (deraadt@)

ripd

  ~ packet.c                              

  > msg_controllen has to be CMSG_SPACE so that the kernel can account for
  > each cmsg_len (ie. msg_controllen = sum of CMSG_ALIGN(cmsg_len).  This
  > works now that kernel fd passing has been fixed to accept a bit of
  > sloppiness because of this ABI repair.
  > lots of discussion with kettenis (deraadt@)

route6d

  ~ route6d.c                             

  > msg_controllen has to be CMSG_SPACE so that the kernel can account for
  > each cmsg_len (ie. msg_controllen = sum of CMSG_ALIGN(cmsg_len).  This
  > works now that kernel fd passing has been fixed to accept a bit of
  > sloppiness because of this ABI repair.
  > lots of discussion with kettenis (deraadt@)

rtadvd

  ~ rtadvd.c                              

  > msg_controllen has to be CMSG_SPACE so that the kernel can account for
  > each cmsg_len (ie. msg_controllen = sum of CMSG_ALIGN(cmsg_len).  This
  > works now that kernel fd passing has been fixed to accept a bit of
  > sloppiness because of this ABI repair.
  > lots of discussion with kettenis (deraadt@)

rtsold

  ~ probe.c                               ~ rtsol.c

  > msg_controllen has to be CMSG_SPACE so that the kernel can account for
  > each cmsg_len (ie. msg_controllen = sum of CMSG_ALIGN(cmsg_len).  This
  > works now that kernel fd passing has been fixed to accept a bit of
  > sloppiness because of this ABI repair.
  > lots of discussion with kettenis (deraadt@)

snmpd

  ~ buffer.c                              ~ imsg.c

  > msg_controllen has to be CMSG_SPACE so that the kernel can account for
  > each cmsg_len (ie. msg_controllen = sum of CMSG_ALIGN(cmsg_len).  This
  > works now that kernel fd passing has been fixed to accept a bit of
  > sloppiness because of this ABI repair.
  > lots of discussion with kettenis (deraadt@)

syslogd

  ~ privsep_fdpass.c                      

  > msg_controllen has to be CMSG_SPACE so that the kernel can account for
  > each cmsg_len (ie. msg_controllen = sum of CMSG_ALIGN(cmsg_len).  This
  > works now that kernel fd passing has been fixed to accept a bit of
  > sloppiness because of this ABI repair.
  > lots of discussion with kettenis (deraadt@)

tcpdump

  ~ privsep_fdpass.c                      

  > msg_controllen has to be CMSG_SPACE so that the kernel can account for
  > each cmsg_len (ie. msg_controllen = sum of CMSG_ALIGN(cmsg_len).  This
  > works now that kernel fd passing has been fixed to accept a bit of
  > sloppiness because of this ABI repair.
  > lots of discussion with kettenis (deraadt@)

traceroute6

  ~ traceroute6.c                         

  > msg_controllen has to be CMSG_SPACE so that the kernel can account for
  > each cmsg_len (ie. msg_controllen = sum of CMSG_ALIGN(cmsg_len).  This
  > works now that kernel fd passing has been fixed to accept a bit of
  > sloppiness because of this ABI repair.
  > lots of discussion with kettenis (deraadt@)

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


More information about the odc mailing list