OpenBSD src changes summary for 2015-12-23 ==========================================
distrib/armv7 distrib/miniroot distrib/sets lib/libkeynote lib/libsndio lib/libsqlite3 lib/libssl regress/sys sbin/init sbin/mountd share/man sys/arch/amd64/stand/libsa sys/arch/sgi/localbus sys/ddb sys/dev/acpi sys/dev/usb sys/kern sys/net usr.bin/mandoc usr.bin/mg usr.bin/openssl usr.bin/sndiod usr.bin/sqlite3 usr.bin/telnet usr.bin/tmux usr.sbin/bgpctl usr.sbin/bgpd usr.sbin/rdate usr.sbin/sysmerge == distrib =========================================================== 01/08 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/distrib armv7 ~ ramdisk/install.md > Simplify things by using grep -q. > OK krw@, halex@, jsg@ (rpe@) miniroot ~ install.sub > Ensure the installer asks for IPv4 default route in case an interface has > been configured via dhcp and then again manually. > While there, remove 'dhcp' as valid answer for the default route qeustion. > It was a no-op and was handled the same way as 'none'. > tested and OK krw@ > makes sense halex@ (rpe@) ~ install.sub > Ensure the installer asks for the dns domain and nameserver in case an > interface has been configured via dhcp and then again manually. > tested and OK krw@ > makes sense halex@ (rpe@) ~ install.sub > Change comment style for headings so they get removed by list2sh.awk and > don't end up in bsd.rd. > OK krw@ (rpe@) ~ upgrade.sh > - spacing > - use brace expansion in for-loop > OK krw@ (rpe@) ~ install.sh > - quote user supplied hostname > - in this context ((NIFS)) does the same as ((NIFS != 0)) > - use if-block for root ssh key question > - spacing > OK krw@ (rpe@) ~ install.sh ~ install.sub > Move the code, that lists uninitialized disk into a separate function. > This makes the disk initialization question code easier to understand. > OK krw@ (rpe@) 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 > sync (deraadt@) == lib =============================================================== 02/08 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/lib libkeynote ~ environment.c > remove a few NULL-checks before free() (mmcc@) ~ signature.c > Remove NULL casts and tweak style in a few places. A more invasive > version of this diff was reviewed by tb@ (mmcc@) ~ signature.c > Remove the rest of the scaffolding for nonexistent ElGamal support, > which has been disabled for sixteen years. > ok millert@, tb@, sthen@ (mmcc@) ~ keynote-ver.l > remove two NULL casts (mmcc@) libsndio ~ aucat.c > remove NULL-checks before free() (mmcc@) libsqlite3 ~ VERSION ~ shlib_version ~ sqlite3.pc ~ ext/async/sqlite3async.c ~ ext/fts3/fts3.c ~ ext/fts3/fts3Int.h ~ ext/fts3/fts3_expr.c ~ ext/fts3/fts3_write.c ~ ext/misc/spellfix.c ~ ext/rtree/rtree1.test ~ src/alter.c ~ src/analyze.c ~ src/backup.c ~ src/btree.c ~ src/btree.h ~ src/btreeInt.h ~ src/build.c ~ src/ctime.c ~ src/date.c ~ src/dbstat.c ~ src/delete.c ~ src/expr.c ~ src/fkey.c ~ src/func.c ~ src/insert.c ~ src/lempar.c ~ src/loadext.c ~ src/main.c ~ src/malloc.c ~ src/mutex.c ~ src/mutex_unix.c ~ src/mutex_w32.c ~ src/os_unix.c ~ src/os_win.c ~ src/pager.c ~ src/pager.h ~ src/parse.y ~ src/pcache.c ~ src/pcache1.c ~ src/pragma.c ~ src/printf.c ~ src/resolve.c ~ src/select.c ~ src/sqlite.h.in ~ src/sqlite3.h ~ src/sqlite3ext.h ~ src/sqliteInt.h ~ src/test1.c ~ src/test_config.c ~ src/test_func.c ~ src/threads.c ~ src/tokenize.c ~ src/treeview.c ~ src/update.c ~ src/util.c ~ src/vdbe.c ~ src/vdbe.h ~ src/vdbeInt.h ~ src/vdbeapi.c ~ src/vdbeaux.c ~ src/vdbeblob.c ~ src/vdbemem.c ~ src/vtab.c ~ src/wal.c ~ src/walker.c ~ src/where.c ~ src/whereInt.h ~ src/wherecode.c ~ src/whereexpr.c ~ tool/build-all-msvc.bat ~ tool/fuzzershell.c ~ tool/lemon.c ~ tool/lempar.c ~ tool/mksqlite3c.tcl ~ tool/mksqlite3h.tcl ~ tool/mkvsix.tcl ~ tool/showdb.c ~ tool/spaceanal.tcl ~ tool/sqldiff.c ~ tool/tostr.awk > Update sqlite3 to 3.9.2. Bump major, regen .pc and header. Changes > available here: http://sqlite.org/changes.html > Tested in bulk by aja@. ok landry@ (jturner@) libssl ~ src/crypto/asn1/bio_asn1.c > assign pointer to NULL rather than 0 (mmcc@) ~ src/crypto/asn1/tasn_prn.c > assign pointer NULL rather than 0 (mmcc@) ~ src/crypto/asn1/asn_pack.c ~ src/crypto/bio/bss_bio.c ~ src/crypto/comp/c_zlib.c > remove NULL-checks before free() (mmcc@) == regress =========================================================== 03/08 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/regress sys ~ netinet/arp/README > Add my machines' configuration files as an example to the readme. > That should make it easier for others to set up the test. (bluhm@) == sbin ============================================================== 04/08 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sbin init ~ init.c > Use NULL rather than 0 for pointers. No binary change. (mmcc@) mountd ~ Makefile ~ mountd.c > Add privilege separation and pledge(). > A privileged (that is, unpledged) child is forked that makes the > "unpledgable" > getfh(2) and mount(2) calls. It also takes care of writing > /var/db/mountdtab so > that the parent does not have to pledge "cpath wpath". > This, then, allows the parent to pledge "stdio rpath inet dns". > Suggestions and OK deraadt@ (tim@) ~ mountd.c > Remove unnecessary SIGSYS/ENOSYS handling for getfh(2). > Encouragement from deraadt@ (tim@) == share ============================================================= 05/08 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/share man ~ man1/gcc-local.1 > We support PIE on static executables now. > ok pascal@ (bentley@) == sys =============================================================== 06/08 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sys arch/amd64/stand/libsa ~ softraid.c > Ooops. Wrong version of the diff committed, with reversed check for > MBR/GPT. > Problem found the hard way by Glenn Faustino on tech@ (krw@) arch/sgi/localbus ~ tcc.c > Execution of the `sync' instruction is not supported by the T-Bus and > raises a machine check exception. Do not report anything on console in > that case, so that userland does not suffer too much. > Diff from miod@ (visa@) ddb ~ db_command.c ~ db_sym.c > assign pointers NULL rather than 0 (mmcc@) dev/acpi ~ acpicpu.c > add aml_freevalue in a couple places, avoid storing a result that > would need to be freed in a couple other places > with deraadt (jcs@) dev/usb ~ dwc2/dwc2.c > Drop unused goto label. (visa@) kern ~ kern_sched.c > One "sbar" taskq is enough. > ok visa@ (kettenis@) ~ kern_pledge.c > If PLEDGE_AUDIO is set, allow audio(4) ioctls necessary > to use raw audio devices. > ok deraadt, semarie (ratchov@) ~ uipc_mbuf.c > revert previous: > ---------------------------------------------------------------------- > revision 1.961 > date: 2015/12/22 13:33:26; author: sashan; state: Exp; lines: +153 -44; > commitid: oBRhtWcDV0ThviVT; > - yet another tiny step towards MP PF. This time we need to make sure > statekey attached to packet stays around, while accepted packet is > routed through IP stack. > OK mpi@, henning@ > ---------------------------------------------------------------------- > there have been multiple reports of KASSERT(!pf_state_key_isvalid(sk)) > being > triggered without much effort, so back this out for now. (jasper@) ~ kern_pledge.c > pledge "audio" code block must be !SMALL_KERNEL (deraadt@) net ~ pf.c ~ pfvar.h > revert previous: > ---------------------------------------------------------------------- > revision 1.961 > date: 2015/12/22 13:33:26; author: sashan; state: Exp; lines: +153 -44; > commitid: oBRhtWcDV0ThviVT; > - yet another tiny step towards MP PF. This time we need to make sure > statekey attached to packet stays around, while accepted packet is > routed through IP stack. > OK mpi@, henning@ > ---------------------------------------------------------------------- > there have been multiple reports of KASSERT(!pf_state_key_isvalid(sk)) > being > triggered without much effort, so back this out for now. (jasper@) == usr.bin =========================================================== 07/08 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.bin mandoc ~ term_ps.c > remove NULL-checks before free() (mmcc@) mg ~ theo.c > Do undo. (lum@) openssl ~ s_server.c > remove NULL-check before free() (mmcc@) sndiod ~ fdpass.c > hide forgotten debug printfs (ratchov@) ~ sndiod.c > Call getpwname() earlier, and if it fails, return the proper > exit code, so that the failure gets reported by /etc/rc. (ratchov@) ~ sndiod.c > fix false-positive "uninitialized" gcc warning (ratchov@) ~ sndiod.c > Add pledge calls to both "helper" and "worker" processes. > ok deraadt, semarie (ratchov@) sqlite3 ~ shell.c > Update sqlite3 to 3.9.2. Bump major, regen .pc and header. Changes > available here: http://sqlite.org/changes.html > Tested in bulk by aja@. ok landry@ (jturner@) telnet ~ telnet.c > Add rpath to telnet's more restrictive pledge; otherwise if the server > requests > the client to send the next terminal-type (RFC-1091), the client tries to > read > terminfo files and is killed by pledge. Noticed when connecting to 4.3 BSD. > ok semarie@ tb@ (sthen@) tmux ~ cmd-switch-client.c > Repair switch-client -l and switch-client with a window target. (nicm@) == usr.sbin ========================================================== 08/08 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.sbin bgpctl ~ mrtparser.c > Remove NULL-checks before free(). I think I've almost scrubbed the > entire tree of these... (mmcc@) bgpd ~ pftable.c > Remove NULL-checks before free(). I think I've almost scrubbed the > entire tree of these... (mmcc@) rdate ~ rdate.c > expand message between processes to 2048 bytes. Andre Smagin found > a case where it can reach 637 bytes of output, so use almost 4x > (he suggested 1024) (deraadt@) sysmerge ~ sysmerge.sh > Tidy up output. (ajacoutot@) =============================================================================== _______________________________________________ odc mailing list [email protected] http://www.squish.net/mailman/listinfo/odc
