OpenBSD src changes summary for 2016-04-26
==========================================

distrib/sets                            etc/rc
etc/rc.d/rc.subr                        gnu/usr.bin/binutils-2.17
lib/libc                                lib/libm
libexec/login_reject                    share/man
share/mk                                sys/arch/amd64/amd64
sys/arch/amd64/include                  sys/arch/i386/i386
sys/arch/i386/include                   sys/arch/octeon/dev
sys/dev                                 sys/dev/acpi
sys/dev/pci                             sys/isofs/cd9660
sys/isofs/udf                           sys/kern
sys/miscfs/fuse                         sys/msdosfs
sys/nfs                                 sys/ntfs
sys/sys                                 sys/ufs/ext2fs
sys/ufs/mfs                             usr.bin/netstat
usr.bin/openssl                         usr.bin/tmux
usr.sbin/rcctl                          usr.sbin/sysmerge
usr.sbin/user                           

== distrib =========================================================== 01/09 ==

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

sets

  ~ lists/base/md.alpha                   ~ lists/base/md.amd64
  ~ lists/base/md.armish                  ~ lists/base/md.armv7
  ~ lists/base/md.hppa                    ~ lists/base/md.hppa64
  ~ 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/base/mi
  ~ lists/comp/mi                         ~ lists/etc/mi
  ~ lists/man/mi                          

  > sync (deraadt@)

  ~ lists/base/md.alpha                   ~ lists/base/md.amd64
  ~ lists/base/md.armish                  ~ lists/base/md.armv7
  ~ lists/base/md.hppa                    ~ lists/base/md.hppa64
  ~ 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/base/mi
  ~ lists/comp/md.alpha                   ~ lists/comp/md.amd64
  ~ lists/comp/md.armish                  ~ lists/comp/md.armv7
  ~ lists/comp/md.hppa                    ~ lists/comp/md.hppa64
  ~ lists/comp/md.i386                    ~ lists/comp/md.landisk
  ~ lists/comp/md.loongson                ~ lists/comp/md.luna88k
  ~ lists/comp/md.macppc                  ~ lists/comp/md.octeon
  ~ lists/comp/md.sgi                     ~ lists/comp/md.socppc
  ~ lists/comp/md.sparc                   ~ lists/comp/md.sparc64
  ~ lists/comp/md.zaurus                  ~ lists/comp/mi

  > sync (a few comp tools move to base, to support library boot-randomization)
  > (deraadt@)

== etc =============================================================== 02/09 ==

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

rc

  ~ rc                                    

  > Re-link (only the newest) libc.so, placing the objects in a random
  > order.
  > with shell script assistance from rpe (deraadt@)

rc.d/rc.subr

  ~ rc.d/rc.subr                          

  > Extend _RC_RUNFILE (/var/run/rc.d/scriptname) content with:
  > daemon_class, daemon_flags, daemon_timeout, daemon_user, pexp
  > Add "pexp" as a valid variable to _rc_parse_conf() and sort the list while
  > here.
  > Besides having an easy way to see how a daemon was started exactly, it
  > opens the
  > door to rdomain/rtable support in rc.d(8). We need to have as much
  > information
  > on a daemon as possible if we want to target a specific rtable (using -T)
  > and it
  > also makes it easier to start multiple instances of the same daemon with
  > similar
  > flags as a different user...
  > Of course that only works with rc.d scripts *not* overwritting the default
  > rc_*
  > functions.
  > Man page tweaks coming later.
  > discussed with and ok robert@ (ajacoutot@)

  ~ rc.d/rc.subr                          

  > Introduce rtable(4) support to rc.subr(8).
  > It works by adding daemon_rtable=$id in /etc/rc.conf.local.
  > rcctl(8) support coming in a few and so are the man pages bits.
  > If you want multiple instances of the same daemon running in different
  > routing tables, just symlink the original rc.d script.
  > e.g.
  > # cd /etc/rc.d && ln -s dhcpd dhcpd42
  > Then enable your daemons as such in rc.conf.local:
  > dhcpd_flags=
  > dhcpd42_flags=
  > dhcpd42_rtable=42
  > most work done by Jiri B <[email protected]>; with a few tweaks and
  > simplifications
  > by yours truly
  > ok robert@
  > ... should make henning happy ;-) (ajacoutot@)

  ~ rc.d/rc.subr                          

  > Bump copyright. (ajacoutot@)

== gnu =============================================================== 03/09 ==

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

usr.bin/binutils-2.17

  ~ bfd/archures.c                        ~ bfd/bfd-in2.h
  ~ bfd/cpu-mips.c                        ~ bfd/elfxx-mips.c
  ~ gas/config/tc-mips.c                  ~ include/elf/mips.h
  ~ include/opcode/mips.h                 ~ opcodes/mips-dis.c
  ~ opcodes/mips-opc.c                    

  > Add Octeon specific sync opcodes.
  > This is needed for proper sili(4) functionality on Octeon II machines.
  > OK jasper@, visa@ (pirofti@)

  ~ binutils/readelf.c                    

  > Show octeon in readelf -h output. (visa@)

== lib =============================================================== 04/09 ==

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

libc

  ~ Makefile                              

  > Enable LIBREBUILD to construct libc.so.*.a (deraadt@)

libm

  ~ man/acos.3                            ~ man/acosh.3
  ~ man/asin.3                            ~ man/atan.3
  ~ man/atan2.3                           ~ man/atanh.3
  ~ man/cosh.3                            ~ man/cproj.3
  ~ man/erf.3                             ~ man/exp.3
  ~ man/fdim.3                            ~ man/feclearexcept.3
  ~ man/fmax.3                            ~ man/hypot.3
  ~ man/ilogb.3                           ~ man/j0.3
  ~ man/lgamma.3                          ~ man/logb.3
  ~ man/nan.3                             ~ man/remainder.3
  ~ man/scalbn.3                          

  > Remove predefined strings from libm pages.
  > With lots of help, input and tweaks and finally ok schwarze@ (tb@)

== libexec =========================================================== 05/09 ==

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

login_reject

  ~ login_reject.c                        

  > Add missing "tty" promise to the pledge(2) call
  > This is needed since getpass(3) calls readpassphrase(3) which in turn tries
  > to open(2) a tty in O_RDWR mode
  > Problem reported by Kevin Chadwick <m8il1ists ! gmail.com>
  > Cluebat stick provided by deraadt@, OK millert@ (mestre@)

== share ============================================================= 06/09 ==

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

man

  ~ man4/rtsx.4                           

  > Match on RTS522A.  Found in 2016 thinkpads.
  > Tested by Bryan Vyhmeister on x260. (jsg@)

  ~ man5/port-modules.5                   

  > add stub for font.port.mk (jasper@)

  ~ man5/port-modules.5                   

  > We use MODPY_COMMENT, not MODPY_PYCOMMENT.
  > OK jasper@ danj@ (tsg@)

  ~ man5/port-modules.5                   

  > some minor cleanup; (jmc@)

  ~ man8/rc.d.8                           ~ man8/rc.subr.8

  > Document recent rc.subr/rc.d changes.
  > ok sthen@ robert@ (ajacoutot@)

  ~ man8/rc.subr.8                        

  > unwanted .El; (jmc@)

mk

  ~ bsd.lib.mk                            

  > provide support for a library setting LIBREBUILD, in which case a ar(1)
  > file is created of all the subsidiary .so files (deraadt@)

== sys =============================================================== 07/09 ==

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

arch/amd64/amd64

  ~ vmm.c                                 

  > KNF / spacing (mlarkin@)

  ~ amd64_mem.c                           

  > Convert some magic numbers into #defines - this is needed for some MTRR
  > decoding code I'm working on for vmm(4) debugging. No functional change.
  > (mlarkin@)

  ~ vmm.c                                 

  > Add decode functions for some of the MSRs that are commonly used. Only
  > compiled when VMM_DEBUG is enabled, and only used during VM crash.
  > (mlarkin@)

  ~ vmm.c                                 

  > missed a block of code while merging the previous change. (mlarkin@)

arch/amd64/include

  ~ specialreg.h                          

  > Convert some magic numbers into #defines - this is needed for some MTRR
  > decoding code I'm working on for vmm(4) debugging. No functional change.
  > (mlarkin@)

  ~ specialreg.h                          

  > Add decode functions for some of the MSRs that are commonly used. Only
  > compiled when VMM_DEBUG is enabled, and only used during VM crash.
  > (mlarkin@)

arch/i386/i386

  ~ i686_mem.c                            

  > Convert some magic numbers into #defines - this is needed for some MTRR
  > decoding code I'm working on for vmm(4) debugging. No functional change.
  > (mlarkin@)

arch/i386/include

  ~ specialreg.h                          

  > Convert some magic numbers into #defines - this is needed for some MTRR
  > decoding code I'm working on for vmm(4) debugging. No functional change.
  > (mlarkin@)

arch/octeon/dev

  ~ if_cnmac.c                            ~ if_cnmacvar.h

  > Drop an unused workaround which does not even compile. (visa@)

  ~ if_cnmac.c                            ~ if_cnmacvar.h

  > sc_resume_ch is used nowhere. (visa@)

dev

  ~ softraid.c                            

  > Restore intro comment to sr_hotspare_rebuild(), which was erroneously
  > replaced by comment for first chunk of code.
  > Pointed out by jsing@. (krw@)

  ~ softraid.c                            

  > Do NOT attempt a rebuild using a hot spare with a sector size
  > greater than the sector size of the softraid volume. i.e. 512-byte
  > hot spares should work on 4096-byte volumes but 4096-byte hotspares
  > will not work on 512-byte volumes.
  > Pointed out, errors corrected and ok jsing@ (krw@)

  ~ softraid.c                            

  > Display correct value in error message. (krw@)

dev/acpi

  ~ acpitz.c                              

  > corrects acpitz problem with active cooling and hysterisis
  > "if the temperature is below the active cooling level for a tz, turn the
  > fan off
  > regardless of what state it is currently in"
  > ok mlarkin@ (semarie@)

  ~ sdhc_acpi.c                           

  > Remove debug printfs, but do print "gpio" to indicate that card detection
  > is
  > done through a gpio pin instead of the standard register. (kettenis@)

dev/pci

  ~ rtsx_pci.c                            

  > Match on RTS522A.  Found in 2016 thinkpads.
  > Tested by Bryan Vyhmeister on x260. (jsg@)

isofs/cd9660

  ~ cd9660_vfsops.c                       

  > Populate all necessary statfs members in .vfs_statfs. cd9660, udf,
  > msdosfs and nfsv2 don't set f_namemax. ntfs and ext2fs don't set
  > f_namemeax and f_favail. fusefs doesn't set f_mntfromspec, f_favail and
  > f_iosize. Also, make all filesystems use copy_statfs_info(), so that all
  > statfs information is filled in correctly for the (sb != &mp->mnt-stat)
  > case.
  > ok stefan (natano@)

isofs/udf

  ~ udf_vfsops.c                          

  > Populate all necessary statfs members in .vfs_statfs. cd9660, udf,
  > msdosfs and nfsv2 don't set f_namemax. ntfs and ext2fs don't set
  > f_namemeax and f_favail. fusefs doesn't set f_mntfromspec, f_favail and
  > f_iosize. Also, make all filesystems use copy_statfs_info(), so that all
  > statfs information is filled in correctly for the (sb != &mp->mnt-stat)
  > case.
  > ok stefan (natano@)

kern

  ~ vfs_subr.c                            

  > fix off by one in vfs_vnode_print - found by miod
  > ok deraadt@, krw@ (beck@)

  ~ vfs_subr.c                            

  > copy_statfs_info() is not only used by ufs, but by other filesystems too,
  > so make sure that all members of mp->mnt_stat.mount_info are copied.
  > ok stefan (natano@)

miscfs/fuse

  ~ fuse_vfsops.c                         

  > Populate all necessary statfs members in .vfs_statfs. cd9660, udf,
  > msdosfs and nfsv2 don't set f_namemax. ntfs and ext2fs don't set
  > f_namemeax and f_favail. fusefs doesn't set f_mntfromspec, f_favail and
  > f_iosize. Also, make all filesystems use copy_statfs_info(), so that all
  > statfs information is filled in correctly for the (sb != &mp->mnt-stat)
  > case.
  > ok stefan (natano@)

msdosfs

  ~ msdosfs_vfsops.c                      

  > Populate all necessary statfs members in .vfs_statfs. cd9660, udf,
  > msdosfs and nfsv2 don't set f_namemax. ntfs and ext2fs don't set
  > f_namemeax and f_favail. fusefs doesn't set f_mntfromspec, f_favail and
  > f_iosize. Also, make all filesystems use copy_statfs_info(), so that all
  > statfs information is filled in correctly for the (sb != &mp->mnt-stat)
  > case.
  > ok stefan (natano@)

nfs

  ~ nfs_vfsops.c                          

  > Populate all necessary statfs members in .vfs_statfs. cd9660, udf,
  > msdosfs and nfsv2 don't set f_namemax. ntfs and ext2fs don't set
  > f_namemeax and f_favail. fusefs doesn't set f_mntfromspec, f_favail and
  > f_iosize. Also, make all filesystems use copy_statfs_info(), so that all
  > statfs information is filled in correctly for the (sb != &mp->mnt-stat)
  > case.
  > ok stefan (natano@)

ntfs

  ~ ntfs_vfsops.c                         

  > Populate all necessary statfs members in .vfs_statfs. cd9660, udf,
  > msdosfs and nfsv2 don't set f_namemax. ntfs and ext2fs don't set
  > f_namemeax and f_favail. fusefs doesn't set f_mntfromspec, f_favail and
  > f_iosize. Also, make all filesystems use copy_statfs_info(), so that all
  > statfs information is filled in correctly for the (sb != &mp->mnt-stat)
  > case.
  > ok stefan (natano@)

sys

  ~ conf.h                                

  > more systrace goes away (deraadt@)

  ~ file.h                                

  > No good reason to retain comments about old DTYPE_CRYPTO or DTYPE_SYSTRACE
  > values. (deraadt@)

ufs/ext2fs

  ~ ext2fs_vfsops.c                       

  > Populate all necessary statfs members in .vfs_statfs. cd9660, udf,
  > msdosfs and nfsv2 don't set f_namemax. ntfs and ext2fs don't set
  > f_namemeax and f_favail. fusefs doesn't set f_mntfromspec, f_favail and
  > f_iosize. Also, make all filesystems use copy_statfs_info(), so that all
  > statfs information is filled in correctly for the (sb != &mp->mnt-stat)
  > case.
  > ok stefan (natano@)

ufs/mfs

  ~ mfs_extern.h                          ~ mfs_vfsops.c

  > Populate all necessary statfs members in .vfs_statfs. cd9660, udf,
  > msdosfs and nfsv2 don't set f_namemax. ntfs and ext2fs don't set
  > f_namemeax and f_favail. fusefs doesn't set f_mntfromspec, f_favail and
  > f_iosize. Also, make all filesystems use copy_statfs_info(), so that all
  > statfs information is filled in correctly for the (sb != &mp->mnt-stat)
  > case.
  > ok stefan (natano@)

== usr.bin =========================================================== 08/09 ==

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

netstat

  ~ inet.c                                

  > Print tcps_noport with netstat -s like it is already done for udp.
  > OK mpi@ (bluhm@)

openssl

  ~ ocsp.c                                

  > add "dns" to openssl ocsp
  > problem reported by Alexandre (kAworu)
  > ok beck@ deraadt@ sthen@ (semarie@)

tmux

  ~ utf8.c                                

  > Log wcwidth() and mbtowc() failure to make it easier to debug a Unicode
  > codepoint not appearing. (nicm@)

  - array.h                               ~ window-choose.c

  > Remove last uses of array.h. (nicm@)

  ~ tty-keys.c                            

  > Simplify next key matching and fix problems with meta and Unicode keys.
  > (nicm@)

== usr.sbin ========================================================== 09/09 ==

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

rcctl

  ~ rcctl.8                               ~ rcctl.sh

  > Implement daemon_rtable support.
  > From Jiri B <jirib ! devio ! us>, thanks! (ajacoutot@)

  ~ rcctl.sh                              

  > It's ok to disable a non-existing daemon.
  > Think "pkg_delete foobar && rcctl disable foobar". (ajacoutot@)

sysmerge

  ~ sysmerge.sh                           

  > Tweak output a bit; to be improved probably (sthen@ and I can't think of a
  > better wording for now).
  > Also be consistent in batch and interactive mode: make sure we can just
  > re-run
  > sysmerge if we leave a file for later; this prevents having to save the
  > tmpdir
  > to find which files needs to be handled (aka we are self-contained).
  > (ajacoutot@)

user

  ~ user.c                                

  > Add pledge(2) promises independently on each user(8)'s functions as
  > follows:
  > useradd:        stdio rpath wpath cpath fattr flock proc exec getpw id
  > usermod:        stdio rpath wpath cpath fattr flock proc exec getpw id
  > userdel:        stdio rpath wpath cpath fattr flock proc exec getpw id
  > userinfo:       stdio getpw
  > groupadd:       stdio rpath wpath cpath fattr flock getpw
  > groupmod:       stdio rpath wpath cpath fattr flock
  > groupdel:       stdio rpath wpath cpath fattr flock
  > groupinfo:      stdio getpw
  > This was extensively tested by me and tim@ who found some issues on my
  > first
  > versions. deraadt@ prodded me to commit this now to check who uses it in
  > order
  > to report back any fallbacks with the diff, if you find any please inform
  > us. (mestre@)

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

Reply via email to