[odc] Daily src changes for 2007-10-27

ODC auto at squish.net
Sun Oct 28 07:00:01 GMT 2007


OpenBSD src changes summary for 2007-10-27
==========================================

lib/libc                                share/man
sys/arch/m88k/include                   sys/arch/m88k/m88k
sys/arch/macppc/dev                     sys/arch/powerpc/powerpc
sys/arch/sparc64/include                sys/arch/sparc64/sparc64
sys/compat/ibcs2                        sys/compat/linux
sys/compat/osf1                         sys/compat/svr4
sys/dev                                 sys/dev/pci
sys/dev/usb                             sys/netinet
usr.bin/make                            usr.bin/pcc
usr.sbin/dhcpd                          

== lib =============================================================== 01/05 ==

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

libc

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

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

== share ============================================================= 02/05 ==

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

man

  ~ 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@)

== sys =============================================================== 03/05 ==

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

arch/m88k/include

  ~ 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

  ~ 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@)

arch/macppc/dev

  ~ openpic.c                             

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

arch/powerpc/powerpc

  ~ trap.c                                

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

arch/sparc64/include

  ~ param.h                               

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

arch/sparc64/sparc64

  ~ 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@)

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                               

  > 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@)

dev/pci

  ~ 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@)

dev/usb

  ~ if_axe.c                              

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

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@)

== usr.bin =========================================================== 04/05 ==

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

make

  ~ compat.c                              

  > fix indentation (espie@)

pcc

  ~ 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@)

== usr.sbin ========================================================== 05/05 ==

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

dhcpd

  ~ 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@)

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


More information about the odc mailing list