OpenBSD src changes summary for 2017-01-20 ==========================================
Makefile.cross distrib/miniroot games/atc games/backgammon games/hunt gnu gnu/lib/libreadline gnu/usr.bin/cvs lib/libcompiler_rt lib/libcrypto lib/libcxx lib/libcxxabi lib/libm libexec/ld.so regress/sys regress/usr.bin sbin/iked sys/arch/arm64/arm64 sys/arch/arm64/dev sys/dev/pv sys/dev/sdmmc sys/net sys/netinet sys/stand usr.bin/ftp usr.bin/getcap usr.bin/mandoc usr.bin/openssl usr.bin/sed usr.bin/tmux usr.bin/vi usr.sbin/ldapctl usr.sbin/ldapd usr.sbin/ldpctl usr.sbin/ldpd usr.sbin/ntpd usr.sbin/rarpd usr.sbin/rbootd usr.sbin/rpc.statd usr.sbin/rtadvd usr.sbin/snmpd usr.sbin/tcpdump usr.sbin/ypldap == Makefile.cross ==================================================== 01/11 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/Makefile.cross Makefile.cross > Adjust cross-compilation infrastructure to cope with builduser > permission requirements. > From Dale Rahn. > ok tb@ > "commit it" guenther@ (patrick@) == distrib =========================================================== 02/11 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/distrib miniroot ~ install.sub > Use a global variable PUB_KEY for the location of the key file. > OK tb@ krw@ (rpe@) == games ============================================================= 03/11 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/games atc ~ log.c > Nuke some excess whitespace. (krw@) backgammon ~ teachgammon/teach.c ~ teachgammon/tutor.c > Mark functions that do not return as __dead to quiet gcc warnings. > ok beck@ (krw@) ~ teachgammon/data.c ~ teachgammon/tutor.h > mark the prototypes of tutor() and leave() as __dead as well. > ok guenther, krw (tb@) hunt ~ huntd/conf.c > In "%.*s" the * takes (int). gcc whines if you try to use the result > of pointer subtraction without a cast. So cast those expressions > to (int). > Switch one local variable to the same type as the parameter it is > compared to. > ok deraadt@ guenther@ beck@ (krw@) == gnu =============================================================== 04/11 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/gnu gnu ~ llvm/lib/CodeGen/TargetLoweringBase.cpp > Restore setting the visibility of __guard_local to hidden for better > code generation. Use dyn_case_or_null instead of a static cast to > solve the crashes in the previous code. > ok stefan@ kettenis@ (guenther@) lib/libreadline ~ bind.c ~ complete.c ~ histexpand.c ~ input.c ~ tilde.c > Take gcc's suggestions about parenthesis around assignments used > as truth values. Change a parameter to 'const'. All without making > promises about any further cleanup in /gnu/. > ok deraadt@ (krw@) usr.bin/cvs ~ src/log.c > Nuke some excess whitespace. (krw@) == lib =============================================================== 05/11 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/lib libcompiler_rt ~ Makefile > Depend compilation on the compiler version, so that we can always > enter the directory to create an objdir. > ok deraadt@ (patrick@) libcrypto ~ x509/x509_vfy.c > Rework internal_verify, mostly from OpenSSL. so we can progress > towards cleaning up the V_OK stuff. > ok kinichiro@ (beck@) libcxx ~ Makefile > Depend compilation on the compiler version, so that we can always > enter the directory to create an objdir. > ok deraadt@ (patrick@) libcxxabi ~ Makefile > Depend compilation on the compiler version, so that we can always > enter the directory to create an objdir. > ok deraadt@ (patrick@) libm ~ src/ld80/s_nextafterl.c > Implement gcc suggestion of extra parentheses. No functional change. > ok guenther@ (krw@) == libexec =========================================================== 06/11 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/libexec ld.so ~ aarch64/archdep.h ~ alpha/archdep.h ~ amd64/archdep.h ~ arm/archdep.h ~ hppa/archdep.h ~ i386/archdep.h ~ m88k/archdep.h ~ mips64/archdep.h ~ powerpc/archdep.h ~ sh/archdep.h ~ sparc64/archdep.h > Delete ancient macros and unnecessary #includes > ok deraadt@ (guenther@) == regress =========================================================== 07/11 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/regress sys + net/pf_table/Makefile + net/pf_table/table.hit + net/pf_table/table.in + net/pf_table/table.miss > Add a basic test for pf_table using pfctl -t x -T test (claudio@) ~ net/Makefile > Hook up the pf_table regress test (claudio@) usr.bin ~ xargs/Makefile > Use bsd.regress.mk in the intended way so that the test prints > FAILED when it fails. (bluhm@) == sbin ============================================================== 08/11 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sbin iked ~ ikev2.h > New RFC7383 define > From and OK markus@, OK reyk (mikeb@) ~ ikev2_pld.c > Minor formatting fix > From and OK markus@, OK reyk (mikeb@) ~ ikev2_pld.c > Include only found SPIs into the PAYLOAD_DELETE message > From and OK markus@, OK reyk (mikeb@) ~ ikev2.c > Verify the certificate imsg payload size > From and OK markus@, OK reyk (mikeb@) ~ parse.y > Check bounds of the flows array when configuring traffic selectors > From and OK markus@, OK reyk (mikeb@) ~ ikev2_msg.c > Closed SAs should never be treated as valid > From and OK markus@, OK reyk (mikeb@) ~ ca.c > Make sure to free reference to the public key after decoding > From and OK markus@, OK reyk (mikeb@) ~ ikev2_msg.c > Reset various pointers in ikev2_msg_cleanup > From and OK markus@, OK reyk (mikeb@) ~ iked.h ~ imsg_util.c > Constify the data argument for ibuf_new > From and OK markus@, OK reyk (mikeb@) ~ ikev2.c > Add a warning when the address pool is exhausted > From and OK markus@, OK reyk (mikeb@) == sys =============================================================== 09/11 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sys arch/arm64/arm64 ~ machdep.c > Exterminate comcnspeed and comcnmode which were uninitialized and > caused issues in the tty layer. Use the tty defaults for the cflags, > while still overwriting the terminal speed with B115200. > Found with lots of help from deraadt@ (patrick@) arch/arm64/dev ~ com_fdt.c ~ pluart.c > Exterminate comcnspeed and comcnmode which were uninitialized and > caused issues in the tty layer. Use the tty defaults for the cflags, > while still overwriting the terminal speed with B115200. > Found with lots of help from deraadt@ (patrick@) dev/pv ~ xen.c > Merge two conditional expressions (mikeb@) dev/sdmmc ~ sdmmc_scsi.c > sdmmc sd(4) devices should be marked SID_REMOVABLE, so that eject(1) can > succeed. No downside in the bottom part of the driver. > ok dlg krw (deraadt@) net ~ if_enc.c ~ if_pflow.c ~ if_pfsync.c ~ if_spppsubr.c > No need to handle SIOCAIFADDR in drivers, it's never passed down to > them. > ok claudio@ (mpi@) ~ ifq.c ~ ifq.h > keep output packet counters on the ifq structure. > these copy what is counted on the output path on the ifnet struct, > except ifq counts both packets and bytes when a packet is queued > instead of just the bytes. > all the counters are protected by the ifq mutex except for ifq_errors, > which can be updated safely from inside a start routine because the > ifq machinery serialises them. > ok mpi@ (dlg@) ~ if_pfsync.c > pfsync_update_net_tdb() is only called at IPL_SOFTNET, no need for a > splsofnet()/splx() dance. > Tested by Hrvoje Popovski, ok visa@ (mpi@) ~ if_pfsync.h ~ if_bridge.h > Stop using pfsockaddr_union outside of pf so that we can remove its usage > inside pf later on. pfsync can use the one from ip_ipsp.h and bridge can > have its own version for now. > OK mpi@ phessler@ (claudio@) ~ route.c ~ route.h ~ rtsock.c > use per-cpu counters for rtstat. > ok mpi@ (dlg@) ~ bfd.c > correctly set our rx timer to be the required minimum, not the bare > minimum the neighbor supports (phessler@) ~ bfd.c > only increase the error counter if we are in a not-down state (phessler@) ~ bfd.c > don't increase the error counter in the not-down case, in general > (phessler@) ~ bfd.c > fix typo (phessler@) ~ bfd.c > if a route is not valid, set down instead of admindown (phessler@) netinet ~ ipsec_input.c ~ ipsec_output.c > Kill recursive splsofnet()/splx() dances. > Tested by Hrvoje Popovski, ok visa@ (mpi@) stand ~ efi/include/efi_nii.h ~ efi/include/efiapi.h ~ efi/include/eficon.h ~ efi/include/efidevp.h ~ efi/include/efifpswa.h ~ efi/include/efigop.h ~ efi/include/efinet.h ~ efi/include/efipxebc.h ~ efi/include/efiser.h > Fix (currently unused) GUID definitions to match the EFI_GUID struct. > (jsg@) == usr.bin =========================================================== 10/11 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.bin ftp ~ small.c ~ util.c > #ifndef SMALL around a couple of non-SMALL labels. > ok deraadt@ (krw@) ~ extern.h ~ main.c > Straggling __dead. Mark usage() as __dead and make gcc happier. (krw@) ~ fetch.c > Move a couple of variables that are unused in SMALL under #ifndef SMALL. > ok deraadt@ (krw@) getcap ~ getcap.c > In "%.*s" the * takes (int). gcc whines if you try to use the result > of pointer subtraction without a cast. So cast those expressions > to (int). > Switch one local variable to the same type as the parameter it is > compared to. > ok deraadt@ guenther@ beck@ (krw@) mandoc ~ mdoc_html.c > standardize .Bl and .It class attributes (schwarze@) ~ mdoc_html.c > standardize .Rs class attributes (schwarze@) ~ man_html.c ~ mdoc_html.c > Standardize class attributes for semantic macros. > Correct markup for .Va and iprove markup for .Dv, .Er, .Ev while here. > (schwarze@) openssl ~ ocsp.c > fix pledge for openssl ocsp - we will need tty to ask for a cert pw (beck@) ~ asn1pars.c ~ ca.c ~ certhash.c ~ crl.c ~ crl2p7.c ~ dgst.c ~ dh.c ~ dhparam.c ~ dsa.c ~ dsaparam.c ~ ec.c ~ ecparam.c ~ enc.c ~ gendh.c ~ gendsa.c ~ genpkey.c ~ genrsa.c ~ nseq.c ~ ocsp.c ~ openssl.c ~ passwd.c ~ pkcs12.c ~ pkcs7.c ~ pkcs8.c ~ pkey.c ~ pkeyparam.c ~ pkeyutl.c ~ rand.c ~ req.c ~ rsa.c ~ rsautl.c ~ s_client.c ~ s_server.c ~ s_time.c ~ sess_id.c ~ smime.c ~ spkac.c ~ ts.c ~ x509.c > rearrange pledge promises into the canonical order; easier to eyeball > (deraadt@) sed ~ compile.c ~ defs.h ~ extern.h ~ main.c ~ misc.c ~ process.c > Split error() into error() and warning() so error() can be marked __dead to > appease gcc. > ok procter@ deraadt@ (krw@) tmux ~ client.c > Print error rather than fatal() if tcgetattr() fails, which is much more > useful to user. (nicm@) vi ~ common/log.c > Nuke some excess whitespace. (krw@) == usr.sbin ========================================================== 11/11 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.sbin ldapctl ~ Makefile > Correctly list all libraries required. (deraadt@) ~ Makefile ~ ldapctl.c > work on making log.c similar in all daemons: > move daemon-local functions into new logmsg.c, and reduce > the (mostly whitespace) differences so that log.c's can be diffed easily. > ok krw@ jmatthew@ (benno@) ldapd ~ Makefile > Correctly list all libraries required. (deraadt@) ~ Makefile ~ attributes.c ~ auth.c ~ conn.c ~ control.c ~ filter.c ~ index.c ~ ldapd.c ~ ldapd.h ~ ldape.c ~ log.c ~ modify.c ~ namespace.c ~ parse.y ~ schema.c ~ search.c ~ util.c ~ validate.c + log.h + logmsg.c > work on making log.c similar in all daemons: > move daemon-local functions into new logmsg.c, and reduce > the (mostly whitespace) differences so that log.c's can be diffed easily. > ok krw@ jmatthew@ (benno@) ~ log.c > unbreak tree (benno@) ldpctl ~ Makefile > work on making log.c similar in all daemons: > move daemon-local functions into new logmsg.c, and reduce > the (mostly whitespace) differences so that log.c's can be diffed easily. > removal of log_rtmsg() aproved by claudio@ > ok claudio@ krw@ (benno@) ldpd ~ Makefile ~ kroute.c ~ lde.c ~ ldpd.c ~ ldpd.h ~ ldpe.c ~ log.c ~ log.h + logmsg.c > work on making log.c similar in all daemons: > move daemon-local functions into new logmsg.c, and reduce > the (mostly whitespace) differences so that log.c's can be diffed easily. > removal of log_rtmsg() aproved by claudio@ > ok claudio@ krw@ (benno@) ntpd ~ ntp.c > add logging messages to distinguish which safty check failed (phessler@) rarpd ~ rarpd.c > Split error() into error() and warn() so that error() can be marked > __dead and thus let gcc sleep at night. > ok tb@ beck@ (krw@) ~ rarpd.c > Oops. one "error(NONFATAL,..." got flipped to "error(...)" instead > of "warning(...)". > Spotted by & ok procter@ (krw@) rbootd ~ utils.c > In "%.*s" the * takes (int). gcc whines if you try to use the result > of pointer subtraction without a cast. So cast those expressions > to (int). > Switch one local variable to the same type as the parameter it is > compared to. > ok deraadt@ guenther@ beck@ (krw@) rpc.statd ~ statd.c > Mark functions that do not return as __dead to quiet gcc warnings. > ok beck@ (krw@) rtadvd ~ rtadvd.c ~ log.c ~ log.h > work on making log.c similar in all daemons: > reduce the (mostly whitespace) differences so that log.c's can be > diffed easily. > need to set verbose in main() when option -d is used. > ok florian@ (benno@) snmpd ~ mib.c > Because of pfsync this needs ip_ipsp.h. Missed in the pfsockaddr_union > cleanup. > Found by krw@ (claudio@) tcpdump ~ print-pfsync.c > Another ip_ipsp.h missing, found by krw@ (claudio@) ypldap ~ ldapclient.c ~ log.c ~ ypldap.c ~ ypldap.h + log.h > work on making log.c similar in all daemons: > reduce the (mostly whitespace) differences so that log.c's can be > diffed easily. disclaimer change ok henning@. > ok krw@ jmatthew@ (benno@) =============================================================================== _______________________________________________ odc mailing list [email protected] http://www.squish.net/mailman/listinfo/odc
