OpenBSD src changes summary for 2017-05-18
==========================================

distrib/sets                            regress/lib
share/man                               sys/arch/amd64/amd64
sys/arch/arm/armv7                      sys/arch/arm/include
sys/arch/arm64/arm64                    sys/arch/hppa/hppa
sys/arch/hppa/include                   sys/arch/i386/conf
sys/arch/i386/i386                      sys/arch/sh/include
sys/arch/sh/sh                          sys/dev/ic
sys/dev/usb                             sys/kern
sys/net                                 sys/netinet
sys/netinet6                            sys/sys
usr.sbin/pcidump                        usr.sbin/pkg_add
usr.sbin/syspatch                       usr.sbin/trpt

== distrib =========================================================== 01/05 ==

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

sets

  ~ lists/comp/mi                         

  > sync (deraadt@)

== regress =========================================================== 02/05 ==

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

lib

  ~ libc/qsort/qsort_test.c               

  > use mergesort instead of heapsort when comparing results (millert@)

== share ============================================================= 03/05 ==

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

man

  ~ man5/pf.conf.5                        

  > better describe "!";
  > from michal mazurek, tweaked a bit by myself (jmc@)

== sys =============================================================== 04/05 ==

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

arch/amd64/amd64

  ~ machdep.c                             

  > Since copyin(9) already doeas access 32-bit quantities atomically, we can
  > add copyin32(9) as a simple C wrapper around it.  These wrappers do check
  > alignment and return EFAULT if the userland pointer is misaligned.  This is
  > enough to guarantee that the access doesn't cross a cache line boundary
  > which
  > could make the access non-atomic.
  > ok mpi@, visa@, tedu@ (kettenis@)

arch/arm/armv7

  ~ armv7_mutex.c                         

  > Fix kernel build on armv7 and sh.
  > Pointed out by deraadt@ (visa@)

arch/arm/include

  ~ mutex.h                               

  > Fix kernel build on armv7 and sh.
  > Pointed out by deraadt@ (visa@)

arch/arm64/arm64

  ~ locore.S                              

  > AAPCS64 requires 16 byte stack alignment.  Set the bits in the system
  > control register to enable alignment fault exceptions if the stack
  > pointer is not correctly aligned when used as a base address in load or
  > store instructions.
  > drahn@ pointed out that FreeBSD made this change in svn rev 295270 and
  > believes we should do the same. (jsg@)

arch/hppa/hppa

  ~ locore.S                              ~ machdep.c

  > Implement copyin32(9).
  > "your chicken scratches look fine to me" deraadt@ (kettenis@)

arch/hppa/include

  ~ cpu.h                                 

  > Implement copyin32(9).
  > "your chicken scratches look fine to me" deraadt@ (kettenis@)

arch/i386/conf

  ~ GENERIC                               

  > enable acpisbs on i386 for old MacBooks
  > tested by Jan Stary (jcs@)

arch/i386/i386

  ~ machdep.c                             

  > Since copyin(9) already doeas access 32-bit quantities atomically, we can
  > add copyin32(9) as a simple C wrapper around it.  These wrappers do check
  > alignment and return EFAULT if the userland pointer is misaligned.  This is
  > enough to guarantee that the access doesn't cross a cache line boundary
  > which
  > could make the access non-atomic.
  > ok mpi@, visa@, tedu@ (kettenis@)

arch/sh/include

  ~ mutex.h                               

  > Fix kernel build on armv7 and sh.
  > Pointed out by deraadt@ (visa@)

arch/sh/sh

  ~ mutex.c                               

  > Fix kernel build on armv7 and sh.
  > Pointed out by deraadt@ (visa@)

dev/ic

  ~ athn.c                                

  > Fix a uvm fault in athn_clock_rate():
  > Don't deref an IEEE80211_CHAN_ANYC channel pointer.
  > ok mpi@ (stsp@)

dev/usb

  ~ if_umb.c                              

  > Grab the netlock in umb_state_task() and umb_decode_ip_configuration()
  > when calling in_ioctl().  These ioctls modify the routing table,
  > which is global.  So they need the lock.
  > Found with Zaur Molotnikov's static lock analyzer.
  > OK gerhard@ mpi@ (bluhm@)

kern

  ~ kern_synch.c                          

  > Do not panic if we find ourself on the sleep queue while being SONPROC.
  > If the rwlock passed to rwsleep(9) is contented, the CPU will call wakeup()
  > between sleep_setup() and sleep_finish().  At this moment curproc is on the
  > sleep queue but marked as SONPROC.  Avoid panicing in this case.
  > Problem reported by sthen@
  > ok kettenis@, visa@ (mpi@)

  ~ exec_subr.c                           

  > Add a gap of 1MB between the stack and mmap spaces.
  > ok deraadt@, millert@, stefan@ (kettenis@)

net

  ~ if_gif.c                              

  > The function name ip4_input() is confusing as it also handles IPv6
  > packets.  This is the IP in IP protocol input function, so call it
  > ipip_input().  Rename the existing ipip_input() to ipip_input_gif()
  > as it is the input function used by the gif interface.  Pass the
  > address family to make it consistent with pr_input.  Use __func__
  > in debug print and panic messages.  Move all ipip prototypes to the
  > ip_ipip.h header file.
  > OK dhill@ mpi@ (bluhm@)

netinet

  ~ in_proto.c                            ~ ip_ipip.c
  ~ ip_ipip.h                             ~ ip_ipsp.c
  ~ ip_ipsp.h                             ~ ipsec_output.c

  > The function name ip4_input() is confusing as it also handles IPv6
  > packets.  This is the IP in IP protocol input function, so call it
  > ipip_input().  Rename the existing ipip_input() to ipip_input_gif()
  > as it is the input function used by the gif interface.  Pass the
  > address family to make it consistent with pr_input.  Use __func__
  > in debug print and panic messages.  Move all ipip prototypes to the
  > ip_ipip.h header file.
  > OK dhill@ mpi@ (bluhm@)

  - tcpip.h                               ~ tcp_debug.c
  ~ tcp_debug.h                           ~ tcp_input.c
  ~ tcp_output.c                          ~ tcp_subr.c
  ~ tcp_usrreq.c                          

  > Merge the content of <netinet/tcpip.h> and <netinet6/tcpipv6.h> in
  > <netinet/tcp_debug.h>.
  > The IPv6 variant was always included and the IPv4 version is not
  > present on all systems.
  > Most of the offending ports are already fixed, thanks to sthen@! (mpi@)

netinet6

  ~ in6_proto.c                           

  > The function name ip4_input() is confusing as it also handles IPv6
  > packets.  This is the IP in IP protocol input function, so call it
  > ipip_input().  Rename the existing ipip_input() to ipip_input_gif()
  > as it is the input function used by the gif interface.  Pass the
  > address family to make it consistent with pr_input.  Use __func__
  > in debug print and panic messages.  Move all ipip prototypes to the
  > ip_ipip.h header file.
  > OK dhill@ mpi@ (bluhm@)

  - tcpipv6.h                             

  > Merge the content of <netinet/tcpip.h> and <netinet6/tcpipv6.h> in
  > <netinet/tcp_debug.h>.
  > The IPv6 variant was always included and the IPv4 version is not
  > present on all systems.
  > Most of the offending ports are already fixed, thanks to sthen@! (mpi@)

sys

  ~ systm.h                               

  > Add copyin32(9) prototype. (kettenis@)

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

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

pcidump

  ~ pcidump.c                             

  > When an array of PCIe extended cability strings was added it missed
  > some offsets, leading to the wrong strings being used in some cases.
  > Add the missing strings.
  > ok mpi@ deraadt@ millert@ (jsg@)

pkg_add

  ~ OpenBSD/PackageLocator.pm             ~ OpenBSD/PackageRepository.pm

  > introduce new url "installpath" to mean "the contents of installurl"
  > use it to simplify logic.
  > have ./ always be silent, wherever it may come from.
  > zap NOINSTALLPATH since it's more intuitive to just define PKG_PATH=
  > (nothing) now. (espie@)

  ~ pkg_add.1                             

  > document installpath, explain PKG_PATH defaults in terms of it. (espie@)

syspatch

  ~ syspatch.sh                           

  > Don't pass `-m' to ftp(1). Instead let isatty() decide whether we display
  > the
  > progress bar or not for better cron(1)/logger(1) output.
  > req. by henning@ (ajacoutot@)

trpt

  ~ trpt.c                                

  > Merge the content of <netinet/tcpip.h> and <netinet6/tcpipv6.h> in
  > <netinet/tcp_debug.h>.
  > The IPv6 variant was always included and the IPv4 version is not
  > present on all systems.
  > Most of the offending ports are already fixed, thanks to sthen@! (mpi@)

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

Reply via email to