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

ODC auto at squish.net
Tue Apr 3 08:00:30 BST 2007


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

games/adventure                         games/arithmetic
games/atc                               games/gomoku
games/hack                              games/hangman
games/hunt                              games/quiz
games/sail                              games/snake
games/wump                              libexec/ld.so
libexec/tftpd                           sbin/isakmpd
sbin/newfs                              share/man
sys/arch/macppc/dev                     sys/arch/sparc64/dev
sys/dev/ata                             sys/dev/ic
sys/dev/pci                             sys/msdosfs
sys/ufs/ufs                             usr.bin/awk
usr.bin/login                           usr.bin/sort
usr.bin/unifdef                         usr.bin/ypwhich
usr.sbin/bgpd                           usr.sbin/ospfd

== games ============================================================= 01/07 ==

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

adventure

  ~ adventure.6                           

  > .Ar for arguments; from Igor Sobrado (jmc@)

arithmetic

  ~ arithmetic.6                          

  > -o and -r take arguments; from Igor Sobrado (jmc@)

atc

  ~ atc.6                                 ~ main.c

  > tidy up synopsis and usage(); from Igor Sobrado (jmc@)

gomoku

  ~ gomoku.6                              ~ main.c

  > sort options + kill usage() verbosity; from Igor Sobrado (jmc@)

hack

  ~ hack.6                                

  > tidy up synopsis; from Igor Sobrado
  > tweak AUTHORS whilst here (jmc@)

hangman

  ~ hangman.6                             

  > -d takes an argument; from Igor Sobrado (jmc@)

hunt

  ~ hunt/hunt.c                           ~ hunt/hunt.6

  > sort options; from Igor Sobrado (jmc@)

  ~ huntd/huntd.6                         ~ huntd/driver.c

  > tidy up synopis and usage(); sort options; from Igor Sobrado (jmc@)

quiz

  ~ quiz.6                                

  > -i takes an argument; from Igor Sobrado (jmc@)

sail

  ~ sail.6                                

  > tidy up synopsis and sort options; from Igor Sobrado (jmc@)

snake

  ~ snake.6                               ~ snake.c

  > tidy up synopsis and usage(); from Igor Sobrado (jmc@)

wump

  ~ wump.6                                ~ wump.c

  > provide some missing arguments and tidy up usage(); from Igor Sobrado
  > (jmc@)

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

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

ld.so

  ~ loader.c                              

  > Since the kernel allows argv[0] == NULL, dont core in ld.so
  > diff from Matthew Dempsky, with reminder from theo. (drahn@)

tftpd

  ~ tftpd.c                               

  > be more forgiving about tftp requests that come from the 255.255.255.255,
  > as is of particular concern with the sun v215; tested by kettenis, no
  > regressions spotted by pyr (deraadt@)

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

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

isakmpd

  ~ isakmpd.c                             

  > Don't let -r fall through to the next case block,
  > if INSECURE_RAND is defined.
  > ok hshoexer@ (moritz@)

  ~ monitor.c                             

  > When setting all signals to their default handlers, start
  > with signal 1, since there's no signal 0.
  > ok hshoexer@ (moritz@)

  ~ monitor.c                             

  > Don't append the errno string in a log_error() call,
  > since it will be automatically be appended.
  > ok hshoexer@ (moritz@)

newfs

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

  > Modern disks do bad sector replacement themselves.	There is no
  > need to reserve space for them in the filesystem itself.
  > OK deraadt@ pedro@ (millert@)

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

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

man

  ~ man4/man4.macppc/daca.4               

  > DAC3550A is found in PowerBook2,1 and PowerBook2,2. (xsa@)

  ~ man4/man4.macppc/asms.4               

  > sudden motion sensor is also found in PowerBook5,8 and PowerBook6,7. (xsa@)

  ~ man4/man4.macppc/daca.4               

  > no need for a new section; (jmc@)

  ~ man4/man4.macppc/daca.4               

  > revert previous: at least it's consistent (jmc@)

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

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

arch/macppc/dev

  ~ if_mc.c                               ~ mesh.c

  > unmapiodev() takes the va as its first argument, not the pa.
  > ok gwk@ (kettenis@)

arch/sparc64/dev

  ~ iommu.c                               

  > Return EFBIG in case not enough segments are present to load a DMA request
  > instead of ENOMEM and remove/shortcut the additional debug printfs.
  > Some network drivers will try to load the mbuf chain and linearize the
  > mbufs
  > if EFBIG is returned.
  > OK miod@ kettenis@ (claudio@)

  ~ pci_machdep.c                         

  > Remove bogus code.	Turning on parity for pci busses may be a good idea,
  > but
  > this is not the way to do it.  And given the way Sun host bridges crap out
  > upon access to pci config space for nonexistent devices, this code is
  > rightout harmful for machines where device 0 isn't present on some busses.
  > Tested by many; ok deraadt@ (kettenis@)

dev/ata

  ~ atascsi.h                             

  > Read log page 10h to determine the NCQ error, instead of aborting all
  > active commands when an error is encountered.
  > ok dlg@ (pascoe@)

dev/ic

  ~ rtw.c                                 

  > Similar to other drivers call if_start() at the end of the rx interrupt
  > because
  > ieee80211_input() may enqueue packets.
  > OK jsg@ (claudio@)

dev/pci

  ~ ahci.c                                

  > Read log page 10h to determine the NCQ error, instead of aborting all
  > active commands when an error is encountered.
  > ok dlg@ (pascoe@)

msdosfs

  ~ msdosfs_vnops.c                       

  > When running out of space to place a directory entry in msdosfs_readdir(),
  > save the correct offset in case the directory has support for long file
  > names, and return it to the caller so she can proceed from a valid point.
  > From Alexey Vatchenko, okay tedu at .edro@)

ufs/ufs

  ~ ufs_vnops.c                           

  > vrele() the destination directory vnode in ufs_rename() if the call to
  > ufs_checkpath() fails, okay krw@ tom@ thib@ deraadt@ (pedro@)

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

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

awk

  ~ maketab.c                             

  > Do not touch uninitialized variable, if sscanf(3) fails.
  > ok millert@ (moritz@)

login

  ~ login.1                               ~ login.c

  > tweak the -LR options, after similar changes to tcpdrop(8); ok deraadt
  > (jmc@)

sort

  ~ init.c                                

  > The scanf(3) family of functions can return EOF (-1) if an input
  > failure occurs. So check it, before blindly adding it to some
  > pointer.
  > ok millert@ (moritz@)

unifdef

  ~ unifdef.1                             ~ unifdef.c

  > tidy up synopsis and usage(); sort options;
  > from Igor Sobrado, tweaked by myself (jmc@)

ypwhich

  ~ ypwhich.1                             ~ ypwhich.c

  > tidy up synopsis and usage();
  > includes bits of a diff from Igor Sobrado and some help from otto
  > ok otto (jmc@)

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

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

bgpd

  ~ rde_rib.c                             

  > Typo. (claudio@)

ospfd

  ~ rde_spf.c                             

  > Use fatal() if calloc fails instead of fatalx(). (claudio@)

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



More information about the odc mailing list