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

ODC auto at squish.net
Tue Apr 24 08:00:31 BST 2007


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

distrib/sets                            etc/mtree/4.4BSD.dist
sbin/bioctl                             sbin/fsck_ffs
sbin/growfs                             sbin/newfs
share/man                               sys/arch/alpha/alpha
sys/arch/alpha/include                  sys/arch/macppc/conf
sys/arch/macppc/dev                     sys/dev
sys/dev/acpi                            sys/dev/ic
sys/dev/pci                             sys/dev/usb
sys/kern                                sys/net
sys/netinet6                            sys/sys
sys/ufs/ffs                             usr.bin/join
usr.bin/rcs                             usr.bin/ssh
usr.sbin/bgpctl                         usr.sbin/bgpd
usr.sbin/pkg_add                        

== distrib =========================================================== 01/07 ==

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

sets

  ~ lists/man/mi                          

  > sync (deraadt@)

  ~ lists/man/mi                          

  > sync (deraadt@)

== etc =============================================================== 02/07 ==

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

mtree/4.4BSD.dist

  ~ mtree/4.4BSD.dist                     

  > - add /usr/xobj to the file hierarchy
  > "why not" mblamer@, ok krw@ todd@ (ajacoutot@)

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

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

bioctl

  ~ bioctl.8                              ~ bioctl.c

  > remove -D stuff which is just silly, imagine if ls had a debug mode; ok
  > marco (deraadt@)

fsck_ffs

  ~ pass5.c                               

  > Remove 'cg_space' from 'struct cg'. Due to the alignment on 64-bit
  > architectures, CGSIZE() was returning something sligthly over one block.
  > The 'new' fsck would round this value up to a fragment boundary, and end
  > up trying to access memory beyond allocated space. From mickey@, okay
  > pedro@, millert@ and otto at .edro@)

growfs

  ~ growfs.c                              

  > Remove 'cg_space' from 'struct cg'. Due to the alignment on 64-bit
  > architectures, CGSIZE() was returning something sligthly over one block.
  > The 'new' fsck would round this value up to a fragment boundary, and end
  > up trying to access memory beyond allocated space. From mickey@, okay
  > pedro@, millert@ and otto at .edro@)

newfs

  ~ mkfs.c                                

  > Remove 'cg_space' from 'struct cg'. Due to the alignment on 64-bit
  > architectures, CGSIZE() was returning something sligthly over one block.
  > The 'new' fsck would round this value up to a fragment boundary, and end
  > up trying to access memory beyond allocated space. From mickey@, okay
  > pedro@, millert@ and otto at .edro@)

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

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

man

  ~ man4/man4.macppc/Makefile             ~ man4/man4.macppc/macobio.4
  + man4/man4.macppc/sysbutton.4          

  > Add sysbutton manpage, alphabetize xlights. A macgpio manpage is still
  > needed. (gwk@)

  ~ man4/man4.macppc/sysbutton.4          

  > typos
  > consle->console
  > macobio->macgpio (gwk@)

  ~ man4/man4.macppc/sysbutton.4          ~ man4/man4.macppc/macobio.4
  + man4/man4.macppc/macgpio.4            

  > Add prototype macgpio(4) manpage mention sysbutton(4) on it, and
  > reference it from macobio(4). (gwk@)

  ~ man4/man4.macppc/Makefile             

  > Forgot the Makefile. (gwk@)

  ~ man4/man4.macppc/macgpio.4            

  > macgpio can also attach to itself fix the synopsis. (gwk@)

  ~ man8/release.8                        

  > - add /usr/xobj to the file hierarchy
  > "why not" mblamer@, ok krw@ todd@ (ajacoutot@)

  ~ man4/man4.macppc/sysbutton.4          

  > tweaks; (jmc@)

  ~ man4/man4.macppc/macgpio.4            

  > tweaks; (jmc@)

  ~ man4/man4.macppc/macobio.4            

  > sync Nd for macgpio; (jmc@)

  ~ man4/man4.macppc/xlights.4            

  > driver was renamed to xlights, not blights; (jmc@)

  - man4/man4.macppc/ki2c.4               - man4/man4.macppc/pi2c.4
  ~ man4/man4.macppc/Makefile             ~ man4/man4.macppc/adb.4
  ~ man4/man4.macppc/macobio.4            + man4/man4.macppc/kiic.4
  + man4/man4.macppc/piic.4               

  > rename drivers with numbers in them; ok gwk drahn (deraadt@)

  ~ man4/iic.4                            

  > more ki2c/pi2c -> kiic/piic; spotted by jmc (deraadt@)

  ~ man4/bge.4                            

  > the Broadcom BCM5751M Gigabit Ethernet device found on the
  > IBM ThinkPad T43 and T43p is supported by the bge(4) driver
  > ok by jmc@ (sobrado@)

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

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

arch/alpha/alpha

  ~ clock.c                               ~ machdep.c

  > Switch alpha to timecounters.
  > We use rpcc for the clock. We don't try to get the frequency from the
  > hwrpb, since from experience we know that it's very unreliable and
  > can be several % off from the real frequency. Instead we calibrate
  > the timecounter frequency by using the clock device and count the
  > number of cycles between two second ticks of the clocks.
  > This is not perfect, but still much better than what we had before.
  > We'll have to add an i8254 clock for MP though.
  > miod@ ok (art@)

arch/alpha/include

  ~ _types.h                              

  > Switch alpha to timecounters.
  > We use rpcc for the clock. We don't try to get the frequency from the
  > hwrpb, since from experience we know that it's very unreliable and
  > can be several % off from the real frequency. Instead we calibrate
  > the timecounter frequency by using the clock device and count the
  > number of cycles between two second ticks of the clocks.
  > This is not perfect, but still much better than what we had before.
  > We'll have to add an i8254 clock for MP though.
  > miod@ ok (art@)

arch/macppc/conf

  ~ GENERIC                               ~ RAMDISK
  ~ files.macppc                          

  > rename drivers with numbers in them; ok gwk drahn (deraadt@)

arch/macppc/dev

  ~ sysbutton.c                           

  > iqg -> irq
  > spotted by miod (gwk@)

  - ki2c.c                                - ki2cvar.h
  - pi2c.c                                ~ adb.c
  ~ daca.c                                ~ onyx.c
  ~ snapper.c                             ~ tumbler.c
  + kiic.c                                + kiicvar.h
  + piic.c                                

  > rename drivers with numbers in them; ok gwk drahn (deraadt@)

dev

  ~ softraid.c                            

  > Keep track of coerced chunk sizes. (marco@)

  ~ softraid.c                            ~ softraidvar.h

  > Add interesting runtime stats. (marco@)

  ~ softraid.c                            

  > Add initial test for existing metadata on chunks. (marco@)

dev/acpi

  ~ acpicpu.c                             

  > spacing and some really long lines (gwk@)

  ~ acpidev.h                             ~ acpidock.c

  > In acpidock_softc, change sc_sens from being a one element long array to
  > simply being a single struct ksensor. (mk@)

  ~ acpidock.c                            

  > When adding a device node to the list of dependant devices, don't add
  > the _EJD node.  Instead, add the parent actual device node instead
  > which makes more sense and makes sure that it doesn't matter if the _EJ0
  > node under a device node comes before the _EJD node. (mk@)

  ~ acpidock.c                            

  > When receiving an undock request, walk the list of dependant devices
  > and pull their _EJ0 knobs before undocking.  This ejects any dependant
  > devices (if necessary) before actually undocking.
  > Without this, the usb hub in my X6 gets upset when it's suddenly kicked
  > off the system without warning, and upon redocking it attaches as uberry.
  > Now it's behaving as it should. (mk@)

dev/ic

  ~ aic7xxx_inline.h                      

  > Kill inlines to shave some bytes.
  > krw@ (art@)

dev/pci

  ~ if_tht.c                              

  > add tht_write_dmap, and tht_write_pad.
  > tht_write_dmap will walk a loaded bus_dmamap_t and write the appropriate
  > pbd's to the fifo.
  > tht_write_pad will take the length of the whole descriptor and add a 4 byte
  > pad to the descriptor if necessary. (dlg@)

  ~ if_tht.c                              

  > replace the code in the rxf and txt fifo handlers that loads the dma
  > descriptors and adds the pad with tht_write_dmap and tht_write_pad. (dlg@)

  ~ if_tht.c                              

  > when we use a fifo we always seem to need to know how much of the fifo is
  > ready to be used, and we need to decrement that "ready" count as we go over
  > the fifo. this diff moves that ready counter into the tht_fifo struct.
  > the ready value is calculated when we read the fifo pointers off the
  > hardware, and decremented by fifo_read or fifo_write as we work through it.
  > each of the loops over the fifos checks it directly to see if there's
  > anything left to work on. (dlg@)

  ~ if_tht.c                              

  > spelling in comment fix. (dlg@)

  ~ if_tht.c                              

  > increment opackets and ipackets. clear OACTIVE when tx completes. (dlg@)

dev/usb

  ~ usbdevs                               

  > New unbranded uplcom(4). (jsg@)

  ~ usbdevs.h                             ~ usbdevs_data.h

  > regen (jsg@)

  ~ uplcom.c                              

  > Add an unbranded device I have, chip says its a PL-2303HX. (jsg@)

kern

  ~ subr_pool.c                           

  > Clean up an obsolete allocator.
  > miod@ ok (art@)

net

  ~ ethertypes.h                          

  > add ethernet type for "slow protocols" (defined in IEEE 802.3ad)
  > ok dlg@ (reyk@)

netinet6

  ~ route6.c                              

  TAGGED OPENBSD_3_9
  > IPv6 routing headers are a type of 'super source routing', and pose a
  > significant and serious risk to hosts and the internet.  That this
  > host-controlled routing even came into existance once again shows how
  > broken the IETF process is.  Disable this source routing, with
  > prejudice. (mbalmer@)

sys

  ~ pool.h                                

  > Clean up an obsolete allocator.
  > miod@ ok (art@)

  ~ pool.h                                

  > Clean up some comments.
  > Don't say that the nointr allocator happens to be interrupt safe since
  > that's something that callers shouldn't know and it just confuses people.
  > If you want an interrupt safe allocator you specify NULL as the last
  > argument to pool_init(). If you want a no interrupt allocator you use
  > _nointr. The fact that they happen to be the same right now is irrelevant.
  > pointed out by kettenis@ (art@)

ufs/ffs

  ~ fs.h                                  

  > Remove 'cg_space' from 'struct cg'. Due to the alignment on 64-bit
  > architectures, CGSIZE() was returning something sligthly over one block.
  > The 'new' fsck would round this value up to a fragment boundary, and end
  > up trying to access memory beyond allocated space. From mickey@, okay
  > pedro@, millert@ and otto at .edro@)

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

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

join

  ~ join.c                                

  > Remove duplicate commment
  > Simplify -j parsing
  > Use warnx() not errx() for illegal -j option so that usage() gets called.
  > When parsing -o don't go past the end of argv
  > Sync usage() with man page, use __progname and make it line up nicely
  > Based on a diff from Tobias Stoeckmann (millert@)

rcs

  ~ rcs.1                                 

  > chopping the end of this sentence off made more sense than fixing it;
  > ok xsa (jmc@)

ssh

  ~ servconf.c                            

  > Remove debug() left over from development.	ok deraadt@ (dtucker@)

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

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

bgpctl

  ~ bgpctl.c                              ~ parser.c

  > bgpctl needs to know about 4-byte AS numbers as well. (claudio@)

bgpd

  ~ bgpd.h                                ~ log.c
  ~ mrt.c                                 ~ parse.y
  ~ printconf.c                           ~ rde.c
  ~ rde.h                                 ~ rde_attr.c
  ~ rde_filter.c                          ~ rde_update.c
  ~ session.c                             ~ session.h
  ~ util.c                                

  > Make bgpd 4-byte AS compatible. All internal representations of AS numbers
  > are now 4-byte instead of the old 2-byte numbers. The only exception are
  > communities because they can not be switched. The RDE will inflate and
  > deflate
  > the ASPATH and AGGREGATOR attributes on demand and create the NEW_ASPATH
  > and
  > NEW_AGGREGATOR field whenever needed. Both old and new stile sessions are
  > supported and can be mixed. Currently new stile sessions with the 4-byte AS
  > number capability turned on are only enabled if one of the AS numbers
  > involved
  > is a 4-byte one.
  > This is based on an initial diff by Geoff Huston gih (at) apnic (dot) net
  > Cleanup, testing and bug-fixes by myself (via AS 3.10).
  > Currently mrt table dumps are producing incompatible output this will be
  > fixed
  > afterwards -- this diff is already big enough.
  > "get it in if you think it is ready" henning@ (claudio@)

  ~ carp.c                                

  > Use correct function name in log_warn(). (claudio@)

pkg_add

  ~ pkg_create.1                          

  > Document
  > @comment no checksum
  > as noticed by Martynas. (espie@)

  ~ pkg_create.1                          

  > groff cannot deal with ".Li" before other macros that change font - just
  > remove it; (jmc@)

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



More information about the odc mailing list