[odc] Daily src changes for 2006-05-03

ODC auto at squish.net
Thu May 4 08:01:10 BST 2006


OpenBSD src changes summary for 2006-05-03
==========================================

bin/systrace                            libexec/ld.so
regress/usr.bin                         share/man
sys/arch/m88k/include                   sys/arch/m88k/m88k
sys/dev/ic                              sys/dev/pci
sys/uvm                                 usr.bin/cvs
usr.bin/mg                              usr.bin/rcs
usr.bin/xlint                           

== bin =============================================================== 01/06 ==

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

systrace

  ~ systrace.1                            

  > be more clear about policy inheritance
  > help and ok jmc, provos (sturm@)

== libexec =========================================================== 02/06 ==

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

ld.so

  ~ i386/ldasm.S                          

  > Rewrite the ld.so syscall stubs as macros. no binary change. (drahn@)

  ~ dlfcn.c                               

  > Keep the state of the debugger constistant, let it know a the dynamic
  > linker is adding or removing a library before it does the act.
  > Discussed with kurt@ some time ago. (drahn@)

  ~ Makefile                              

  > Extra paranoid, do not allow the dynamic linker to have unresolved
  > references
  > as this causes much frustration as it fails to run after being installed
  > and is a paint to recover. (drahn@)

  ~ Makefile                              ~ ld.so.1
  ~ library.c                             ~ library_mquery.c
  ~ loader.c                              ~ resolve.c
  ~ resolve.h                             ~ alpha/ldasm.S
  ~ alpha/syscall.h                       ~ amd64/ldasm.S
  ~ amd64/syscall.h                       ~ arm/ldasm.S
  ~ arm/syscall.h                         ~ hppa/ldasm.S
  ~ hppa/rtld_machine.c                   ~ hppa/syscall.h
  ~ i386/ldasm.S                          ~ i386/syscall.h
  ~ mips64/syscall.h                      ~ powerpc/syscall.h
  ~ sparc/ldasm.S                         ~ sparc/syscall.h
  ~ sparc64/ldasm.S                       ~ sparc64/syscall.h
  + dl_prebind.c                          + dl_prebind.h
  + prebind.h                             + prebind/Makefile
  + prebind/debug.c                       + prebind/objarray.c
  + prebind/prebind.8                     + prebind/prebind.c
  + prebind/prebind_struct.h              + prebind/sod.c
  + prebind_strip/Makefile                + prebind_strip/prebind_strip.8
  + prebind_strip/prebind_strip.c         

  > prebind - how to prelink a binary without throwing security out the window
  > Prelink fixes the address of libraries making 'return to libc' attacks
  > trival,
  > prebind uses a different method to achieve most of the same gains, however
  > without adding any security conerns.
  > Still under development, now in-tree. (drahn@)

  ~ prebind/prebind.c                     

  > When loading 'binaries' ignore libraries. (drahn@)

  ~ prebind/prebind.c                     

  > checks that libraries are libaries and programs are programs. (needs
  > cleanup) (drahn@)

  ~ prebind/prebind.c                     

  > goodbye noisy debug. (drahn@)

  ~ prebind/debug.c                       ~ prebind/objarray.c
  ~ prebind/prebind.c                     

  > several fixes dealing with determining if a program or library is being
  > processed. Also handles symlinks/hardlinks between binaries better.
  > (drahn@)

  ~ prebind/prebind.c                     

  > Using mmap for these is going to be trickier than I thought, go ahead
  > and do the allocation failure checks for now. (drahn@)

== regress =========================================================== 03/06 ==

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

usr.bin

  ~ xlint/test-20.c                       ~ xlint/test-20.c.exp

  > more test cases (otto@)

  ~ xlint/Makefile                        + xlint/test-21.c
  + xlint/test-21.c.exp                   + xlint/test-22.c
  + xlint/test-22.c.exp                   

  > Add some regress tests for lint1 crashes which are not solved yet (cloder@)

== share ============================================================= 04/06 ==

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

man

  ~ man4/systrace.4                       

  > SYSTR_MSG_CHILD is also sent when a child exits, from pr 5088
  > ok jmc, provos (sturm@)

  ~ man4/ddb.4                            

  > Mention x/I behaviour on m88k. (miod@)

== sys =============================================================== 05/06 ==

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

arch/m88k/include

  ~ db_machdep.h                          

  > Overhaul of the disassembler code, with random fixes, better conditionnal
  > branches decoding, correct control register descriptions, and (the reason
  > for these changes in the first place) 88110 instruction support.
  > ddb will now disassemble by default for the processor it is running for,
  > and using the alternate format (x/I) disassembles for the other. (miod@)

arch/m88k/m88k

  ~ db_sstep.c                            

  > Fix a (documented) logic botch in inst_load(). (miod@)

  ~ db_disasm.c                           

  > Overhaul of the disassembler code, with random fixes, better conditionnal
  > branches decoding, correct control register descriptions, and (the reason
  > for these changes in the first place) 88110 instruction support.
  > ddb will now disassemble by default for the processor it is running for,
  > and using the alternate format (x/I) disassembles for the other. (miod@)

dev/ic

  ~ wdc.c                                 ~ wdcvar.h

  > Provide a function pointer that allows for the wdc reset
  > method to be changed as required.
  > This will be required for dealing with several chips in pciide. (jsg@)

  ~ rt2560.c                              ~ rt2661.c

  TAGGED OPENBSD_3_9
  > MFC:
  > Fix by damien@
  > fixes interrupts processing.
  > should fix a panic reported by Karel Gardas. (brad@)

dev/pci

  ~ pcidevs.h                             ~ pcidevs_data.h

  > regen (brad@)

  ~ pcidevs                               

  > add the Neterion Xframe-II 10GbE product id. (brad@)

  ~ if_nfe.c                              

  TAGGED OPENBSD_3_9
  > MFC:
  > Fix by jsg@
  > Add work around for mbuf leak in the tx path until we
  > can come up with a better guess as to how the hardware works.
  > From Chuck Silvers. (brad@)

uvm

  ~ uvm_mmap.c                            

  TAGGED OPENBSD_3_8
  > MFC:
  > Fix by kurt@
  > Fix a process datasize leak with MAP_FIXED. When zapping old mappings
  > call uvm_unmap_p instead of uvm_unmap so that it has the process
  > information
  > and can adjust vm_dused. (brad@)

  ~ uvm_mmap.c                            

  TAGGED OPENBSD_3_9
  > MFC:
  > Fix by kurt@
  > Fix a process datasize leak with MAP_FIXED. When zapping old mappings
  > call uvm_unmap_p instead of uvm_unmap so that it has the process
  > information
  > and can adjust vm_dused. (brad@)

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

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

cvs

  ~ date.y                                

  > Use xasprintf and xfree.
  > ``But i thought it already went in...'' xsa@ (ray@)

mg

  ~ fileio.c                              

  > len = strlen(foo); if foo[len - 1]... will do bad things if len == 0.
  > Avoid, and rearrange a test so it can't (hypothetically) overflow. (kjell@)

  ~ fileio.c                              ~ sysdef.h

  > Do some KNF, clean up some unused junk that has lying around for 40-odd
  > cvs revisions, and fix a few comments to match reality (kjell@)

  ~ fileio.c                              

  > correct one more comment (kjell@)

rcs

  ~ diff3.c                               

  > respect TMPDIR; OK ray at .sa@)

  ~ date.y                                

  > Use xasprintf and xfree.
  > ``But i thought it already went in...'' xsa@ (ray@)

xlint

  ~ lint1/tree.c                          

  > be smarter about warning for null effects; kills a lot of spurious
  > warnings. ok cloder@ (otto@)

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



More information about the odc mailing list