[odc] Daily src changes for 2007-03-21

ODC auto at squish.net
Thu Mar 22 07:00:43 GMT 2007


OpenBSD src changes summary for 2007-03-21
==========================================

distrib/sets                            etc/ospfd.conf
lib/libc                                lib/libevent
libexec/identd                          libexec/login_radius
sbin/mount_cd9660                       sbin/pfctl
share/man                               sys/adosfs
sys/arch/alpha/alpha                    sys/arch/amd64/conf
sys/arch/i386/conf                      sys/arch/m68k/include
sys/arch/m88k/include                   sys/arch/m88k/m88k
sys/arch/mips64/mips64                  sys/arch/zaurus/stand/zboot
sys/dev/ata                             sys/dev/pci
sys/isofs/cd9660                        sys/isofs/udf
sys/kern                                sys/miscfs/deadfs
sys/msdosfs                             sys/sys
sys/ufs/ext2fs                          sys/ufs/ffs
sys/ufs/ufs                             sys/xfs
usr.bin/aucat                           usr.bin/cvs
usr.bin/vacation                        usr.bin/xlint
usr.sbin/dvmrpd                         usr.sbin/hoststated
usr.sbin/ospfd                          

== distrib =========================================================== 01/09 ==

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

sets

  ~ lists/man/mi                          

  > sync (deraadt@)

  ~ lists/base/md.alpha                   ~ lists/base/md.amd64
  ~ lists/base/md.armish                  ~ lists/base/md.aviion
  ~ lists/base/md.cats                    ~ lists/base/md.hp300
  ~ lists/base/md.hppa                    ~ lists/base/md.hppa64
  ~ lists/base/md.i386                    ~ lists/base/md.landisk
  ~ lists/base/md.luna88k                 ~ lists/base/md.mac68k
  ~ lists/base/md.macppc                  ~ lists/base/md.mvme68k
  ~ lists/base/md.mvme88k                 ~ lists/base/md.mvmeppc
  ~ lists/base/md.sgi                     ~ lists/base/md.sparc
  ~ lists/base/md.sparc64                 ~ lists/base/md.vax
  ~ lists/base/md.zaurus                  ~ lists/comp/md.macppc
  ~ lists/comp/mi                         

  > sync (deraadt@)

== etc =============================================================== 02/09 ==

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

ospfd.conf

  ~ ospfd.conf                            

  > Reflect default settings. Don't try to set the router-id, let ospfd(8)
  > pick one as per default.
  > ok claudio@ (norby@)

== lib =============================================================== 03/09 ==

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

libc

  ~ sys/mount.2                           

  > Add support for mounting arbitrary sessions, from Enache Adrian
  > OK deraadt@ mjc@ canacar@ krw@, with much input from Enache himself
  > (pedro@)

libevent

  ~ Makefile                              ~ event.3

  > Document event_base_free().  OK jmc@ (millert@)

  ~ Makefile                              ~ evdns.c

  > Use arc4random() to generate random IDs.  In the future we
  > may want to consider using res_randomid() but since evdns.c
  > checks for duplicates this is not strictly necessary. (millert@)

  ~ evdns.3                               

  > fix a formatting issue found by reyk; (jmc@)

  ~ event.3                               

  > event_init() and event_dispatch() take void.  Add commented out
  > entries for undocumented functions to be filled in later, preferably
  > by someone who uses libevent. (millert@)

  ~ event.3                               

  > Add missing const
  > List evhttp stuff commented out, should probably get its own man page
  > (millert@)

== libexec =========================================================== 04/09 ==

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

identd

  ~ parse.c                               

  > remove extra *p tests, from charles longeau
  > ok deraadt millert (tedu@)

login_radius

  ~ login_radius.c                        

  > remove extra *p tests, from charles longeau
  > ok deraadt millert (tedu@)

== sbin ============================================================== 05/09 ==

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

mount_cd9660

  ~ mount_cd9660.8                        ~ mount_cd9660.c

  > Add support for mounting arbitrary sessions, from Enache Adrian
  > OK deraadt@ mjc@ canacar@ krw@, with much input from Enache himself
  > (pedro@)

  ~ mount_cd9660.8                        

  > kill trailing whitespace; (jmc@)

pfctl

  ~ pfctl.8                               ~ pfctl.c

  > Enable basic ruleset optimization by default.
  > ok deraadt henning (mcbride@)

== share ============================================================= 06/09 ==

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

man

  - man4/man4.zaurus/saost.4              ~ man4/man4.zaurus/Makefile
  + man4/man4.zaurus/pxaost.4             

  > Rename saost.4 to pxaost.4 and update - the driver got rewritten; ok drahn
  > (uwe@)

  ~ man4/man4.zaurus/intro.4              ~ man4/man4.zaurus/pxaip.4

  > saost is dead, long live pxaost, and add .Xr to pxammc to intro; pointed
  > out by jmc (uwe@)

  ~ man5/pf.conf.5                        

  > Basic ruleset optimization is now the default.
  > Use 'set ruleset-optimization none' or the -o none argument
  > to prevent pfctl from optimizing the ruleset before loading it. (mcbride@)

  ~ man4/pciide.4                         

  > Mention JMB368 support. (jsg@)

  ~ man4/uts.4                            

  > start a list of supported devices (robert@)

  ~ man4/umsm.4                           

  > add pppd example for Cingular that I have been using; ok fkr@ jmc@
  > (stevesk@)

  ~ man8/rc.conf.8                        

  > - this file also document rc.conf.local, so add it to NAME
  > - tweak SEE ALSO (jmc@)

  ~ man8/afterboot.8                      

  > remove the various sections on enabling daemons: the page was getting
  > overly
  > big and out of date; this way we can make intro(8) do some work; (jmc@)

  ~ man8/intro.8                          

  > transfer, more or less, the daemon section of afterboot(8); a fair bit
  > of work to be done, but hopefully the layout is good. (jmc@)

  ~ man8/intro.8                          

  > update the variables for bootp/dhcpd; (jmc@)

  ~ man4/ubsa.4                           

  > add HUAWEI Mobile Connect E620 to the list of devices supported by ubsa(4).
  > reported by Aleksander Piotrowski. (fkr@)

== sys =============================================================== 07/09 ==

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

adosfs

  ~ adutil.c                              ~ advnops.c

  > Remove the v_interlock simplelock from the vnode structure.
  > Zap all calls to simple_lock/unlock() on it (those calls are
  > #defined away though). Remove the LK_INTERLOCK from the calls
  > to vn_lock() and cleanup the filesystems wich implement VOP_LOCK().
  > (by remvoing the v_interlock from there calls to lockmgr()).
  > ok pedro@, art@, tedu@ (thib@)

arch/alpha/alpha

  ~ dec_eb64plus.c                        ~ dec_kn300.c

  > no need to include uvm_extern.h here (martin@)

arch/amd64/conf

  ~ RAMDISK_CD                            ~ GENERIC

  > enable ahci(4). this only attaches to the jmicron controllers so far.
  > if anyone can quickly try this on i386 i'll enable it there too.
  > ok deraadt@ (dlg@)

arch/i386/conf

  ~ GENERIC                               

  > ahci seems to work fine on i386. thanks to marc winiger for figuring that
  > out for me. (dlg@)

arch/m68k/include

  ~ atomic.h                              

  > Real atomic_{set,clear}bits_int implementation, no performance hit on 060
  > unless used on non-aligned data; ok deraadt@ (miod@)

arch/m88k/include

  ~ atomic.h                              

  > Real atomic_{set,clear}bits_int implementation, ok deraadt (miod@)

arch/m88k/m88k

  ~ pmap.c                                

  > Map the kernel text read only. Because we can. (miod@)

  ~ db_interface.c                        

  > Uninitialized variable in db_write_bytes(). (miod@)

arch/mips64/mips64

  ~ busdma.c                              ~ cache_r10k.S
  ~ cache_r5k.S                           

  > Mips_IOSyncDCache last argument is in the 0..2 range, not -1..1, so let
  > C and asm code agree on this; this causes no functional change on r10k
  > and fewer wt invalidates on r5k. ok kettenis@ (miod@)

arch/zaurus/stand/zboot

  ~ cmd.c                                 

  > remove extra *p test, from charles longeau
  > ok deraadt millert (tedu@)

dev/ata

  ~ atascsi.c                             ~ atascsi.h

  > replace the array of u_int8_ts for the fis/registers with a struct to make
  > it a bit easier to read. there are variations on this, but they can be
  > defined later. (dlg@)

  ~ atascsi.c                             

  > atascsi sends h2d fis's, not d2h. (dlg@)

  ~ atascsi.h                             

  > Add support for issuing NCQ commands via AHCI.
  > Because you cannot have NCQ commands active at the same time as standard
  > (non-queued) commands, we must introduce a queueing scheme into the driver.
  > This scheme ensures that a standard command is only issued to the drive
  > when
  > all currently active NCQ commands have finished, and that NCQ command issue
  > is delayed when we have a pending standard command.
  > Additionally, the queueing scheme adds a constraint to ensure that there
  > are
  > never more than two standard commands issued on a port at once.  This
  > should
  > ensure that commands become active in the order they were submitted
  > (regardless
  > of their command slot number) both initially and when the port is
  > reactivated
  > after error recovery.
  > These points mean that issuing a standard command effectively serialises
  > the
  > port, which may help us implement meaningful I/O barriers in the future.
  > (pascoe@)

  ~ atascsi.c                             

  > A polled xfer has completed and been put by the time ata_cmd returns, so
  > don't use xa->flags afterwards. (pascoe@)

dev/pci

  ~ ahci.c                                

  > For now, reserve one opening so we always have a CCB free to issue a soft
  > reset with during error recovery.  Also, ensure that that CCB has been
  > stopped on the chip before putting it back in the pool. (pascoe@)

  ~ ahci.c                                

  > replace the array of u_int8_ts for the fis/registers with a struct to make
  > it a bit easier to read. there are variations on this, but they can be
  > defined later. (dlg@)

  ~ ahci.c                                

  > dont print if there is a device found or not, you can figure that out by
  > seeing things attach to the scsibus.
  > ok pascoe@ (dlg@)

  ~ pciide.c                              + pciide_jmicron_reg.h

  > Basic support for JMicron PATA.
  > JMB368 supported for now, multi port cards
  > that share PATA/SATA need to do a complicated
  > internal channel mapping dance I plan to look into next.
  > ok grange@ (jsg@)

  ~ ahci.c                                

  > Add support for issuing NCQ commands via AHCI.
  > Because you cannot have NCQ commands active at the same time as standard
  > (non-queued) commands, we must introduce a queueing scheme into the driver.
  > This scheme ensures that a standard command is only issued to the drive
  > when
  > all currently active NCQ commands have finished, and that NCQ command issue
  > is delayed when we have a pending standard command.
  > Additionally, the queueing scheme adds a constraint to ensure that there
  > are
  > never more than two standard commands issued on a port at once.  This
  > should
  > ensure that commands become active in the order they were submitted
  > (regardless
  > of their command slot number) both initially and when the port is
  > reactivated
  > after error recovery.
  > These points mean that issuing a standard command effectively serialises
  > the
  > port, which may help us implement meaningful I/O barriers in the future.
  > (pascoe@)

  ~ ahci.c                                

  > NCQ commands generate a "Set Device Bits" FIS upon completion.  Enable the
  > generation of interrupts when they arrive. (pascoe@)

isofs/cd9660

  ~ cd9660_vfsops.c                       

  > Add support for mounting arbitrary sessions, from Enache Adrian
  > OK deraadt@ mjc@ canacar@ krw@, with much input from Enache himself
  > (pedro@)

  ~ cd9660_node.c                         ~ cd9660_vnops.c

  > Remove the v_interlock simplelock from the vnode structure.
  > Zap all calls to simple_lock/unlock() on it (those calls are
  > #defined away though). Remove the LK_INTERLOCK from the calls
  > to vn_lock() and cleanup the filesystems wich implement VOP_LOCK().
  > (by remvoing the v_interlock from there calls to lockmgr()).
  > ok pedro@, art@, tedu@ (thib@)

isofs/udf

  ~ udf_vnops.c                           

  > Remove the v_interlock simplelock from the vnode structure.
  > Zap all calls to simple_lock/unlock() on it (those calls are
  > #defined away though). Remove the LK_INTERLOCK from the calls
  > to vn_lock() and cleanup the filesystems wich implement VOP_LOCK().
  > (by remvoing the v_interlock from there calls to lockmgr()).
  > ok pedro@, art@, tedu@ (thib@)

kern

  ~ kern_synch.c                          

  > Split tsleep into pieces. Instead of doing everything in a large "shove
  > everything into it" function, there are now 6 stages of tsleep with
  > an on-stack (remember that kernel stacks are not swappable now?)
  > structure that keeps track of the state.
  > This way we first setup the sleep, setup the events that might break the
  > sleep, finish the sleep (actually sleeping) and then take care of the
  > events that could wake us up.
  > In the future this will make it easier to implement functionality like:
  > setup sleep, release lock or check some condition, finish sleep, in a
  > race-free way and without duplicating or complicating the tsleep function
  > too much.
  > miod@, millert@ ok. (art@)

  ~ vfs_default.c                         ~ vfs_subr.c
  ~ vfs_vnops.c                           

  > Remove the v_interlock simplelock from the vnode structure.
  > Zap all calls to simple_lock/unlock() on it (those calls are
  > #defined away though). Remove the LK_INTERLOCK from the calls
  > to vn_lock() and cleanup the filesystems wich implement VOP_LOCK().
  > (by remvoing the v_interlock from there calls to lockmgr()).
  > ok pedro@, art@, tedu@ (thib@)

miscfs/deadfs

  ~ dead_vnops.c                          

  > Remove the v_interlock simplelock from the vnode structure.
  > Zap all calls to simple_lock/unlock() on it (those calls are
  > #defined away though). Remove the LK_INTERLOCK from the calls
  > to vn_lock() and cleanup the filesystems wich implement VOP_LOCK().
  > (by remvoing the v_interlock from there calls to lockmgr()).
  > ok pedro@, art@, tedu@ (thib@)

msdosfs

  ~ msdosfs_denode.c                      ~ msdosfs_vfsops.c
  ~ msdosfs_vnops.c                       

  > Remove the v_interlock simplelock from the vnode structure.
  > Zap all calls to simple_lock/unlock() on it (those calls are
  > #defined away though). Remove the LK_INTERLOCK from the calls
  > to vn_lock() and cleanup the filesystems wich implement VOP_LOCK().
  > (by remvoing the v_interlock from there calls to lockmgr()).
  > ok pedro@, art@, tedu@ (thib@)

sys

  ~ proc.h                                

  > Split tsleep into pieces. Instead of doing everything in a large "shove
  > everything into it" function, there are now 6 stages of tsleep with
  > an on-stack (remember that kernel stacks are not swappable now?)
  > structure that keeps track of the state.
  > This way we first setup the sleep, setup the events that might break the
  > sleep, finish the sleep (actually sleeping) and then take care of the
  > events that could wake us up.
  > In the future this will make it easier to implement functionality like:
  > setup sleep, release lock or check some condition, finish sleep, in a
  > race-free way and without duplicating or complicating the tsleep function
  > too much.
  > miod@, millert@ ok. (art@)

  ~ mount.h                               

  > Add support for mounting arbitrary sessions, from Enache Adrian
  > OK deraadt@ mjc@ canacar@ krw@, with much input from Enache himself
  > (pedro@)

  ~ vnode.h                               

  > Remove the v_interlock simplelock from the vnode structure.
  > Zap all calls to simple_lock/unlock() on it (those calls are
  > #defined away though). Remove the LK_INTERLOCK from the calls
  > to vn_lock() and cleanup the filesystems wich implement VOP_LOCK().
  > (by remvoing the v_interlock from there calls to lockmgr()).
  > ok pedro@, art@, tedu@ (thib@)

  ~ pool.h                                

  > typo (pedro@)

ufs/ext2fs

  ~ ext2fs_vfsops.c                       

  > Remove the v_interlock simplelock from the vnode structure.
  > Zap all calls to simple_lock/unlock() on it (those calls are
  > #defined away though). Remove the LK_INTERLOCK from the calls
  > to vn_lock() and cleanup the filesystems wich implement VOP_LOCK().
  > (by remvoing the v_interlock from there calls to lockmgr()).
  > ok pedro@, art@, tedu@ (thib@)

ufs/ffs

  ~ ffs_vfsops.c                          

  > Remove the v_interlock simplelock from the vnode structure.
  > Zap all calls to simple_lock/unlock() on it (those calls are
  > #defined away though). Remove the LK_INTERLOCK from the calls
  > to vn_lock() and cleanup the filesystems wich implement VOP_LOCK().
  > (by remvoing the v_interlock from there calls to lockmgr()).
  > ok pedro@, art@, tedu@ (thib@)

ufs/ufs

  ~ ufs_ihash.c                           ~ ufs_quota.c
  ~ ufs_vnops.c                           

  > Remove the v_interlock simplelock from the vnode structure.
  > Zap all calls to simple_lock/unlock() on it (those calls are
  > #defined away though). Remove the LK_INTERLOCK from the calls
  > to vn_lock() and cleanup the filesystems wich implement VOP_LOCK().
  > (by remvoing the v_interlock from there calls to lockmgr()).
  > ok pedro@, art@, tedu@ (thib@)

xfs

  ~ xfs_vnodeops-bsd.c                    

  > Remove the v_interlock simplelock from the vnode structure.
  > Zap all calls to simple_lock/unlock() on it (those calls are
  > #defined away though). Remove the LK_INTERLOCK from the calls
  > to vn_lock() and cleanup the filesystems wich implement VOP_LOCK().
  > (by remvoing the v_interlock from there calls to lockmgr()).
  > ok pedro@, art@, tedu@ (thib@)

== usr.bin =========================================================== 08/09 ==

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

aucat

  ~ aucat.1                               

  > describe .wav support in one sentence (uwe@)

  ~ aucat.1                               

  > tweaks; (jmc@)

cvs

  ~ cvs.1                                 

  > Document the CVSROOT/config file; input and OK's niallo@ jmc at .sa@)

vacation

  ~ vacation.c                            

  > remove extra *p tests, from charles longeau
  > ok deraadt millert (tedu@)

xlint

  ~ lint1/emit1.c                         

  > remove extra *p tests, from charles longeau
  > ok deraadt millert (tedu@)

== usr.sbin ========================================================== 09/09 ==

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

dvmrpd

  ~ dvmrpd.h                              ~ parse.y
  ~ rde.c                                 ~ rde.h
  ~ rde_srt.c                             

  > Added code to parse unicast routes learned from route report packets.
  > Now we are able to select correctly designated forwarders and downstream
  > dependent routers per interface.
  > Tested and OK norby@ (michele@)

hoststated

  ~ hoststated.conf.5                     ~ hoststated.h
  ~ parse.y                               ~ relay.c

  > in addition to the host retry option in tables, add support for the
  > optional connection "retry" to the forward to, service, and nat lookup
  > options. for example, "nat lookup retry 3" is useful when running
  > hoststated as a transparent proxy when connecting to unreliable
  > frontend/backend servers.
  > ok pyr@ (reyk@)

ospfd

  ~ control.c                             ~ ospfd.c
  ~ ospfd.h                               ~ ospfe.c
  ~ ospfe.h                               ~ parse.y
  ~ printconf.c                           

  > Add support for RFC 3137: OSPF Stub Router Advertisement
  > This allows ospfd to announce networks without the need to transit traffic.
  > stub router is enabled if the fib is not coupled, net.inet.ip.forwarding is
  > not 1 or if the stub router global config option is set to yes.
  > OK norby@ (claudio@)

  ~ ospfd.conf.5                          

  > Document "stub router (yes|no)" and how/why it is used.
  > Also modify the fib-update block a bit because "fib-update no" implies
  > "stub router yes".
  > OK norby@ (claudio@)

  ~ ospfd.8                               

  > Add RFC 3137 and remove the caveats section. Ospfd will now automaticaly
  > switch to "stub router yes" if the forwarding sysctl is set to something
  > differently than 1. This can be overruled by a later "stub router no"
  > in ospfd.conf. More work is needed here.
  > OK norby@ (claudio@)

  ~ ospfd.conf.5                          

  > tweak a sentence; (jmc@)

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



More information about the odc mailing list