[odc] Daily src changes for 2007-06-26

ODC auto at squish.net
Wed Jun 27 07:00:01 BST 2007


OpenBSD src changes summary for 2007-06-26
==========================================

games/fortune                           lib/libc
sbin/newfs                              share/man
sys/arch/hppa/dev                       sys/arch/i386/i386
sys/dev/ic                              sys/dev/pci
sys/dev/usb                             sys/lib/libsa
sys/net                                 sys/netbt
sys/stand                               sys/sys
usr.bin/cvs                             usr.bin/lam
usr.bin/rcs                             usr.sbin/pkg_add

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

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

fortune

  ~ fortune/fortune.c                     ~ strfile/strfile.c

  > Set shortest string count to 0 in strfile(8), if there a no strings found
  > and check the number of strings in fortune(6) to prevent empty fortune
  > files to cause division by zero. Fixes PR 5514.
  > OK miod@ ray@ deraadt@ (moritz@)

== lib =============================================================== 02/07 ==

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

libc

  ~ gen/scandir.c                         

  > It seems st_size is not always a good estimator for the number of
  > directory entries.	ZFS, for instance, sets st_size to the number
  > of entries.
  > Use the same algorithm for the initial estimate but keep a minimum
  > to prevent a divide by zero.  When the buffer is filled, instead
  > of re-using the same flawed algorithm, double the buffer size.
  > Also add check for integer overflow.
  > Bug reported by Ed Ravin, ZFS testing environment provided by Bryan
  > Allen.
  > OK millert (ray@)

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

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

newfs

  ~ mkfs.c                                ~ newfs.c

  > Enable creation of larger than 1TB FFS2 filesystems. Note that this
  > won't work yet. There remains sys/ufs work.  ok deraadt@ (otto@)

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

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

man

  ~ man5/types.5                          

  > - add daddr32_t and daddr64_t
  > - sync comment for daddr_t (jmc@)

  ~ man5/pf.conf.5                        

  > checkd -> checked; from Nicholas Marriott (jmc@)

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

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

arch/hppa/dev

  ~ ssio.c                                

  > Switch associated pciide(4) into native mode, and route its interrupt
  > appropriately.  Make it use irq 5, and rewire lpt(4) to irq 7.
  > ok deraadt@ (kettenis@)

arch/i386/i386

  ~ trap.c                                

  > Provide a default case so that we don't end up trying to dereference
  > vframe when it hasn't been set.
  > Prompted by a diff from mickey@
  > ok art@ (tom@)

dev/ic

  ~ ar5xxx.c                              

  > Implement bit swap for a byte in O(log(N)) rather than O(N), prompted
  > by an interview question I was asked.
  > ok reyk@ (tom@)

dev/pci

  ~ ixgb_ee.c                             

  > Fix "the the"s.  ok miod at . (tom@)

  ~ pciide.c                              

  > Make natsemi_pci_intr() use pciide_intr_flag().  Needed on the PC87415 part
  > integrated on the PC87560 Legacy IO chip found on several hppa workstation
  > models.
  > ok jsg@ (kettenis@)

dev/usb

  ~ if_kuereg.h                           

  > Alignment fixes from mickey. (jsg@)

lib/libsa

  ~ loadfile.c                            

  > Fix the description of loadfile() semantics in comment (and kill "and
  > and" at the same time). (tom@)

net

  ~ if_pfsync.c                           

  > Fix a race condition during ruleset reload; make sure we don't walk off
  > the end of the array of rule pointers when attaching a pfsync'd state
  > to a rule. Reported in PR5508 by mayer at netlab.nec.de.
  > ok henning@ (mcbride@)

netbt

  ~ rfcomm_upper.c                        

  > Fix "the the"s.  ok miod at . (tom@)

stand

  ~ boot/boot.c                           

  > loadfile() returns an open file descriptor on successful exit, so
  > close it before going off to execute the newly-loaded kernel.
  > ok deraadt@ (tom@)

sys

  ~ cdefs.h                               

  > Fix "the the"s.  ok miod at . (tom@)

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

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

cvs

  ~ client.c                              ~ cmd.c
  ~ file.c                                ~ getlog.c
  ~ log.c                                 ~ log.h
  ~ remote.h                              ~ server.c

  > add support for cvs rlog.
  > from Mickey.
  > ok joris@ ray@ (niallo@)

  ~ Makefile                              ~ cmd.c
  ~ cvs.h                                 + release.c

  > Bring back the release command. More work to be done though.
  > OK joris@ niallo at . (xsa@)

lam

  ~ lam.c                                 

  > Fix buffer overflow reported by Tobias Stoeckmann by increasing the
  > number of file descriptors to the correct limit, NOFILE_MAX, and
  > improve calculation of open file count.
  > OK moritz (ray@)

rcs

  ~ ci.c                                  

  > allow ci -N<tag name> even when no changes.  mimics GNU behaviour.
  > based on a diff from Tero Koskinen <tero.koskinen at iki.fi>
  > ok joris@ (niallo@)

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

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

pkg_add

  ~ pkg_add                               ~ OpenBSD/Dependencies.pm
  ~ OpenBSD/Vstat.pm                      

  > the big gap one: create UpdateSet for all packages being installed, and
  > consider only UpdateSet internally. This involves moving stuff around a
  > bit to keep pkg_add -n working, adding creators from_location for
  > UpdateSet,
  > and tweaking dependencies heavily.
  > More changes later, like sanitizing PackageLocation state engine, or
  > creating UpdateSet earlier for actual updates. (espie@)

  ~ pkg_add                               

  > missed one mark_as_installed. (espie@)

  ~ pkg_info                              

  > fix pkg_info's find_by_path behavior, which I accidentally broke two
  > versions back... (espie@)

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


More information about the odc mailing list