OpenBSD src changes summary for 2016-08-14
==========================================

bin/csh                                 bin/dd
bin/df                                  bin/pax
distrib/sets                            games/factor
gnu/usr.bin/binutils-2.17               lib/libc
lib/libutil                             libexec/ftpd
libexec/ld.so                           regress/lib
regress/sys                             sbin/fsirand
sbin/sysctl                             share/man
sys/arch/arm/arm                        sys/arch/arm/conf
sys/arch/arm/include                    sys/arch/arm/xscale
sys/arch/armv7/conf                     sys/arch/armv7/imx
sys/arch/mips64/include                 sys/arch/mips64/mips64
sys/arch/octeon/dev                     sys/arch/octeon/octeon
sys/arch/zaurus/zaurus                  sys/dev
sys/dev/ic                              sys/dev/pci
usr.bin/cmp                             usr.bin/ftp
usr.bin/openssl                         usr.bin/vi
usr.bin/vmstat                          usr.sbin/installboot
usr.sbin/memconfig                      usr.sbin/mtree
usr.sbin/pstat                          usr.sbin/pwd_mkdb
usr.sbin/rmt                            usr.sbin/sa
usr.sbin/user                           usr.sbin/vipw

== bin =============================================================== 01/12 ==

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

csh

  ~ misc.c                                

  > Don't call sysconf() in a loop conditional when the loop won't affect it
  > ok natano@ tedu@ (guenther@)

  ~ func.c                                

  > Don't reinvent rlim_t; when printing it use %llu and cast to
  > unsigned long long
  > ok natano@ tedu@ (guenther@)

dd

  ~ args.c                                

  > replace strtoq with strtoll. ok openbsd (tedu@)

  ~ misc.c                                

  > %qd -> %lld for an off_t already being cast to (long long)! (krw@)

df

  ~ df.c                                  

  > Another %qd -> %lld + (long long) for off_t's. (krw@)

pax

  ~ cpio.c                                ~ extern.h
  ~ gen_subs.c                            ~ options.c
  ~ tar.c                                 

  > Replace u_quad_t with unsigned long long and replace "uqd" with "ull" in
  > function names to match.  Pull some tangled assignments out of conditions
  > and use >>= where possible.
  > ok millert@ (guenther@)

  ~ ar_io.c                               ~ buf_subs.c
  ~ cpio.c                                ~ file_subs.c
  ~ tables.c                              ~ tar.c

  > Remove many unnecessary casts.  Verified by comparing generated code on
  > both ILP32 and LP64.
  > ok millert@ (guenther@)

== distrib =========================================================== 02/12 ==

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

sets

  ~ lists/base/md.alpha                   ~ lists/base/md.amd64
  ~ lists/base/md.armv7                   ~ lists/base/md.hppa
  ~ lists/base/md.i386                    ~ lists/base/md.landisk
  ~ lists/base/md.loongson                ~ lists/base/md.luna88k
  ~ lists/base/md.macppc                  ~ lists/base/md.octeon
  ~ lists/base/md.sgi                     ~ lists/base/md.socppc
  ~ lists/base/md.sparc                   ~ lists/base/md.sparc64
  ~ lists/base/md.zaurus                  ~ lists/comp/mi
  ~ lists/man/mi                          

  > sync (deraadt@)

== games ============================================================= 03/12 ==

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

factor

  ~ factor.c                              

  > Convert remaining calls to strtoq/strtouq in base with strtoll/strtoull.
  > Fix a type mismatch in ftp's "page" command and could make transfers
  > restart
  > at the wrong position.
  > ok and a ull->ll tweak from natano@, ok tedu@ (guenther@)

== gnu =============================================================== 04/12 ==

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

usr.bin/binutils-2.17

  ~ ld/scripttempl/elf.sc                 

  > Turning off relro shouldn't insert padding into the middle of the relro
  > section; remove the PAD_GOT0 use that I should have deleted before.  This
  > caused ld.so crashes on arm when building binutils.
  > critical debugging observations by kettenis@ (guenther@)

== lib =============================================================== 05/12 ==

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

libc

  ~ gen/getpwent.3                        ~ gen/getpwnam.3

  > Refer to /etc/passwd consistently as the "legacy password file" and
  > remove some references to differences between versions 6 and 7.
  > ok jmc, millert, tedu (tb@)

  - stdlib/qabs.3                         - stdlib/qabs.c
  - stdlib/qdiv.3                         - stdlib/qdiv.c
  ~ hidden/stdlib.h                       ~ stdlib/Makefile.inc
  ~ stdlib/div.3                          ~ stdlib/imaxdiv.3
  ~ stdlib/labs.3                         ~ stdlib/ldiv.3
  ~ stdlib/llabs.c                        ~ stdlib/lldiv.3
  ~ stdlib/lldiv.c                        

  > Reduce qabs() and qdiv() to aliases of llabs() and lldiv().
  > Merge the manual pages and call them deprecated there.
  > ok and manpage tweak jmc@, ok natano@ (guenther@)

libutil

  ~ pw_init.3                             ~ pw_lock.3

  > Refer to /etc/passwd consistently as the "legacy password file" and
  > remove some references to differences between versions 6 and 7.
  > ok jmc, millert, tedu (tb@)

== libexec =========================================================== 06/12 ==

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

ftpd

  ~ ftpcmd.y                              ~ ftpd.c

  > Convert %q to %ll with long long casts for printf()
  > Delete pointless casts to off_t, void*, and uid_t
  > ok krw@ (guenther@)

  ~ logutmp.c                             

  > When upcasting to off_t for multiplication, the cast needs to be *before*
  > the multiplication to avoid truncation/overflow
  > ok krw@ (guenther@)

ld.so

  ~ loader.c                              

  > Mark the relro/got section as read-only before setting up the environment
  > to minimize the amount of code run without it RO. (guenther@)

  ~ arm/Makefile.inc                      

  > Drop -z nocombreloc.  That's a rev 1.1 commit so not clear why it was
  > needed
  > then; perhaps fixed by the bump in binutils?  Anyway, builds seem good
  > without
  > it and that enables the full relro layout for ld.so.
  > ok kettenis@ (guenther@)

== regress =========================================================== 07/12 ==

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

lib

  ~ libutil/fmt_scaled/fmt_test.c         

  > Convert quad_t to long long (guenther@)

sys

  ~ arch/sparc64/emul-popc/reg/reg.c      

  > Convert %q to %ll (guenther@)

== sbin ============================================================== 08/12 ==

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

fsirand

  ~ fsirand.c                             

  > Convert %q to %ll.  Cast off_t to long long for printf-style args.
  > Eliminate pointless casts to void* or off_t
  > ok krw@ (guenther@)

sysctl

  ~ sysctl.c                              

  > Use int64_t and %ll for CTLTYPE_QUAD nodes.
  > Use memcpy() instead of up-casting from char* to long long*
  > ok krw@ (guenther@)

== share ============================================================= 09/12 ==

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

man

  ~ man4/man4.armv7/Makefile              + man4/man4.armv7/imxtemp.4

  > imxtemp(4) (kettenis@)

  ~ man4/man4.armv7/imxtemp.4             

  > tweak previous; (jmc@)

== sys =============================================================== 10/12 ==

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

arch/arm/arm

  ~ bus_dma.c                             

  > Allow a bus_dmamap_sync() of length zero.
  > ok tedu@ (kettenis@)

  ~ cpufunc.c                             

  > Fix setting the SMP bit in the Auxiliary Control Register.  The old code
  > was
  > toggling the bit, clearing it when already set.  On Cortex-A7 setting the
  > SMP
  > bit is essential since without it the CPU doesn't actually use its caches.
  > The SMP bit supposed to be set before turning on the caches and the MMU, so
  > move the setting of the Auxiliary Control Register before setting the
  > System Control Register.
  > ok jsg@ (kettenis@)

  ~ cpu.c                                 ~ cpufunc.c

  > Remove code for Intel 80219/80321 xscale processors used by armish.
  > Generic xscale support and support for pxa2x0 used by zaurus remains.
  > (jsg@)

arch/arm/conf

  ~ files.arm                             

  > Remove code for Intel 80219/80321 xscale processors used by armish.
  > Generic xscale support and support for pxa2x0 used by zaurus remains.
  > (jsg@)

arch/arm/include

  ~ armreg.h                              

  > Fix setting the SMP bit in the Auxiliary Control Register.  The old code
  > was
  > toggling the bit, clearing it when already set.  On Cortex-A7 setting the
  > SMP
  > bit is essential since without it the CPU doesn't actually use its caches.
  > The SMP bit supposed to be set before turning on the caches and the MMU, so
  > move the setting of the Auxiliary Control Register before setting the
  > System Control Register.
  > ok jsg@ (kettenis@)

  ~ armreg.h                              ~ cpuconf.h
  ~ cpufunc.h                             

  > Remove code for Intel 80219/80321 xscale processors used by armish.
  > Generic xscale support and support for pxa2x0 used by zaurus remains.
  > (jsg@)

arch/arm/xscale

  - files.i80321                          - i80321.c
  - i80321_clock.c                        - i80321_i2c.c
  - i80321_intr.c                         - i80321_mcu.c
  - i80321_mutex.c                        - i80321_pci.c
  - i80321_space.c                        - i80321reg.h
  - i80321var.h                           - iopi2c.c
  - iopi2creg.h                           - iopi2cvar.h
  - xscalereg.h                           

  > Remove code for Intel 80219/80321 xscale processors used by armish.
  > Generic xscale support and support for pxa2x0 used by zaurus remains.
  > (jsg@)

arch/armv7/conf

  ~ GENERIC                               

  > Add imxtemp(4), a temperature sensor for the i.MX6 SoC.  Based on code
  > written
  > by patrick@.
  > ok deraadt@ (kettenis@)

arch/armv7/imx

  ~ files.imx                             ~ imxocotp.c
  ~ imxocotpvar.h                         + imxtemp.c

  > Add imxtemp(4), a temperature sensor for the i.MX6 SoC.  Based on code
  > written
  > by patrick@.
  > ok deraadt@ (kettenis@)

arch/mips64/include

  ~ cpu.h                                 ~ mips_cpu.h
  ~ pte.h                                 

  > Utilize the TLB Execute-Inhibit bit with non-executable mappings on CPUs
  > that support the Execute-Inhibit exception. This makes user space W^X
  > effective on Octeon Plus and later Octeon versions.
  > Feedback from miod@, thanks!
  > No objection from deraadt@ (visa@)

arch/mips64/mips64

  ~ context.S                             ~ db_machdep.c
  ~ mips64r2.S                            ~ pmap.c
  ~ tlbhandler.S                          ~ trap.c

  > Utilize the TLB Execute-Inhibit bit with non-executable mappings on CPUs
  > that support the Execute-Inhibit exception. This makes user space W^X
  > effective on Octeon Plus and later Octeon versions.
  > Feedback from miod@, thanks!
  > No objection from deraadt@ (visa@)

arch/octeon/dev

  ~ if_cnmac.c                            

  > Remove some annoying debug printfs to get rid of u_quad_t in cnmac. (visa@)

arch/octeon/octeon

  ~ locore.S                              ~ machdep.c

  > Utilize the TLB Execute-Inhibit bit with non-executable mappings on CPUs
  > that support the Execute-Inhibit exception. This makes user space W^X
  > effective on Octeon Plus and later Octeon versions.
  > Feedback from miod@, thanks!
  > No objection from deraadt@ (visa@)

arch/zaurus/zaurus

  ~ zaurus_machdep.c                      

  > remove uneeded sa1111_reg.h include
  > ok kettenis@ (jsg@)

dev

  ~ biovar.h                              

  > change some types in bio from u_quad_t to uint64_t, and fix casts in
  > drivers that fill that field in too.
  > quad types are going away. (dlg@)

dev/ic

  ~ mfireg.h                              

  > replace u_quad_t with uint64_t.
  > guenther is proposing the removal of u_quad_t. uint64_t is more portable.
  > tested on a perc5 and perc6, no functional change. (dlg@)

  ~ ami.c                                 ~ ciss.c
  ~ mfireg.h                              ~ mpi.c

  > change some types in bio from u_quad_t to uint64_t, and fix casts in
  > drivers that fill that field in too.
  > quad types are going away. (dlg@)

dev/pci

  ~ ips.c                                 

  > change some types in bio from u_quad_t to uint64_t, and fix casts in
  > drivers that fill that field in too.
  > quad types are going away. (dlg@)

  ~ if_devar.h                            

  > u_quad_t -> uint64_t
  > de is amazing(tm). it really should be cut back and simplified a bit.
  > (dlg@)

== usr.bin =========================================================== 11/12 ==

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

cmp

  ~ cmp.c                                 

  > Convert remaining calls to strtoq/strtouq in base with strtoll/strtoull.
  > Fix a type mismatch in ftp's "page" command and could make transfers
  > restart
  > at the wrong position.
  > ok and a ull->ll tweak from natano@, ok tedu@ (guenther@)

ftp

  ~ cmds.c                                ~ util.c

  > Convert remaining calls to strtoq/strtouq in base with strtoll/strtoull.
  > Fix a type mismatch in ftp's "page" command and could make transfers
  > restart
  > at the wrong position.
  > ok and a ull->ll tweak from natano@, ok tedu@ (guenther@)

openssl

  ~ openssl.1                             

  > shorten genpkey; ok guenther (jmc@)

vi

  ~ common/search.c                       

  > Kill '#if defined(DEBUG) && 0' blocks that used %q
  > ok bentley@ on principle (guenther@)

vmstat

  ~ vmstat.c                              

  > Convert %q to %ll and cast opaque system values to long long.
  > Use uint64_t for the KERN_INTRCNT_CNT sysctl()
  > ok krw@ (guenther@)

== usr.sbin ========================================================== 12/12 ==

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

installboot

  ~ Makefile                              

  > Merge identical amd64 and i386 stanzas.
  > Requested & ok jsing@ (krw@)

memconfig

  ~ memconfig.c                           

  > Convert remaining calls to strtoq/strtouq in base with strtoll/strtoull.
  > Fix a type mismatch in ftp's "page" command and could make transfers
  > restart
  > at the wrong position.
  > ok and a ull->ll tweak from natano@, ok tedu@ (guenther@)

mtree

  ~ spec.c                                

  > Convert remaining calls to strtoq/strtouq in base with strtoll/strtoull.
  > Fix a type mismatch in ftp's "page" command and could make transfers
  > restart
  > at the wrong position.
  > ok and a ull->ll tweak from natano@, ok tedu@ (guenther@)

  ~ compare.c                             ~ create.c

  > %qd -> %lld + (long long) for off_t's.
  > ok guenther@ natano@ (krw@)

pstat

  ~ pstat.c                               

  > Convert %q to %ll and cast opaque system values to long long.
  > Use uint64_t for the KERN_INTRCNT_CNT sysctl()
  > ok krw@ (guenther@)

pwd_mkdb

  ~ pwd_mkdb.8                            

  > Refer to /etc/passwd consistently as the "legacy password file" and
  > remove some references to differences between versions 6 and 7.
  > ok jmc, millert, tedu (tb@)

rmt

  ~ rmt.c                                 

  > Convert remaining calls to strtoq/strtouq in base with strtoll/strtoull.
  > Fix a type mismatch in ftp's "page" command and could make transfers
  > restart
  > at the wrong position.
  > ok and a ull->ll tweak from natano@, ok tedu@ (guenther@)

sa

  ~ extern.h                              ~ main.c
  ~ pdb.c                                 ~ usrdb.c

  > Flip 'u_quad_t' fields & variables to uint64_t, and %qu to %llu.
  > ok guenther@ (krw@)

user

  ~ useradd.8                             

  > Xr encrypt(1) in the explanation of the -p option.
  > ok jmc (tb@)

vipw

  ~ vipw.8                                

  > Refer to /etc/passwd consistently as the "legacy password file" and
  > remove some references to differences between versions 6 and 7.
  > ok jmc, millert, tedu (tb@)

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

Reply via email to