[owc] Weekly src changes ending 2007-10-28

OWC auto at squish.net
Mon Oct 29 07:00:01 GMT 2007


OpenBSD src changes summary for 2007-10-21 to 2007-10-28 inclusive
==================================================================

distrib/sets                            etc/hoststated.conf
etc/security                            games/fortune
gnu/usr.bin/gcc                         lib/libc
lib/libcurses                           regress/lib
regress/usr.bin                         sbin/ipsecctl
sbin/pfctl                              sbin/raidctl
share/man                               sys/arch
sys/arch/amd64/amd64                    sys/arch/amd64/include
sys/arch/i386/conf                      sys/arch/i386/i386
sys/arch/i386/include                   sys/arch/m88k/include
sys/arch/m88k/m88k                      sys/arch/mac68k/dev
sys/arch/macppc/dev                     sys/arch/mips64/mips64
sys/arch/mvme88k/mvme88k                sys/arch/powerpc/ddb
sys/arch/powerpc/powerpc                sys/arch/sgi/sgi
sys/arch/sparc/dev                      sys/arch/sparc64/conf
sys/arch/sparc64/dev                    sys/arch/sparc64/include
sys/arch/sparc64/sparc64                sys/compat/ibcs2
sys/compat/linux                        sys/compat/osf1
sys/compat/svr4                         sys/dev
sys/dev/cardbus                         sys/dev/i2c
sys/dev/ic                              sys/dev/isa
sys/dev/pci                             sys/dev/usb
sys/kern                                sys/net
sys/netinet                             sys/nfs
sys/xfs                                 usr.bin/make
usr.bin/pcc                             usr.bin/pctr
usr.bin/ssh                             usr.bin/sudo
usr.bin/tail                            usr.bin/vmstat
usr.sbin                                usr.sbin/bgpd
usr.sbin/dhcpd                          usr.sbin/hostapd
usr.sbin/hoststated                     usr.sbin/ifstated
usr.sbin/ospf6d                         usr.sbin/ospfd
usr.sbin/pcidump                        usr.sbin/ripd
usr.sbin/tcpdump                        

== distrib =========================================================== 01/11 ==

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

sets

  ~ lists/base/md.alpha                   ~ lists/base/md.amd64
  ~ lists/base/md.armish                  ~ lists/base/md.hppa
  ~ lists/base/md.hppa64                  ~ lists/base/md.i386
  ~ lists/base/md.landisk                 ~ lists/base/md.macppc
  ~ lists/base/md.sgi                     ~ lists/base/md.sparc64
  ~ lists/man/mi                          

  > sync (deraadt@)

  ~ lists/man/mi                          

  > sync (deraadt@)

  ~ lists/base/md.alpha                   ~ lists/base/md.amd64
  ~ lists/base/md.armish                  ~ lists/base/md.aviion
  ~ 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/mi                         

  > sync (deraadt@)

  ~ lists/man/mi                          

  > sync (deraadt@)

== etc =============================================================== 02/11 ==

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

hoststated.conf

  ~ hoststated.conf                       

  > add additional relay examples: simple non-SSL TCP relay, transparent
  > HTTP proxy. this makes it easier to test hoststated.
  > ok pyr@ (reyk@)

security

  ~ security                              

  > list package changes in daily insecurity output
  > ok henning (sthen@)

== games ============================================================= 03/11 ==

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

fortune

  ~ datfiles/fortunes-o.real              ~ datfiles/limerick

  > - remove a duplicate entry. since the fortune can hardly be termed
  > "offensive", it makes sense to remove it from fortunes-o.real.
  > - fix a typo in limerick
  > from dougb at freebsd (jmc@)

== gnu =============================================================== 04/11 ==

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

usr.bin/gcc

  ~ Makefile.bsd-wrapper                  

  > fix dependency. ok millert@, \_o< miod@ (espie@)

== lib =============================================================== 05/11 ==

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

libc

  ~ stdio/mktemp.c                        

  > Comment fix about time consumption of _gettemp.
  > FreeBSD did this in revision 1.20.
  > OK deraadt@, krw@ (tobias@)

  ~ arch/m88k/SYS.h                       ~ arch/m88k/sys/syscall.S

  > Change the syscall invocation sequences to no longer fetch the last few
  > arguments from the stack, since the kernel will now copyin() them when
  > necessary.
  > This makes all system calls (but mmap()) slightly faster.
  > WARNING! After this commit, your binaries must run against a kernel
  > featuring m88k/m88k/trap.c r1.34 or better - i.e. a 4.1 or later kernel.
  > (miod@)

  ~ string/Makefile.inc                   

  > Make sure to use unique target names so that make -j does not break;
  > feedback and ok espie@ (miod@)

  ~ arch/sparc/gen/flt_rounds.c           ~ arch/sparc64/gen/flt_rounds.c

  > Repair FLT_ROUNDS operation. ok kettenis@ (miod@)

libcurses

  ~ Makefile                              

  > add missing dependency (espie@)

== regress =========================================================== 06/11 ==

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

lib

  ~ libc/ieeefp/except/except.c           

  > Only test one condition per invocation flavour, instead of testing all
  > of them with exceptions disabled and then only one with exceptions enabled.
  > ok kettenis@ (miod@)

usr.bin

  ~ ssh/sftp-cmds.sh                      ~ ssh/sftp-glob.sh
  ~ ssh/test-exec.sh                      

  > comprehensive tests for sftp escaping its interaction with globbing;
  > ok dtucker@ (djm@)

  ~ ssh/sftp-glob.sh                      ~ ssh/test-exec.sh

  > remove "echo -E" crap that I added in last commit and use printf(1) for
  > cases where we strictly require echo not to reprocess escape characters.
  > (djm@)

== sbin ============================================================== 07/11 ==

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

ipsecctl

  ~ parse.y                               

  > sync with daemon parser code.
  > ok deraadt@ (pyr@)

pfctl

  ~ parse.y                               

  > pfctl does not need file secrecy (deraadt@)

  ~ parse.y                               

  > sync with daemon parser code.
  > ok deraadt@ (pyr@)

  ~ pfctl.c                               

  > HW_PHYSMEM is unsigned
  > yuck & ok henning@ (wilfried@)

  ~ parse.y                               

  > Fix probability rules w/ numbers (e.g probability 0.4).
  > Add support for probablities of 0% and 100%.
  > With and OK deraadt@ (mpf@)

raidctl

  ~ rf_configure.c                        

  > add missing header to avoid warning
  > "Yes please" ray@ krw@ (chl@)

== share ============================================================= 08/11 ==

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

man

  ~ man4/man4.sparc64/ecadc.4             

  > some corrections for previous; (jmc@)

  ~ man4/iic.4                            

  > add ecadc.4; (jmc@)

  ~ man4/man4.amd64/pctr.4                ~ man4/man4.i386/pctr.4

  > use .Pp instead of a blank space; (jmc@)

  ~ man3/intro.3                          

  > add libexpat; ok espie (jmc@)

  ~ man4/pci.4                            

  > Xr pcidump
  > suggested by deraadt@ (dlg@)

  ~ man4/arc.4                            

  > areca has SAS hbas now, and so far they seem to work fine. i need a cable
  > to actually run disks on them with though. (dlg@)

  ~ man4/trunk.4                          

  > Add a broadcast mode to trunk(4). This mode sends frames on all
  > ports and receives frame on any port. This allows interaction with
  > some L2 configurations.
  > with input and ok reyk@ (pyr@)

  ~ man4/uipaq.4                          

  > HTC smartphone (deraadt@)

  ~ man4/uipaq.4                          

  > sort hardware list; (jmc@)

  ~ man4/isa.4                            ~ man4/man4.i386/Makefile
  + man4/man4.i386/ex.4                   

  > add a man page for ex(4).
  > ok dlg@ (brad@)

  ~ man8/security.8                       

  > security(8) now picks up on package installation/removal;
  > apologies stuart for not providing a diff when your diff was shown (jmc@)

  - man4/man4.i386/ex.4                   ~ man4/Makefile
  ~ man4/man4.i386/Makefile               + man4/ex.4

  > ISA cards can also happen non-i386 machines (deraadt@)

  ~ man4/man4.amd64/pctr.4                ~ man4/man4.i386/pctr.4

  > Remove idle loop counter.
  > ok art deraadt (mikeb@)

  ~ man4/spdmem.4                         

  > Mention "spdmem* at mem?" for macppc. (jsg@)

  ~ man4/spdmem.4                         

  > Briefly mention the types of memory we currently decode. (jsg@)

  ~ man4/spdmem.4                         

  > new sentence, new line; (jmc@)

  ~ man4/Makefile                         ~ man4/audio.4
  ~ man4/pci.4                            + man4/envy.4

  > add new envy(4) man page
  > ok jmc@, ok deraadt@ (ratchov@)

== sys =============================================================== 09/11 ==

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

arch

  ~ i386/Makefile                         

  > no need for NOPROG and bsd.prog.mk (deraadt@)

  ~ landisk/Makefile                      

  > fix tag building; Pierre Riteau plus my own tweaks (deraadt@)

arch/amd64/amd64

  ~ pctr.c                                

  > Don't spam the dmesg.
  > ok deraadt (mikeb@)

  ~ pctr.c                                

  > Remove idle loop counter.
  > ok art deraadt (mikeb@)

  ~ machdep.c                             ~ mem.c
  ~ rbus_machdep.c                        

  > get rid of btoc/ctob in favor of atop/ptoa (martin@)

arch/amd64/include

  ~ pctr.h                                

  > Remove idle loop counter.
  > ok art deraadt (mikeb@)

  ~ param.h                               

  > get rid of btoc/ctob in favor of atop/ptoa (martin@)

arch/i386/conf

  ~ GENERIC                               

  > add new envy(4) driver for ICE1712 (aka VIA Envy24) audio devices. The
  > device uses 32bit samples, up to 96kHz sample rate, 12 input channels and
  > 10
  > output channels. Currently AK4524 codecs are supported, so M-Audio Delta
  > cards should work. Playback and capture work, but the mixer is still
  > incomplete.
  > ok jakemsr@ (ratchov@)

arch/i386/i386

  ~ apm.c                                 

  > remove flagsa/dobusy/doidle stuff introduced 3 years ago as a debugging
  > aid.. (deraadt@)

  ~ pctr.c                                

  > Don't spam the dmesg.
  > ok deraadt (mikeb@)

  ~ locore.s                              ~ pctr.c

  > Remove idle loop counter.
  > ok art deraadt (mikeb@)

arch/i386/include

  ~ pctr.h                                

  > Remove idle loop counter.
  > ok art deraadt (mikeb@)

arch/m88k/include

  ~ cpu.h                                 

  > Turn curcpu() into an inline function instead of a macro relying on a GCC
  > extension. (miod@)

  ~ mmu.h                                 

  > No need for an explicit pipeline synchronization in invalidate_pte(), the
  > xmem instruction does it for us. (miod@)

  ~ atomic.h                              ~ lock.h
  ~ mmu.h                                 

  > Use the same assembly constraints for all inline assembler xmem constructs.
  > (miod@)

  ~ lock.h                                

  > In __cpu_simple_lock() and __cpu_simple_lock_try(), use a local u_int
  > instead
  > of a local __cpu_simple_lock_t (which is volatile), so that the compiler
  > can
  > optimize it to a register, instead of using a memory location (and doing
  > stores into it when __cpu_simple_lock() is spinning).
  > This makes the MP code a bit smaller and a bit faster. (miod@)

arch/m88k/m88k

  ~ m88k_machdep.c                        

  > Remove sir_lock, superseded by the atomic bit operations. (miod@)

  ~ process.S                             

  > Rely on 16 byte pcb alignment, and use double loads and stores during
  > context switches. Should have been commited ages ago (when pcb alignment
  > was fixed). No functional change. (miod@)

  ~ db_disasm.c                           

  > Be more strict when disassembling {f,}{st,x}cr and [bt]cnd instructions,
  > and display incorrect opcode encodings as invalid opcodes. (miod@)

  ~ trap.c                                

  > When handling a userland data fault occuring in kernel mode, take the
  > kernel
  > lock with KERNEL_LOCK, not KERNEL_PROC_LOCK. This lets bsd.mp run multiuser
  > on a single-processor board. (miod@)

  ~ process.S                             

  > Disable interrupts around changing curproc and curpcb so these always
  > match. (miod@)

  ~ m88k_machdep.c                        

  > Do not flag a processor as ``alive'' until it really is ready to accept
  > IPIs. (miod@)

arch/mac68k/dev

  ~ zs.c                                  

  > stoped -> stopped
  > ok miod@ (jsing@)

arch/macppc/dev

  ~ zs.c                                  

  > stoped -> stopped
  > ok miod@ (jsing@)

  ~ openpic.c                             

  > Grab kernel lock before calling interrupt handlers.
  > ok miod@, deraadt@ (kettenis@)

arch/mips64/mips64

  ~ db_machdep.c                          

  > stoped -> stopped
  > ok miod@ (jsing@)

  ~ context.S                             

  > In cpu_switchto(), load pmap->pm_tlbpid manually, instead of expecting
  > pmap_update() to return with this value in v0. A void function. Bwahahaha.
  > (miod@)

  ~ cache_r5k.S                           

  > pipleine -> pipeline (miod@)

  ~ trap.c                                

  > Be sure to enable interrupts on return from ddb if they were enabled before
  > the break. (miod@)

arch/mvme88k/mvme88k

  ~ machdep.c                             

  > Do not flag a processor as ``alive'' until it really is ready to accept
  > IPIs. (miod@)

  ~ locore.S                              ~ machdep.c

  > Start secondary processors synchronously. This only wins us a nicer dmesg
  > output, and nothing else. (miod@)

  ~ autoconf.c                            ~ machdep.c

  > This is a horrible kluge: invoke sched_init_cpu for seconday processors
  > before they are started (and not skipping gaps for machine setups with
  > holes in cpu slots). Since we start secondary cpus very late in the boot
  > process, and sched_init_cpu() has to be invoked before proc0 execve's init,
  > I don't think there is a better way to do this.
  > This lets MVME188 systems with more than one processor boot multiuser.
  > (miod@)

arch/powerpc/ddb

  ~ db_disasm.c                           

  > Make certain the output buffer is zeroed before starting processing.
  > (drahn@)

arch/powerpc/powerpc

  ~ trap.c                                

  > Grab kernel lock for EXC_DSI.
  > Requested by deraadt@ (kettenis@)

arch/sgi/sgi

  ~ machdep.c                             

  > Recognize kernel options specified on the "boot" command line (e.g. boot
  > --c),
  > in addition to the OSLoadOptions variable; and do not default to -a -s if
  > it is missing or empty.
  > ok deraadt@ jsing@ (miod@)

  ~ genassym.cf                           

  > In cpu_switchto(), load pmap->pm_tlbpid manually, instead of expecting
  > pmap_update() to return with this value in v0. A void function. Bwahahaha.
  > (miod@)

arch/sparc/dev

  ~ zs.c                                  

  > stoped -> stopped
  > ok miod@ (jsing@)

arch/sparc64/conf

  ~ GENERIC                               

  > alipm0 can now be enabled because of the crash workaround (deraadt@)

arch/sparc64/dev

  ~ zs.c                                  

  > stoped -> stopped
  > ok miod@ (jsing@)

  ~ pcf8591_ofw.c                         ~ pcf8591_envctrl.c

  > the invalid flag is never set in these two drivers, so don't test if it is;
  >  ok djm@ kettenis@ (cnst@)

  ~ pcf8591_envctrl.c                     

  > CPU temperature sensors on the E450 have a conversion factor of 1/1 instead
  > of
  > 0/0 like the E250.	Handle both. (kettenis@)

  ~ pcfiic_ebus.c                         

  > Add support for SUNW,envctrl as found on the E450. (kettenis@)

  ~ ofwi2c.c                              

  > let alipm0 still be used for spdmem probes, but skip sensors.  alipm (or
  > more likely psycho) still has a bug where the pci bus croaks on the
  > intermittent i2c accesses.	the spdmem accesses are safe, though.
  > if you wish to help us find out when this bug gets fixed, please run
  > your machine WITHOUT this diff, though.
  > ok kettenis jsg (deraadt@)

  ~ pcf8591_envctrl.c                     

  > Add support for power supply temperature sensors on the E450. (kettenis@)

  ~ pcfiic_ebus.c                         

  > Enable power supply temperature sensors on the E450. (kettenis@)

  ~ pci_machdep.c                         

  > Remove some coded that has been #ifdef'ed out for quite a while now.
  > (kettenis@)

  ~ pcf8591_envctrl.c                     

  > Don't forget the channel number; makes sure we don't always read channel 0
  > (and actually get reasonable values for the MB0 and MB1 sensors on the
  > E250). (kettenis@)

  ~ pcfiic_ebus.c                         

  > Match on compatible: 'pcf8584', such that we attach on the V210 again.
  > (kettenis@)

arch/sparc64/include

  ~ cpu.h                                 

  > Don't use next_tick() to start the clock ticking on secondary CPUs.  This
  > would fail from time to time on UltraSPARC-I and UltraSPARC-II CPUs.
  > Inspired by code in FreeBSD.
  > ok miod@ (kettenis@)

  ~ param.h                               

  > get rid of btoc/ctob in favor of atop/ptoa (martin@)

arch/sparc64/sparc64

  ~ clock.c                               ~ cpu.c

  > Don't use next_tick() to start the clock ticking on secondary CPUs.  This
  > would fail from time to time on UltraSPARC-I and UltraSPARC-II CPUs.
  > Inspired by code in FreeBSD.
  > ok miod@ (kettenis@)

  ~ autoconf.c                            

  > another case of product encoding is "Sun (TM) modelname", on the E250
  > (deraadt@)

  ~ autoconf.c                            

  > allocate 1 byte extra in getprop(), for the NUL that some callers like
  > to place.  This is a nightmare, and we must move away from these stupid
  > wrapper APIs.  ok kettenis (deraadt@)

  ~ locore.s                              

  > Don't do unecessary work in cpu_switchto(). (kettenis@)

  ~ locore.s                              

  > Since ipis are not synchronous, make sure that ci_fpproc is not NULL before
  > invoking savefpstate in ipi_save_fpstate. ok kettenis@ (miod@)

  ~ db_interface.c                        ~ pmap.c

  > get rid of btoc/ctob in favor of atop/ptoa (martin@)

  ~ cpu.c                                 

  > UltraSPARC CPUs don't have a floating-point queue, so cpu_reset_fpustate()
  > is
  > redundant since there is no queue to flush. (kettenis@)

compat/ibcs2

  ~ ibcs2_errno.c                         

  > Make sure the compat errno mapping arrays go up to ELAST, and correctly
  > translate the errnos added over the last few releases. (miod@)

compat/linux

  ~ linux_error.c                         

  > Make sure the compat errno mapping arrays go up to ELAST, and correctly
  > translate the errnos added over the last few releases. (miod@)

compat/osf1

  ~ osf1_cvt_errno.c                      

  > Make sure the compat errno mapping arrays go up to ELAST, and correctly
  > translate the errnos added over the last few releases. (miod@)

compat/svr4

  ~ svr4_errno.c                          

  > Make sure the compat errno mapping arrays go up to ELAST, and correctly
  > translate the errnos added over the last few releases. (miod@)

dev

  ~ audio.c                               

  > add a new audio_set_blksize() function that sets (and adjusts) the block
  > size to the given number of frames per second, all changes pass through it.
  > If parameters are changed or the user requested a new block size (or both),
  > the block size is recalculated.
  > ok jakemsr (ratchov@)

  ~ auconv.c                              ~ auconv.h
  ~ mulaw.c                               ~ mulaw.h

  > - add a couple more mono-to-stereo conversions
  > - add stereo-to-mono conversions for mono recording
  > on stereo only devices (jakemsr@)

  ~ audio.c                               

  > return POLLOUT as long as (lowat + 1) isn't reached. without this audio(4)
  > is unusable with lowat = 1
  > ok jakemsr@ (ratchov@)

  ~ audio.c                               

  > sc->sc_pr.usedlow must be multiple of the block size, fix
  > audio_calcwater() to do so
  > ok jakemsr@ (ratchov@)

  ~ audio.c                               

  > fix: when a block is captured audio_rint() is called, we must
  > consider that the ring buffer has overrrun if (used >= usedhigh) and not
  > if (used >= usedhigh + blksize), otherwise recording doesn't work when
  > large enough blocks are used
  > ok jakemsr@ (ratchov@)

  ~ audio.c                               

  > the pointer we give to audio_fill_silence() may point in the middle of a
  > sample (eg. if write(2) have written an odd number of bytes and 16bit
  > encoding is used), so we'll not properly write silence. To fix this,
  > round start pointer to fill with silence uncomplete samples too.
  > ok jakemsr@ (ratchov@)

  ~ audio.c                               

  > prepare audio(4) for addition of the envy(4) driver: enable 32bit samples
  > (basically only audio_fill_silence() must be updated) and bump max channel
  > number to 12
  > ok jakemsr@ (ratchov@)

dev/cardbus

  ~ if_bwi_cardbus.c                      

  > Replace Cardbus_conf_* calls by cardbus_conf_* ones.  This solves the
  > panic 'trap type 300` seen on macppc and makes my Linksys WPC54G Ver 3
  > cardbus device work entirely on my PowerBook G4. (mglocker@)

dev/i2c

  ~ i2c_scan.c                            

  > skip the ignored addresses completely (now covers the eeprom range, too); 
  > ok deraadt (cnst@)

  ~ asc7621.c                             

  > Uncomment PECI mode diagnosting bits.
  > ok deraadt (mikeb@)

  ~ i2c_scan.c                            

  > fix r1.101 (2007-10-07) regression of not calling the iic_dump() for a
  > successfully identified sensor chip that was not claimed by any driver;
  > whilst at it, get rid of the 'if defined' madness
  > ok deraadt (cnst@)

  ~ i2c_scan.c                            

  > make older gcc happier (deraadt@)

  ~ i2c_scan.c                            

  > remove the unused i2cbus_attach_args param from the probe functions;  ok
  > deraadt (cnst@)

  ~ i2c_scan.c                            

  > expand range where we search for sensors (deraadt@)

  ~ files.i2c                             ~ pca9554.c

  > Phillips -> Philips in comments (martin@)

dev/ic

  ~ com_subr.c                            

  > enable the fifo probe code as long as the serial is not used as console
  > or kgdb. if this probes to be a problem it will be disabled again .
  > tested and ok by toby@ otto@ jsing@ (fgsch@)

  ~ rtw.c                                 

  > Unconditionally initialize all channels, regardless of locale.
  > Shaves 258 bytes from i386 kernel.
  > Feedback, guidance, testing, and ok jsg@ (blambert@)

dev/isa

  ~ if_ex.c                               ~ if_exreg.h

  > Add ifmedia support.
  > Tested by todd@
  > From FreeBSD
  > ok dlg@ (brad@)

  ~ if_ex.c                               ~ if_exreg.h

  > Add multicast support.
  > Tested by todd@ with IPv6.
  > Based on similar changes to the FreeBSD driver.
  > ok dlg@ (brad@)

  ~ if_ex.c                               

  > Remove a bogus and unnecessary check for if_addrlist from ex_init().
  > ok dlg@ (brad@)

  ~ pssreg.h                              

  > Phillips -> Philips in comments (martin@)

dev/pci

  ~ if_em.c                               ~ if_em.h

  > Allow for the adjustment of the number of RX descriptors
  > for the newer generations of em(4) chipsets independently
  > from the first two generations (82542/82543). The first
  > two generations have hardware errata limiting the upper
  > maximum to 256 descriptors. The number of RX descriptors
  > has not been adjusted yet.
  > ok beck@ henning@ dlg@ (brad@)

  ~ cs4280.c                              

  > bring device back from power save mode if needed. fixes a problem reported
  > by Rodolfo Gouveia <rgouveia at cosmico dot net> on bugs@ (fgsch@)

  ~ pci.c                                 ~ pcivar.h

  > Add pci_set_powerstate() to change the pm state for a given device.
  > ok by many. (fgsch@)

  ~ ahd_pci.c                             ~ auixp.c
  ~ cs4280.c                              ~ cs4281.c
  ~ esa.c                                 ~ if_atw_pci.c
  ~ if_epic_pci.c                         ~ if_pcn.c
  ~ if_rtw_pci.c                          ~ if_sf_pci.c
  ~ if_stge.c                             

  > Use pci_set_powerstate(), shrinking the code and unifying the different
  > versions. ok by many. (fgsch@)

  ~ pucdata.c                             

  > Add SUNIX 4036A 2 port serial card. Sadly it does not conform to
  > the SUNIX subsystem numbering scheme used on other cards, so it
  > needs its own entry; ok fgsch@ (otto@)

  ~ arc.c                                 

  > arc supports more than just SATA hbas, so dont say the ports are always
  > SATA ports. print "firmware" instead of "FW Version:" cos i think it looks
  > better. tested on a 1680 which seems to just work so far. (dlg@)

  ~ maestro.c                             

  > the codec is not readable. If we try to read it the ac-link enters a kind
  > of
  > "busy state" in which it's not writeable. This fix tags the host as unable
  > to read the codec, so the ac97 driver doesn't try to read it, instead it
  > keeps in memory copy of all codec registers. Fixes pr 2451
  > ok jakemsr (ratchov@)

  ~ if_atw_pci.c                          ~ if_epic_pci.c
  ~ if_pcn.c                              ~ if_rtw_pci.c
  ~ if_sf_pci.c                           ~ if_stge.c

  > only output on situations where power state is D3. unify the message in
  > such cases. ok brad@ kettenis@ (fgsch@)

  ~ pcidevs                               

  > add the Broadcom BCM5723 PCI id.
  > From the Linux tg3 driver.
  > ok dlg@ (brad@)

  ~ pcidevs.h                             ~ pcidevs_data.h

  > regen (brad@)

  ~ pcidevs                               

  > correct a typo, BCM4238 -> BCM4328.
  > ok dlg@ (brad@)

  ~ pcidevs.h                             ~ pcidevs_data.h

  > regen (brad@)

  ~ if_vic.c                              

  > shrink dmesg output to one line that shows irq and the ethernet address.
  > the vmxnet id never changes.
  > ok reyk@ (dlg@)

  ~ if_stge.c                             

  > Sort the PCI id table and remove a comment which is no longer true.
  > ok dlg@ (brad@)

  ~ mbg.c                                 

  > Don't spam the console when there is no antenna connected. (mbalmer@)

  ~ auich.c                               

  > - use endian-specific conversions, instead of relying on
  > machine-dependent #defines
  > - use the correct conversions for slinear_le:16 -> ulinear_be:16
  > - fix mono recording by using various stereo -> mono conversions (jakemsr@)

  ~ mbg.c                                 

  > Define a bitmaks of status bits we're interested in, output/log all
  > relevant status bits, not only the first one. (mbalmer@)

  ~ mbg.c                                 

  > Factor out common code to update the timedelta sensor into
  > mbg_update_sensor(). (mbalmer@)

  ~ azalia.c                              

  > Add emulated mono support.
  > Tested ajacoutot, ok jakemsr (deanna@)

  ~ arc.c                                 

  > the arc fimware can be configured with a password that is used to
  > restrict changes to its configuration. in our case we want to be
  > able to disable or enable the alarm. if a password is set though,
  > the firmware will reject that request with a PASSWORD_REQUIRED
  > response code. this change lets the kernel return EPERM instead of
  > EIO in that case.
  > if you dont have a password set on the firmware you can configure
  > the alarm just fine.
  > makes sense claudio@ (dlg@)

  ~ ahci.c                                

  > work around a chip bug on the ati ixp600 ahci controller. diff mostly from
  > niklas@ and tested on hardware generously provided by paul de weird. (dlg@)

  ~ if_vic.c                              

  > let vic attach to the virtual pcnet hardware in vmware.
  > tested on real hardware by jsing@ to ensure pcn(4) isnt affected in the
  > real world.
  > ok jsing@ (dlg@)

  ~ files.pci                             + envy.c
  + envyvar.h                             + envyreg.h

  > add new envy(4) driver for ICE1712 (aka VIA Envy24) audio devices. The
  > device uses 32bit samples, up to 96kHz sample rate, 12 input channels and
  > 10
  > output channels. Currently AK4524 codecs are supported, so M-Audio Delta
  > cards should work. Playback and capture work, but the mixer is still
  > incomplete.
  > ok jakemsr@ (ratchov@)

  ~ siop_pci_common.c                     

  > fix the panic reported in pr/5602 by correctly unmaping the space on error.
  > disestablish the interrupt on error as well. krw@ comments and ok
  > tested by reporter via mikeb@ (fgsch@)

  ~ envy.c                                ~ envyreg.h
  ~ envyvar.h                             

  > id tags. (fgsch@)

  ~ cmpcivar.h                            

  > more id tags. (fgsch@)

  ~ azalia.c                              

  > Enable pcie snoop for SB600 and MCP51.  Fixes a variety of noise,
  > looping and distortion problems.  This is a temporary solution until
  > we get something like the BUS_DMA_NOCACHE flag to bus_dmamem_map(9),
  > which came with the driver when ported from NetBSD but means nothing
  > here.  It's likely that other NVIDIA and ATI chipsets will need this,
  > but I'd rather have some testers before adding them in.
  > From ariff at freebsd, ok dlg. (deanna@)

dev/usb

  ~ usbdevs.h                             ~ usbdevs_data.h

  > Regen (miod@)

  ~ usbdevs                               

  > More Microsoft mice, from FreeBSD (miod@)

  ~ usbdevs                               

  > HTC smartphone (deraadt@)

  ~ usbdevs.h                             ~ usbdevs_data.h

  > sync (deraadt@)

  ~ uipaq.c                               

  > HTC smartphone (deraadt@)

  ~ usbdevs.h                             ~ usbdevs_data.h

  > sync (mbalmer@)

  ~ usbdevs                               

  > Add Meinberg Funkuhren and the USB 5131 DCF77 - Radio Clock. (mbalmer@)

  ~ if_axe.c                              

  > Deal with usb string printing changes. (jsg@)

kern

  ~ vfs_bio.c                             

  > This QUEUE_DEBUG should really be DIAGNOSTIC - we need these checks
  > normally.
  > ok deraadt@ tedu@ otto@ (beck@)

net

  ~ if_trunk.c                            ~ if_trunk.h

  > Add a broadcast mode to trunk(4). This mode sends frames on all
  > ports and receives frame on any port. This allows interaction with
  > some L2 configurations.
  > with input and ok reyk@ (pyr@)

  ~ if_trunk.c                            

  > use the input mbuf for the first active port instead of copying it in
  > the broadcast start routing.
  > ok pyr@ (reyk@)

  ~ pf.c                                  

  > Fix probability rules w/ numbers (e.g probability 0.4).
  > Add support for probablities of 0% and 100%.
  > With and OK deraadt@ (mpf@)

netinet

  ~ ip_carp.c                             

  > Replace the replay protection counter with a cookie.
  > It is unlikely we will ever get a working replay protection,
  > so better keep it simple and robust.
  > The cookie allows us to detect our own advertisements,
  > thus it is now easy to deal with network loops and
  > non-simplex interfaces.
  > Zero feedback by the people who wanted this fixed.
  > OK henning@, markus@ (mpf@)

nfs

  ~ nfsnode.h                             

  > remove some unused members of struct nfsnode;
  > some spacing while there.
  > ok krw@ (thib@)

  ~ nfs_serv.c                            ~ nfs_socket.c
  ~ nfs_srvcache.c                        ~ nfs_var.h
  ~ nfsm_subs.h                           

  > Remove the "frev" argument from nfs_rephead(); and clean up the "frev"
  > variables, that are declared all over, since they are passed via macros
  > to nfs_rephead(); which doesn't do anything with it.
  > OK krw@ (thib@)

xfs

  ~ xfs_config.h                          ~ xfs_global.h

  > stop putting xfs (and only xfs) rcsid into the kernel; ok miod (deraadt@)

== usr.bin =========================================================== 10/11 ==

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

make

  ~ Makefile                              

  > Fix CLEANFILES (miod@)

  ~ main.c                                

  > fix logic of command line/ MAKEFLAGS parsing.
  > Forces make to see the -j4 in MAKEFLAGS and to actually pass it to submakes
  > (espie@)

  ~ compat.c                              

  > fix indentation (espie@)

pcc

  ~ powerpc/local.c                       

  > whack extdef() for the moment, it seems we do not need it and it trips
  > some bug as well (probably because of static data). (otto@)

  ~ powerpc/table.c                       

  > our as wants # as a comment char (otto@)

  ~ cpp/cpp.h                             ~ cpp/cpy.y
  ~ cpp/scanner.l                         

  > Pull from ragge's repo:
  > More fixes to cpp arithmetic, sanitychecked by otto and stefan. (otto@)

  ~ cc/Makefile                           ~ ccconfig.h

  > move from x86 to i386; gentle push by deraadt@, ok ragge@ (otto@)

  - ccom/x86/Makefile                     ~ ccom/Makefile
  + ccom/i386/Makefile                    

  > move from x86 to i386; gentle push by deraadt@, ok ragge@ (otto@)

  - x86/code.c                            - x86/local.c
  - x86/local2.c                          - x86/macdefs.h
  - x86/order.c                           - x86/table.c
  + i386/code.c                           + i386/local.c
  + i386/local2.c                         + i386/macdefs.h
  + i386/order.c                          + i386/table.c

  > move from x86 to i386; gentle push by deraadt@, ok ragge@ (otto@)

  ~ cpp/cpp.c                             

  > Pull from ragge's repo:
  > Some small bugfixes from Jan Kryl. (otto@)

  ~ cc/cc.c                               

  > Pull from master repo:
  > Pass the right file and not a temporary to as if cc is invoked with .s
  > files.
  > ok ragge@, otto@ (stefan@)

  ~ mip/reader.c                          

  > Pull from ragge's repo, commit by mickey:
  > fix segfault in CDEBUG() use of rnames (otto@)

  ~ i386/order.c                          ~ i386/table.c

  > Fix from master repo:
  > > Fix signed/unsigned type cast error, from Takehiko Nozaki. (ragge@)

  ~ mip/match.c                           ~ mip/reader.c

  > Fixes from master repo:
  > > Fix FLD node type for code generation, so that it is useful again for
  > > architectures with bitfield instructions, like vax and hppa  :-) (ragge@)

  ~ cpp/cpp.1                             ~ cpp/cpp.c
  ~ cpp/scanner.l                         

  > Pull up changes from master repo:
  > > Fix preprocessor number overflow check, by Jan Kryl. (ragge@)

  ~ mip/mkext.c                           

  > From master repo: Allow for less than 4 register classes. (ragge@)

  ~ i386/local2.c                         ~ i386/macdefs.h

  > Sync vith master repo: Remove lineid(), #ifdef for mirbsd wchar_t. (ragge@)

  ~ mip/protos.h                          

  > From master repo: Remove lineid() prototype. (ragge@)

  ~ vax/code.c                            ~ vax/local.c
  ~ vax/local2.c                          ~ vax/macdefs.h
  ~ vax/order.c                           ~ vax/table.c

  > Sync with master repo: At least compiles now. (ragge@)

pctr

  ~ pctr.c                                

  > Remove idle loop counter.
  > ok art deraadt (mikeb@)

  ~ pctr.c                                

  > Cleanup pctr code: sort options, remove nasty return.
  > ok deraadt (mikeb@)

ssh

  ~ readconf.c                            

  > make sure that both the local and remote port are correct when
  > parsing -L; Jan Pechanec (bz #1378) (markus@)

  ~ sftp.c                                

  > rework argument splitting and parsing to cope correctly with common shell
  > escapes and make handling of escaped characters consistent with sh(1) and
  > between sftp commands (especially between ones that glob their arguments
  > and ones that don't).
  > parse command flags using getopt(3) rather than hand-rolled parsers.
  > ok dtucker@ (djm@)

  ~ scp.c                                 

  > factor out network read/write into an atomicio()-like function, and use it
  > to handle short reads, apply bandwidth limits and update counters.
  > make network IO non-blocking, so a small trickle of reads/writes has a
  > chance of updating the progress meter; bz #799
  > ok dtucker@ (djm@)

sudo

  ~ CHANGES                               ~ Makefile.in
  ~ TROUBLESHOOTING                       ~ config.h
  ~ config.h.in                           ~ configure
  ~ configure.in                          ~ interfaces.c
  ~ interfaces.h                          ~ parse.c
  ~ parse.yacc                            ~ testsudoers.c
  ~ version.h                             ~ auth/pam.c

  > Update to sudo 1.6.9p7 (millert@)

tail

  ~ forward.c                             

  > use EV_SET() instead of doing it by hand; Iruata Souza (deraadt@)

vmstat

  ~ dkstats.c                             

  > add missing checks against NULL on last.dk_rbytes and last.dk_wbytes
  > reorder operations to make it easier to read and check
  > From Igor Zinovik <zinovik at cs.karelia.ru>
  > "looks ok" otto@ "looks correct" ray@ ok gilles@ "looks fine" moritz@
  > (chl@)

  ~ dkstats.c                             

  > add missing checks against NULL after realloc calls
  > Ok gilles@ moritz@ (chl@)

  ~ vmstat.c                              

  > patch to improve vmstat(8) output:
  > - the "fre" column width is increased
  > - adds a whitespace between the "avm" and "fre" columns
  > - aligns the "memory" and "traps" labels with their column sets
  > ok millert@ (sobrado@)

== usr.sbin ========================================================== 11/11 ==

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

usr.sbin

  ~ Makefile                              

  > "link it to the build" deraadt@ (dlg@)

bgpd

  ~ bgpd.conf.5                           

  > Being able to set the decision weight of prefixes is a nice feature, but
  > when it's not really documented in what way it influences the decision
  > process, people like myself will screw it up and assume that it gets
  > added to the prefix path lenth, and thus that smaller weight wins.
  > . which is not the case.  Document the actual behaviour.
  > ok claudio, the general change agreed by henning.
  > proofraed by jmc. (mk@)

dhcpd

  ~ options.c                             

  > Tidy up, make usual case exit faster, eliminate variable. No functional
  > change.
  > ok beck@ (krw@)

  ~ options.c                             

  > Last bit of (planned) tidy up in cons_options(). Join some lines,
  > delete some blank lines, add some other blank lines, move expressions
  > so calculations done only once. Eliminate extraneous ++'s.
  > No functional change. (krw@)

  ~ options.c                             

  > Take even more care to ensure the max message size is at
  > least as large as the minimum IP MTU.
  > ok canacar@ henning@ millert@ (krw@)

  ~ options.c                             

  > Rework option storing so the code is readable, and eliminate odd
  > behaviour on several edge conditions.
  > Feedback, suggestion & "I like the approach" millert@
  > "excellent" henning at . (krw@)

  ~ tables.c                              

  > Remove duplicate DHO_HOST_NAME entry and add missing
  > DHO_DHCP_USER_CLASS_ID entry to dhcp_option_default_priority_list[].
  > Reformat list of numbers at the end of dhcp_option_default_priority_list[]
  > so it is easy to see which options are defined. No functional change.
  > (krw@)

hostapd

  ~ parse.y                               

  > last one left behind.
  > all daemons synced.
  > ok reyk@ (pyr@)

hoststated

  ~ parse.y                               

  > do not check the file secrecy of hoststated.conf, there is no need to
  > enforce the file ownership and permissions to root:wheel 0400 because
  > we have nothing to hide.
  > ok pyr@ (reyk@)

  ~ hoststated.conf.5                     ~ parse.y

  > add support for the include directive to the configuration file parser,
  > based on the existing hostapd/pfctl code.
  > ok pyr@ (reyk@)

  ~ hoststated.conf.5                     

  > add missing .Ed; (jmc@)

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

  > load certificates text at parse time. then load them in relay processes.
  > this separation will ease reload a bit more.
  > ok reyk@ who spotted a stupid mistake again... (pyr@)

  ~ relay.c                               

  > we don't need mmap/munmap in relay_load_certificates anymore...
  > just use read() and make the function a little bit nicer.
  > ok pyr@ (reyk@)

ifstated

  ~ parse.y                               

  > sync with other daemons.
  > ok mcbride@ (pyr@)

  ~ Makefile                              ~ ifstated.c
  ~ ifstated.h                            ~ parse.y
  + log.c                                 

  > sync logging with most other daemons.
  > ok mcbride@, mpf@ (pyr@)

  ~ ifstated.conf.5                       

  > oops, forgot to clean up the manpage bits.
  > prompted by mpf (pyr@)

  ~ ifstated.conf.5                       

  > kill extraneous item macro, thus avoiding badness; (jmc@)

ospf6d

  ~ ospf6d.8                              ~ ospf6d.c

  > Support -D makro=value like bgpd and ripd. OK norby@ (claudio@)

  ~ ospf6d.8                              

  > segement -> segment; from Denis Doroshenko
  > plus an article fix whilst here (jmc@)

ospfd

  ~ ospfd.8                               ~ ospfd.c

  > Add -D makro=value as well so that all routing daemons are in sync.
  > OK norby@ (claudio@)

  ~ ospfd.8                               

  > segement -> segment; from Denis Doroshenko
  > plus an article fix whilst here (jmc@)

pcidump

  + Makefile                              + pcidump.8
  + pcidump.c                             

  > put pcidump in the tree, a little tool for reading the pci configuration
  > spaces.
  > requested by kettenis@ ok kettenis@ deraadt@ marco@ and lots of others
  > (dlg@)

  ~ pcidump.c                             

  > i wrote most of the code this year, so fix copyright. (dlg@)

  ~ pcidump.8                             

  > infromation -> information
  > from paul de weerd (dlg@)

  ~ pcidump.c                             

  > dmesg prints bus/dev/func locations in decimal, and the command line param
  > to pcidump takes decimals, so print the locations as decimals too. less
  > confusing, but maybe a bit uglier. ugliness can be fixed later though.
  > (dlg@)

  ~ pcidump.c                             

  > lint says __progname is not const (deraadt@)

  ~ Makefile                              

  > only build program on pci architectures (deraadt@)

  ~ pcidump.8                             

  > various improvements; (jmc@)

  ~ pcidump.c                             

  > add RCS id
  > "free commit!" dlg@ (jasper@)

  ~ pcidump.c                             

  > variable does not need init; ok dlg (deraadt@)

  ~ pcidump.c                             

  > add missing header to avoid warning
  > "commit!" dlg@ (chl@)

  ~ pcidump.c                             

  > Max values are 255:31:7 not 256:32:8.
  > OK dlg@, kettenis@ (tobias@)

ripd

  ~ rde_rib.c                             

  > Don't use inet_ntoa() twice in a printf like function. So instead of
  > using inet_ntoa() on the netmask use mask2prefixlen(). (claudio@)

  ~ rde.c                                 ~ ripd.c
  ~ ripe.c                                

  > Sync a bit more with ospfd. Do not fatal if one of the pipes is closed,
  > instead do a "nice" shutdown. Ignore SIGHUP in the childs even though we
  > have no reload support (yet). Remove some redundant code and clean up some
  > types. (claudio@)

  ~ parse.y                               ~ neighbor.c
  ~ interface.c                           

  > Garbage collect unused stuff found by lint. (claudio@)

  ~ ripd.h                                

  > ctl_rt flags should be u_int16_t -- noticed by lint (claudio@)

  ~ buffer.c                              

  > The index should be unsigned int -- another lint finding (claudio@)

  ~ control.c                             

  > Use an ssize_t instead of int like in all other imsg handlers. Hint by lint
  > (claudio@)

  ~ ripd.c                                

  > Add the 5 needed lines to support -D makro=value option. Another surprising
  > finding by lint. (claudio@)

  ~ ripd.8                                

  > Document -D. Stolen from bgpd.8 (claudio@)

  ~ kroute.c                              

  > An u_int8_t is enough as prefixlen. Another lint warning gone. (claudio@)

  ~ rde.c                                 ~ rde.h
  ~ rde_rib.c                             

  > The metric is a 8bit value ranging from 1 to INFINITY (defined as a
  > whopping
  > 16). So use u_int8_t everywhere. (claudio@)

  ~ auth.c                                ~ message.c
  ~ packet.c                              ~ ripe.h

  > Make the packet buffer u_int8_t * everywhere. This is binary data and not
  > a string. (claudio@)

tcpdump

  ~ print-lldp.c                          

  > Fix alignment issues on sparc64. Fixes pr 5608.
  > ok canacar@ (moritz@)

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


More information about the owc mailing list