OpenBSD src changes summary for 2015-10-19 ==========================================
bin/ksh etc/Makefile etc/examples/ftpchroot etc/mtree/BSD.x11.dist lib/libc lib/libcrypto lib/libfuse lib/libssl libexec/ftpd regress/lib regress/usr.sbin sbin/iked sys/dev/pci sys/dev/usb sys/kern sys/netinet sys/netinet6 usr.bin/mandoc usr.bin/nice usr.sbin/eigrpd usr.sbin/inetd usr.sbin/installboot usr.sbin/radiusctl usr.sbin/radiusd usr.sbin/smtpd usr.sbin/snmpd == bin =============================================================== 01/09 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/bin ksh ~ alloc.c ~ c_ksh.c ~ c_sh.c ~ c_test.c ~ c_ulimit.c ~ edit.c ~ emacs.c ~ eval.c ~ exec.c ~ expr.c ~ history.c ~ io.c ~ jobs.c ~ lex.c ~ mail.c ~ main.c ~ misc.c ~ mknod.c ~ path.c ~ shf.c ~ var.c ~ vi.c > Apply style(9) to header includes. > ok nicm@ (mmcc@) ~ expr.c ~ jobs.c ~ misc.c ~ sh.h ~ shf.c ~ table.c ~ var.c > Move limits.h include from sh.h to the files that actually need it. No > binary change. > ok nicm@ (mmcc@) ~ main.c ~ sh.h > More removal of EXTERN. > ok nicm@ (mmcc@) ~ c_ksh.c ~ c_sh.c ~ c_test.c ~ c_ulimit.c ~ edit.c ~ emacs.c ~ eval.c ~ exec.c ~ expr.c ~ history.c ~ io.c ~ jobs.c ~ lex.c ~ mail.c ~ main.c ~ misc.c ~ mknod.c ~ path.c ~ sh.h ~ shf.c ~ syn.c ~ table.c ~ trap.c ~ tree.c ~ tty.c ~ var.c ~ vi.c > Move string.h include from sh.h to the files that use it. > ok nicm@ (mmcc@) ~ sh.h ~ table.c > Move stddef.h include from sh.h to the file that uses it. > ok nicm@ (mmcc@) ~ eval.c ~ misc.c ~ sh.h > Remove the define NOT, replace it with '!'. No binary change. > "The ^ is used in regular expressions and many versions of fnmatch(3) > accept both ! and ^. However, we are never going to accept ^ instead of > ! so I think this makes sense" -millert@ > "go for it" -nicm@ (mmcc@) ~ sh.h > A little style(9) for sh.h includes > ok nicm@ (mmcc@) == etc =============================================================== 02/09 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/etc Makefile ~ Makefile > Delete the empty example file "ftpchroot"; no example is needed. > Move the one useful bit of information contained in the file ("one > user name per line") to the ftpd(8) manual page where it belongs. > OK deraadt@ sthen@ (schwarze@) examples/ftpchroot - examples/ftpchroot > Delete the empty example file "ftpchroot"; no example is needed. > Move the one useful bit of information contained in the file ("one > user name per line") to the ftpd(8) manual page where it belongs. > OK deraadt@ sthen@ (schwarze@) mtree/BSD.x11.dist ~ mtree/BSD.x11.dist > Update etc/mtree/BSD.x11.dist (freetype-2.6.1) (dcoppa@) == lib =============================================================== 03/09 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/lib libc - sys/tame.c ~ Symbols.list ~ sys/Makefile.inc > Remove old tame() stub (deraadt@) libcrypto ~ crypto/Makefile > Stop supporing "legcay" time formats that OpenSSL supports. Rewrite the > utctime and gentime wrappers accordingly. Along with some other cleanup. > this also removes the need for timegm. > ok bcook@ sthen@ jsing@ (beck@) libfuse ~ fuse_opt.c > missing deref on char check. from David Binderman (tedu@) libssl - src/crypto/asn1/a_gentm.c - src/crypto/asn1/a_utctm.c ~ src/crypto/asn1/a_time.c ~ src/crypto/asn1/a_time_tm.c ~ src/crypto/asn1/asn1_locl.h ~ src/crypto/x509/x509_lcl.h ~ src/crypto/x509/x509_vfy.c > Stop supporing "legcay" time formats that OpenSSL supports. Rewrite the > utctime and gentime wrappers accordingly. Along with some other cleanup. > this also removes the need for timegm. > ok bcook@ sthen@ jsing@ (beck@) ~ src/ssl/ssl_lib.c > free rbio before wbio > ok jsing@ (beck@) == libexec =========================================================== 04/09 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/libexec ftpd ~ ftpd.8 > Delete the empty example file "ftpchroot"; no example is needed. > Move the one useful bit of information contained in the file ("one > user name per line") to the ftpd(8) manual page where it belongs. > OK deraadt@ sthen@ (schwarze@) == regress =========================================================== 05/09 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/regress lib ~ libcrypto/asn1/asn1time.c > Change regress to not believe legacy times are valid (beck@) usr.sbin ~ syslogd/Makefile ~ syslogd/README ~ syslogd/Syslogd.pm ~ syslogd/args-bufsize-native.pl ~ syslogd/args-bufsize-sendsyslog.pl ~ syslogd/args-bufsize-udp.pl ~ syslogd/args-bufsize-unix.pl ~ syslogd/args-client-tcp-close.pl ~ syslogd/args-client-tcp-error.pl ~ syslogd/args-client-tcp-maxline.pl ~ syslogd/args-client-tcp-multilines.pl ~ syslogd/args-client-tcp-nontransp-maxline.pl ~ syslogd/args-client-tcp-octet-maxline.pl ~ syslogd/args-client-tls-close.pl ~ syslogd/args-client-tls-error.pl ~ syslogd/args-client-tls-tcp.pl ~ syslogd/args-client-udp-nodns.pl ~ syslogd/args-client-udp.pl ~ syslogd/args-client-unix.pl ~ syslogd/args-default.pl ~ syslogd/args-dropped-sigterm-tcp.pl ~ syslogd/args-dropped-sigterm-tls.pl ~ syslogd/args-fdexhaustion-sighup.pl ~ syslogd/args-fdexhaustion-tcp.pl ~ syslogd/args-privsep-daemon.pl ~ syslogd/args-privsep-foreground.pl ~ syslogd/args-sigterm.pl ~ syslogd/args-tls-cafile-fake.pl ~ syslogd/funcs.pl + syslogd/args-ttymsg-wall.pl + syslogd/ttylog.c > Test syslogd logging to a tty which belongs to a user. This is > done with a utmp entry for a pty fake login. All messages are read > from the pty and written into a log file. (bluhm@) == sbin ============================================================== 06/09 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sbin iked ~ control.c > Fix control_imsg_forward() by changing imsg_compose() to > imsg_compose_event(). This was done by pyr@ in relayd/control.c > -r1.32 (2009/06/05, ok eric@) but somehow didn't slip into other > daemons that imported control.c. (reyk@) - ikev1.c ~ Makefile ~ ca.c ~ config.c ~ control.c ~ iked.c ~ iked.h ~ ikev2.c ~ ikev2_msg.c ~ types.h > Remove the ikev1 stub - Since I started iked, it has an empty privsep > process for ISAKMP+IKEv1. I kept it to let somebody either contribute > the old protocol one day, I never intended to implement IKEv1 myself, > or to add a new kind of pipe to isakmpd to hand off IKEv1 messages. > As IKEv2 is widely supported by all major OS and networking vendors > now, I'm happy to scrap the idea of supporting ISAKMP+IKEv1. It is > still possible to use isakmpd for legacy VPNs. > OK mikeb@ (reyk@) ~ iked.conf.5 > break long lines in examples; ok jmc@ (naddy@) == sys =============================================================== 07/09 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sys dev/pci ~ if_bge.c ~ if_bgereg.h > Move bge rxeof and txeof outside the kernel lock. > To make rxeof safe, use a separate ring refill timeout for each ring. > We activate the refill timeout for a ring when it's too empty to receive > packets, which ensures we won't attempt to refill it from interrupt > context. > To make txeof safe, remove the list of dma maps and just allocate maps > based on > the ring slots occupied by the packet, and use atomic operations to adjust > bge_txcnt. Rework some parts of the txeof and start loops so that we only > adjust bge_txcnt after exiting the loop, and only take actions such as > setting > or clearing OACTIVE based on the final value. > tested on 5703, 5714, 5721 by me, 5753 by semarie@, 5761 by naddy@, and > also in snapshots for a while > ok mpi@, dlg@ (jmatthew@) ~ ppb.c > Properly restore the prefetchable memory window upon resume. > ok deraadt@ (kettenis@) ~ drm/i915/i915_gem.c > Enable some code that does power management magic. (kettenis@) dev/usb ~ ugen.c > Revert transfer submission to r1.85. Seems to make okan@'s scanner > work properly. (mpi@) kern ~ kern_pledge.c > Print vnode type for sendfd/recvfd not file type, ok semarie (nicm@) ~ kern_pledge.c > Allow setpriority in "proc" as well, since a few shells have "nice" > builtin. make a note that setpriority() should be weakened, unless "id" > is also present. > pointed out by Theo Buehler (deraadt@) netinet ~ in_pcb.c > deduplicate in[6]_pcbbind() port scan loop. > ok mpi@ (vgross@) ~ ip_input.c > Remove superfluous NULL checks. > ifa are refcounted to ensure that rt_ifa is always valid. (mpi@) ~ ip_icmp.c > Sync rtisvalid(9) check for local route entries with r1.257 of > net/ip_input.c (mpi@) ~ in_pcb.c ~ ip_icmp.c ~ ip_output.c > Stop checking for RTF_UP directly, call rtisvalid(9) instead. > While here add a missing ``rtableid'' check in in_selectsrc(). > ok bluhm@ (mpi@) netinet6 ~ in6_pcb.c > deduplicate in[6]_pcbbind() port scan loop. > ok mpi@ (vgross@) ~ frag6.c > Remove superfluous NULL checks. > ifa are refcounted to ensure that rt_ifa is always valid. (mpi@) ~ icmp6.c ~ in6_pcb.c ~ in6_src.c ~ ip6_forward.c ~ ip6_input.c ~ ip6_output.c ~ raw_ip6.c ~ udp6_output.c > Stop checking for RTF_UP directly, call rtisvalid(9) instead. > While here add two missing ``rtableid'' checks in in6_selectsrc(). > ok bluhm@ (mpi@) == usr.bin =========================================================== 08/09 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.bin mandoc ~ mandoc_ohash.c > including <ohash.h> requires including <stdint.h> beforehand; > noticed by Svyatoslav Mishyn <juef at openmailbox dot org> (schwarze@) ~ main.c > Simplify, no functional change: > Delete the outmdoc, outman, and outfree function pointers. (schwarze@) ~ mdoc_validate.c > style cleanup, no functional change (schwarze@) nice ~ nice.c > pledge "stdio exec proc" early on, setpriority, then pledge "stdio exec" > from Theo Buehler (deraadt@) == usr.sbin ========================================================== 09/09 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.sbin eigrpd ~ parse.y > fix memory leaks in error paths > ok renato@ (jsg@) inetd ~ inetd.c > Add err.h, missing after pledge() introduction. (jca@) ~ inetd.c > optarg and optind are declared by unistd.h (jca@) installboot ~ util.c > Nuke unused variable. (krw@) ~ bootstrap.c > LABELSECTOR is a DEV_BSIZE quantity. So multiply by DEV_BSIZE and not > d_secsize when calculating disklabel location. > ok jsing@ (krw@) ~ i386_nlist.c > Add parenthesis gcc wants and remove defined but unused label gcc > complains about. > ok deraadt@ on parethesis (krw@) radiusctl ~ radiusctl.c > Add pledge(2) for radiusctl(8) and radiusd(8). > - radiusd: "stdio inet" > - radiusd_radius: "stdio inet" > - radiusd_bsdauth: > - "stdio proc" for the non-priviledged process > - "stdio getpw rpath proc exec" for the priviledged process > - radiusctl: "stdio dns inet" > "go ahead" deraadt (yasuoka@) radiusd ~ radiusd.c > Can't assert "module->fd >= 0" in radiusd_stop() since the module may > be closed already when error. (yasuoka@) ~ radiusd_module.c > Call tzset() before dropping the priviledge to use correct timezone. > (yasuoka@) ~ radiusd_bsdauth.c > Avoid a NULL dereference when getgrnam_r() returns NULL for `result'. > (yasuoka@) ~ radiusd_module.c > Remove a duplicated '#include <stdio.h>' line. (yasuoka@) ~ radiusd.c ~ radiusd_bsdauth.c ~ radiusd_radius.c > Add pledge(2) for radiusctl(8) and radiusd(8). > - radiusd: "stdio inet" > - radiusd_radius: "stdio inet" > - radiusd_bsdauth: > - "stdio proc" for the non-priviledged process > - "stdio getpw rpath proc exec" for the priviledged process > - radiusctl: "stdio dns inet" > "go ahead" deraadt (yasuoka@) smtpd ~ delivery_lmtp.c > Kill whitespace at eol. > Ok gilles@ (sunil@) snmpd ~ control.c > Print control socket client fd in debug message to differentiate between > control connections. Helps to debug problems. (reyk@) ~ control.c > Fix control_imsg_forward() by changing imsg_compose() to > imsg_compose_event(). This was done by pyr@'s in relayd/control.c > -r1.32 (2009/06/05, ok eric@) but somehow didn't slip into other > daemons that imported control.c. (reyk@) =============================================================================== _______________________________________________ odc mailing list [email protected] http://www.squish.net/mailman/listinfo/odc
