OpenBSD src changes summary for 2017-03-24
==========================================

gnu                                     lib/libc
lib/libutil                             regress/sys
regress/usr.sbin                        share/man
sys/arch/amd64/amd64                    sys/arch/arm64/arm64
sys/arch/arm64/include                  sys/arch/armv7/armv7
sys/arch/armv7/conf                     sys/arch/armv7/marvell
sys/kern                                usr.bin/aucat
usr.bin/tmux                            usr.sbin/syslogd
usr.sbin/vmd                            

== gnu =============================================================== 01/07 ==

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

gnu

  ~ llvm/tools/lld/ELF/Driver.cpp         

  > Add "(compatible with GNU linkers)" to the lld version output to avoid
  > problems with configure scripts generated with libtool.m4 that would
  > otherwise have to be regenerated with a patched libtool.
  > Among other things this fixes the build of Mesa on arm64 with lld.
  > From lld svn revision 298532.  ok kettenis@ (jsg@)

  ~ llvm/tools/lld/ELF/DriverUtils.cpp    

  > Add "supported targets" in lld --help output to be compatible with what
  > libtool generated configure scripts expect.  Otherwise they might assume
  > shared libraries aren't supported.
  > From lld svn revisions 298568 and 298571.
  > Discussed with kettenis@ (jsg@)

== lib =============================================================== 02/07 ==

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

libc

  ~ stdlib/Makefile.inc                   ~ stdlib/malloc.c

  > move recallocarray to malloc.c and
  > - use internal meta-data to do more consistency checking (especially with
  > option C)
  > - use cheap free if possible
  > ok deraadt@ (otto@)

  ~ stdlib/malloc.3                       

  > document new recallocarray diagnostic; zap a few diagnostics that should
  > never occur (otto@)

  ~ stdlib/malloc.c                       

  > add a helper function to print all pools #ifdef MALLOC_STATS
  > from David CARLIER (otto@)

libutil

  ~ imsg.c                                ~ imsg.h
  ~ imsg_init.3                           

  > Use C99 types (uint32_t) instead of BSD (u_int32_t) - the former are
  > more portable. Add stdint.h to the headers in imsg_init(3).
  > No objections from millert@. (nicm@)

== regress =========================================================== 03/07 ==

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

sys

  ~ kern/pledge/ioctl/pfioctl1.c          ~ kern/pledge/ioctl/pfioctl2.c

  > correct my email address. thanks fcambus@ (benno@)

usr.sbin

  + syslogd/args-error.pl                 

  > Check that syslogd(8) is still running if non critical errors happen
  > during startup. (bluhm@)

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

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

man

  ~ man4/virtio.4                         

  > add viocon and a missing full stop in previous;
  > ok mlarkin (jmc@)

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

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

arch/amd64/amd64

  ~ vmm.c                                 

  > Allow returns from vmd after handling cpuid exits (handles the case where
  > a cpuid instruction was emulated at the same time there was an interrupt
  > pending) (mlarkin@)

  ~ vmm.c                                 

  > Exit to vmd on byte size PCI accesses. (mlarkin@)

  ~ vmm.c                                 

  > Handle guest interruptibility state - Reset the interruptibility state
  > VMCS field on vmentry when we advanced %rip on the last exit (simulating
  > a real processor's behaviour). Handles guest "sti ; hlt" instruction
  > sequences, which is used in seabios as a primitive idle loop construct.
  > (mlarkin@)

arch/arm64/arm64

  ~ cpufunc_asm.S                         ~ cpuswitch.S
  ~ genassym.cf                           ~ pmap.c

  > Simplify ASID allocation code considerably by allocating an ASID up front
  > when a pmap is created and freeing it when the pmap is destroyed.  This
  > diff relies on the fill 16-bit ASID space being implemented in the
  > processor.
  > While this is documented as an optional feature in the ARMv8 architecture
  > reference manual, all ARMv8 processors seen in the wild so far implement
  > the full 16-bit space.  This change incorporates changes by drahn@ to
  > allocate an empty page table for the lower half of the address space for
  > the
  > kernel.
  > ok drahn@, patrick@ (kettenis@)

arch/arm64/include

  ~ cpufunc.h                             ~ pcb.h
  ~ pmap.h                                

  > Simplify ASID allocation code considerably by allocating an ASID up front
  > when a pmap is created and freeing it when the pmap is destroyed.  This
  > diff relies on the fill 16-bit ASID space being implemented in the
  > processor.
  > While this is documented as an optional feature in the ARMv8 architecture
  > reference manual, all ARMv8 processors seen in the wild so far implement
  > the full 16-bit space.  This change incorporates changes by drahn@ to
  > allocate an empty page table for the lower half of the address space for
  > the
  > kernel.
  > ok drahn@, patrick@ (kettenis@)

arch/armv7/armv7

  ~ armv7_machdep.c                       

  > Mainline u-boot on the ClearFog seems to insert an empty memory region
  > into the /memory node which we happily physload into UVM.  This leads
  > to a quickly panic(9)ing system when there is actual physical memory
  > starting at zero due to how the physeg array is sorted when using the
  > binary search strategy.  To fix this, do not physload an empty memory
  > region.
  > ok jsg@ kettenis@ (patrick@)

arch/armv7/conf

  ~ GENERIC                               ~ RAMDISK

  > Implement a driver for Marvell's XHCI controller.  This is in essence
  > a generic XHCI controller with the twist that the MBUS window needs
  > to be configured in the controller registers.  This enables use of
  > USB on devices like the SolidRun ClearFog or Omnia Turris.
  > ok kettenis@ (patrick@)

  ~ GENERIC                               ~ RAMDISK

  > Implement a driver for Marvell's AHCI controller.  This is in essence
  > a generic AHCI controller with the twist that the MBUS window needs
  > to be configured in the controller registers.  This enables use of
  > SATA on devices like the SolidRun ClearFog or Omnia Turris.
  > ok kettenis@ (patrick@)

arch/armv7/marvell

  ~ mvacc.c                               

  > Bump resolution of frequencies from kHz to Hz, since that is what the
  > clock frequency API expects.  Fixes login prompt over serial console.
  > (patrick@)

  ~ files.marvell                         + mvxhci.c

  > Implement a driver for Marvell's XHCI controller.  This is in essence
  > a generic XHCI controller with the twist that the MBUS window needs
  > to be configured in the controller registers.  This enables use of
  > USB on devices like the SolidRun ClearFog or Omnia Turris.
  > ok kettenis@ (patrick@)

  ~ files.marvell                         + mvahci.c

  > Implement a driver for Marvell's AHCI controller.  This is in essence
  > a generic AHCI controller with the twist that the MBUS window needs
  > to be configured in the controller registers.  This enables use of
  > SATA on devices like the SolidRun ClearFog or Omnia Turris.
  > ok kettenis@ (patrick@)

kern

  ~ subr_log.c                            

  > There was a race in dosendsyslog() which resulted in a crash.
  > sosend(syslogf->f_data, ...) could be called with a NULL pointer.
  > syslogf was not NULL, f_data was NULL and f_count was 1.  The file
  > structure is ref counted, but the global variable syslogf is not
  > protected.  So it may change during sleep and dosendsyslog() possibly
  > used a different socket at each access.  Solution is to access
  > syslogf only once, use a local copy, and do the ref counting there.
  > OK millert@ deraadt@ (bluhm@)

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

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

aucat

  ~ afile.c                               

  > Use the right header sizes for reading .aiff and .au files, ok ratchov
  > (nicm@)

tmux

  ~ colour.c                              ~ window-copy.c

  > Show count of search results in copy mode. (nicm@)

  ~ tty.c                                 

  > Write raw strings in one go rather than character at a time. (nicm@)

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

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

syslogd

  ~ ttymsg.c                              

  > Replace bcopy(3) with memmove(3) in function ttymsg().  Values of
  > iov and localiov may overlap.  No more bcopy(3) in syslogd(8).
  > from Michael W. Bombardieri (bluhm@)

  ~ syslogd.c                             

  > Keep syslogd(8) running as long as possible.  Regular programs
  > should terminate early in case of an error.  But if syslogd dies,
  > no messages can be seen at all.  Except from command line parsing
  > and memory shortage during statup, report errors and run all working
  > subsystems, but do not die.
  > OK millert@ dreaadt@ (bluhm@)

vmd

  ~ vm.c                                  

  > Allow vmd to proceed after an interrupt occurred after retiring a cpuid
  > instruction. Matches previous commit to kernel vmm.c (mlarkin@)

  ~ i8253.c                               ~ i8259.c

  > Last bits of cleanup for linux/seabios support in i8253/i8259 emulation
  > code. (mlarkin@)

  ~ i8253.c                               ~ i8259.c

  > Backout mlarkin's previous commit while he is away:
  > The newly-used function get_input_data() is missing and broke the tree.
  > (reyk@)

===============================================================================
_______________________________________________
odc mailing list
[email protected]
http://www.squish.net/mailman/listinfo/odc

Reply via email to