OpenBSD src changes summary for 2016-10-20 ==========================================
lib/libc libexec/spamd regress/sys sbin/bioctl sbin/mknod sbin/ping share/zoneinfo sys/net usr.bin/mandoc usr.bin/sndiod usr.sbin/switchctl usr.sbin/switchd usr.sbin/traceroute usr.sbin/vmd == lib =============================================================== 01/08 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/lib libc ~ stdlib/malloc.c > Also place canaries in > page sized objects (if C is in effect); ok tb@ > (otto@) ~ stdlib/malloc.3 > canary corruption message changed a bit (otto@) ~ stdlib/malloc.3 > avoid sentence splicing; (jmc@) ~ stdlib/malloc.c > backout for now; flag combination GC is not ok (otto@) == libexec =========================================================== 02/08 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/libexec spamd ~ grey.c ~ sync.c > - Remove useless var assignment > - Use memset(*b, 0, len) instead of bzero(*b, len) > - Use memcpy(*dst, *src, len) instead of bcopy(*src, *dst, len) > - Use explicit_bzero(3) instead of bzero(3) to clean temporary HMAC > Remarks from deraadt@ (duly noted!!), reviewed and OK by henning@ and tb@ > (mestre@) == regress =========================================================== 03/08 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/regress sys ~ net/pf_state/Makefile ~ net/pf_state/challenge_ack.py > Make the test faster. Move all the packet matching code into the > pcap filter. That means the first packet sniffed is the correct > one. In the success case, we can stop without waiting for a timeout. > OK sashan@ (bluhm@) ~ net/pf_forward/ping6_mtu.py > Replace fork() and sleep() with a Python thread for sniffing packets. > This reduces test execution time from 1m20.34s to 0m37.32s. (bluhm@) ~ net/pf_fragment/frag.py ~ net/pf_fragment/frag6.py ~ net/pf_fragment/frag6_cutnew.py ~ net/pf_fragment/frag6_cutold.py ~ net/pf_fragment/frag6_dropnew.py ~ net/pf_fragment/frag6_dropold.py ~ net/pf_fragment/frag6_ext.py ~ net/pf_fragment/frag_cutnew.py ~ net/pf_fragment/frag_cutold.py ~ net/pf_fragment/frag_dropnew.py ~ net/pf_fragment/frag_dropold.py ~ net/pf_fragment/ping6_mtu_1300.py > Replace fork() and sleep() with a Python thread for sniffing packets. > This reduces test execution time from 2m21.95s to 1m09.80s. (bluhm@) ~ net/pf_forward/ping6_mtu.py ~ net/pf_fragment/frag.py ~ net/pf_fragment/frag6.py ~ net/pf_fragment/frag6_cutnew.py ~ net/pf_fragment/frag6_cutold.py ~ net/pf_fragment/frag6_dropnew.py ~ net/pf_fragment/frag6_dropold.py ~ net/pf_fragment/frag6_ext.py ~ net/pf_fragment/frag_cutnew.py ~ net/pf_fragment/frag_cutold.py ~ net/pf_fragment/frag_dropnew.py ~ net/pf_fragment/frag_dropold.py ~ net/pf_fragment/ping6_mtu_1300.py ~ net/pf_state/challenge_ack.py > By removing all the sleeps I created a race in the pf tests. The > packet was sent and its reply received before the sniffer was up > and running. So sleep a second after starting the sniffer thread > but before sending the packet. With pf_forward 0m51.54s, pf_fragment > 1m33.59s, pf_state 0m03.64s the test are still faster than with > forking. (bluhm@) ~ net/pf_forward/ping6_mtu.py ~ net/pf_forward/ping_mtu.py ~ net/pf_fragment/ping6_mtu_1300.py ~ net/pf_fragment/ping_mtu_1300.py > During sniffing filter strictly on icmp6 "packet too big" to avoid > that "neighbor discovery" confuses the test. (bluhm@) == sbin ============================================================== 04/08 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sbin bioctl ~ bioctl.c > optarg is declared in unistd.h and usage is __dead. From Jan Stary. > ok natano (tb@) mknod ~ mknod.c > delete useless call to setlocale(3); > patch from Jan Stary <hans at stare dot cz>; > OK millert@ natano@ (schwarze@) ping ~ ping.c > Only drop to _ping user if invoked as root. If invoked as an > unprivileged user just shed the setuid privs as previously. > sthen@ pointed out that you cannot kill(2) your own ping. > With this we rely on pledge(2) for unprivileged users. > OK sthen@, deraadt@ is happy with the middle ground (florian@) == share ============================================================= 05/08 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/share zoneinfo ~ datfiles/asia ~ datfiles/australasia ~ datfiles/europe ~ datfiles/northamerica > Update to tzdata2016h from from ftp.iana.org. (millert@) == sys =============================================================== 06/08 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sys net ~ pf.c > - PF should send a challenge ACK as response to SYN, which matches existing > state. Extra thanks goes to bluhm@ for careful testing and fixing patch > I've > sent to tech@ > O.K. henning@ bluhm@ (sashan@) == usr.bin =========================================================== 07/08 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.bin mandoc ~ dbm_map.c > st_size is off_t, which is signed, so use %lld rather than %llu; > noticed by Ed Maste when compiling on FreeBSD (schwarze@) ~ mandocdb.c > 0x%llu is a bad idea, make that 0x%llx; > noticed while investigating a report from Ed Maste (schwarze@) sndiod ~ dsp.c ~ dsp.h > remove unused variables (ratchov@) ~ sndiod.c > Move initialization of the helper process in its own routine to make > code more readable. No bahavior change. (ratchov@) == usr.sbin ========================================================== 08/08 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.sbin switchctl ~ switchctl.8 > spread the Xr! as a bonus, typo fix in switchd.conf.5 too; > Xr diff from kapetanakis giannis (jmc@) switchd ~ switchd.8 ~ switchd.conf.5 > spread the Xr! as a bonus, typo fix in switchd.conf.5 too; > Xr diff from kapetanakis giannis (jmc@) traceroute ~ traceroute.8 > try to make DESCRIPTION read like it was written for one program, not two; > ok florian (jmc@) ~ traceroute.8 > some macro fixes for the options list; (jmc@) vmd ~ vm.conf.5 > some readability fixes for the SWITCH CONFIGURATION section, > from edd barrett; > while here, there seems to be three sections to the config file, not two; > (jmc@) =============================================================================== _______________________________________________ odc mailing list [email protected] http://www.squish.net/mailman/listinfo/odc
