OpenBSD src changes summary for 2015-11-21 ==========================================
bin/ksh distrib/sets games/monop games/worm games/worms lib/libc lib/libcrypto libexec/rpc.yppasswdd libexec/talkd sbin/dump sbin/fdisk sbin/iked sbin/newfs sbin/restore share/man share/termtypes sys/arch/amd64/amd64 sys/arch/octeon/dev sys/arch/sgi/hpc sys/dev/pci sys/kern sys/net sys/netinet sys/netinet6 sys/sys usr.bin/calendar usr.bin/less usr.bin/lex usr.bin/locate usr.bin/openssl usr.bin/tail usr.sbin/httpd usr.sbin/nsd usr.sbin/pcidump usr.sbin/relayctl usr.sbin/relayd usr.sbin/snmpd usr.sbin/ypserv == bin =============================================================== 01/10 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/bin ksh ~ ksh.1 > "one" -> "one or more" (mmcc@) == distrib =========================================================== 02/10 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/distrib sets ~ lists/base/mi ~ lists/comp/mi ~ lists/man/mi > sync (deraadt@) ~ lists/comp/mi ~ lists/man/mi > sync (deraadt@) == games ============================================================= 03/10 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/games monop ~ monop.c > pledge "stdio rpath wpath cpath" > from Ricardo Mestre (deraadt@) worm ~ worm.c > pledge the wyrms (deraadt@) worms ~ worms.c > pledge the wyrms (deraadt@) == lib =============================================================== 04/10 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/lib libc ~ net/getifaddrs.3 ~ net/if_indextoname.3 > point to netintro(4) rather than (now removed) networking(4); (jmc@) libcrypto ~ man/Makefile > Partial revert of revision 1.26: > Do *not* install the CMS_* manuals for now given that the code is > currently disabled. Cluestick applied by jsing@. (schwarze@) == libexec =========================================================== 05/10 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/libexec rpc.yppasswdd ~ Makefile > zap the yppasswdd mlink, at ingo's behest (its original purpose being, > obviously, to provide a drunk spell test); (jmc@) talkd ~ Makefile > remove mlinks for aliases: ntalkd, mfs, updatedb > ok schwarze (jmc@) == sbin ============================================================== 06/10 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sbin dump ~ dump.8 > add missing NAME entries; ok schwarze (jmc@) fdisk ~ cmd.c > Nuke long standing annoyance of EDIT() macros and switch both Xedit() > and Xgedit() to a new mechanism. Keep a copy of the old partition > and compare final edited version to that to decide if it is dirty. > Fixes a number of (but not all!) nits in editing partitions. > Original problem(s) noted by, suggestions from, much testing and > ok tim@ (krw@) ~ cmd.c ~ misc.c ~ misc.h > Bring GPT partition editing into line with MBR partition editing > by presenting the existing offset and size as the defaults. Enhance > getuint64() to take a minimum value as ask_num() does. Use this to > ensure that GPT partitions are constrained to the valid area of the > disk. Leave MBR partition constraints alone for the moment. > Original problem(s) noted by tim@ (krw@) iked ~ iked.h ~ log.c ~ util.c > Move local logging functions to util.c (which is shared with ikectl), > sync log.c with relayd and httpd - all three daemons are using a copy > of the same file now. Nevertheless, adding "extern int debug/verbose" > in util.c is not super nice but helps for now. No functional change. > (reyk@) ~ log.c > Once again, fix the license text. After many years, we just cannot > get rid of the "LOSS OF MIND" joke. Haha. We keep on removing it and > it shows up again because it accidentally gets synced from somewhere > else. bgpd and ospfd don't have it anymore, but their offsprings > still carry it. If you see it, remove it, and, in the OpenBSD ISC > case, use the original text from /usr/share/misc/license.template. > All authors agree. (reyk@) newfs ~ Makefile > remove mlinks for aliases: ntalkd, mfs, updatedb > ok schwarze (jmc@) restore ~ restore.8 > add missing NAME entries; ok schwarze (jmc@) == share ============================================================= 07/10 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/share man ~ man9/Makefile ~ man9/ml_init.9 > provide MBUF_LIST_FIRST and MBUF_LIST_NEXT for iterating over an mbuf_list. > MBUF_LIST_FOREACH is then rewritten on top of those. > this makes it easier to get at the head of a list too, which may make > the hfsc ifq backend nicer. > based on a discussion with kenjiro cho > ok mpi@ (dlg@) ~ man4/Makefile > zap mlinks for advansys(4), pnp(4), and networking(4), all of which > are aliases rather than actual things; > ok schwarze (jmc@) ~ man4/drm.4 ~ man4/pcmcia.4 ~ man4/pty.4 ~ man4/speaker.4 ~ man4/usb.4 ~ man4/man4.alpha/mcbus.4 ~ man4/man4.alpha/tsc.4 ~ man4/man4.sgi/macebus.4 ~ man4/man4.sgi/xbridge.4 ~ man4/man4.sparc/clock.4 ~ man4/man4.sparc/fga.4 ~ man4/man4.sparc/le.4 ~ man4/man4.sparc/pninek.4 ~ man4/man4.sparc/zs.4 ~ man4/man4.sparc64/beeper.4 ~ man4/man4.sparc64/clock.4 ~ man4/man4.sparc64/le.4 ~ man4/man4.sparc64/sab.4 ~ man4/man4.sparc64/vcc.4 ~ man4/man4.sparc64/vds.4 ~ man4/man4.sparc64/vldc.4 ~ man4/man4.sparc64/zs.4 > fix NAME; ok schwarze (jmc@) ~ man9/Makefile ~ man9/ml_init.9 ~ man9/mq_init.9 > Retire ml_requeue(9) and mq_requeue(9). > As Kenjiro Cho pointed out it is very hard to cancel a dequeue operation > for some queueing disciplines when such it keeps some internal states. > As you can see, APIs can also Live Fast & Die Young. > ok dlg@ (mpi@) ~ man4/scsi.4 > after some discussion with dlg and schwarze, add scsibus to NAME; > ok schwarze (jmc@) ~ man9/ml_init.9 > previous chopped off too much; (jmc@) ~ man8/rc.8 > add missing NAME entries; ok schwarze (jmc@) termtypes ~ Makefile > Install terminfo files into /usr/share/terminfo (as well as > /usr/share/misc/terminfo.db for the moment). ok millert (nicm@) == sys =============================================================== 08/10 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sys arch/amd64/amd64 ~ vmm.c > Do not use boolean_t outside of /sys/uvm > ok mlarkin@ (mpi@) ~ vmm.c > Do not create a VM if vmm mode hasn't been enable. > Currently one MUST do "vmmctl -e" before creating a vm with "vmm -S ...". > Lately this could be done automagically by vmd(8) but the kernel should > not allow things that wont fly. > While here, disable vmm mode in error path if at least one of the CPUs > failed to enable it. > ok mlarkin@ (mpi@) ~ vmm.c > Prevent disabling vmm mode if a VM is still running. > Return EAGAIN in this case: > # vmmctl -d > vmmctl: disable VMM command failed (35) - Resource temporarily unavailable > ok mlarkin@ (mpi@) arch/octeon/dev ~ if_cnmac.c > Drop sysctl leftovers. (visa@) arch/sgi/hpc ~ if_sq.c > error: too many arguments to function 'ifq_deq_begin' > found by deraadt@ (dlg@) dev/pci ~ sdhc_pci.c > Make this work with 64-bit memory BARs such as those found on the new > pcengines APU. > ok deraadt@ (kettenis@) ~ drm/drmP.h ~ drm/drm_drv.c > The drm irq stuff isn't actually used on OpenBSD. Using the PCI device > interrupt line register as the irq number doesn't really work as the > contents > of that register might be 0, and the code has checks for non-zero irq > numbers in places. Insteadmake drm_dev_to_irq() return -1, which is an > obviously bogus, but non-zero value. > This should fix inteldrm(4) on recent Apple hardware. (kettenis@) kern ~ uipc_syscalls.c > remove completely pledge_socket() from listen(2) and accept(2). > with pledge_socket(p, -1, state) we only check for "dns" promise against > SS_DNS > socket. But it isn't possible to pass a SS_DNS socket to listen(2) or > accept(2) > (EINVAL). So this deeper check is a bit useless... > ok deraadt@ (semarie@) ~ uipc_mbuf.c > Retire ml_requeue(9) and mq_requeue(9). > As Kenjiro Cho pointed out it is very hard to cancel a dequeue operation > for some queueing disciplines when such it keeps some internal states. > As you can see, APIs can also Live Fast & Die Young. > ok dlg@ (mpi@) net ~ hfsc.c ~ if.c ~ if_var.h > simplify ifq_deq_rollback by only having it unlock. > hfsc needed a rollback ifqop to requeue the mbuf because it used > ml_dequeue in the begin op. now it uses MBUF_LIST_FIRST to get a > ref to the first mbuf in deq_begin. > now the disciplines dont need a rollback op, so ifq_deq_rollback > can be simplified to just releasing the mutex. > based on a discussion with kenjiro cho (dlg@) ~ if_trunk.c > dont check IFF_OACTIVE to see if the port is busy. > dont check if its busy at all, actually. > fine with reyk@ (dlg@) ~ pf.c > Add a comment after every #endif > requested by sashan@ (mpi@) netinet ~ ip_icmp.c > Use if_get() rather than dereferencing rt_ifp directly. > Inputs from and ok florian@, ok sthen@, visa@, sashan@ (mpi@) netinet6 ~ icmp6.c > Use if_get() rather than dereferencing rt_ifp directly. > ok sthen@, visa@, sashan@, florian@ (mpi@) sys ~ mbuf.h > provide MBUF_LIST_FIRST and MBUF_LIST_NEXT for iterating over an mbuf_list. > MBUF_LIST_FOREACH is then rewritten on top of those. > this makes it easier to get at the head of a list too, which may make > the hfsc ifq backend nicer. > based on a discussion with kenjiro cho > ok mpi@ (dlg@) ~ videoio.h > Add V4L2_FMT_FLAG_EMULATED (feinerer@) ~ mbuf.h > Retire ml_requeue(9) and mq_requeue(9). > As Kenjiro Cho pointed out it is very hard to cancel a dequeue operation > for some queueing disciplines when such it keeps some internal states. > As you can see, APIs can also Live Fast & Die Young. > ok dlg@ (mpi@) == usr.bin =========================================================== 09/10 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.bin calendar ~ calendar.c > add "getpw" promise to calendar(1) (in doall case only) > used with -a in order to iterate on all users using getpwent(3). > ok matthieu@ pascal@ (semarie@) less ~ funcs.h ~ pattern.c ~ search.c > remove fancy null check function in favor of checking for null. > from Ricardo Mestre (tedu@) lex ~ flex.skl > change type of yy_size_t back to int for now. we have some prebuilt > lexers under gnu/ that define it this way, leading to badness. > fuller assessment and repairs probably forthmcoming. > discovered by deraadt on BE64 architectures (sparc64). > ok deraadt (tedu@) locate ~ locate/Makefile > remove mlinks for aliases: ntalkd, mfs, updatedb > ok schwarze (jmc@) openssl ~ openssl.c ~ s_client.c > Unbreak s_client, which should be allowed by pledge(2) to do DNS requests. > From todd@ (jca@) ~ openssl.c ~ s_client.c > In pledge(), put "dns" right after "inet". (jca@) tail ~ forward.c > better fixes for running tail without -f. from Martijn van Duren (tedu@) == usr.sbin ========================================================== 10/10 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.sbin httpd ~ httpd.c ~ httpd.h ~ log.c > Move local logging functions into httpd.c, and sync log.c with relayd - > both daemons are now sharing the same file. No functional changes. (reyk@) ~ log.c > Once again, fix the license text. After many years, we just cannot > get rid of the "LOSS OF MIND" joke. Haha. We keep on removing it and > it shows up again because it accidentally gets synced from somewhere > else. bgpd and ospfd don't have it anymore, but their offsprings > still carry it. If you see it, remove it, and, in the OpenBSD ISC > case, use the original text from /usr/share/misc/license.template. > All authors agree. (reyk@) nsd ~ nsd.c ~ server.c > pledge for nsd. > The main process handles zone transfers (inet, dns), writing and > creating of zone files (wpath, cpath) and starting of child > processes (proc). > Child processes answer queries from the internet. > "Looks good" to deraadt@ (florian@) pcidump ~ pcidump.c > Print PCI power state when the -v option is given. > ok deraadt@, mpi@ (kettenis@) relayctl ~ Makefile > Move local logging functions from log.c to new file util.c (that is > also shared with relayctl). This allows us to unify common log.c with > other daemons. It also clarifies the Copyright: log.c is by Henning, > relayd's additions were from me. No functional or code changes, but > it will make future updates easier. (reyk@) relayd ~ Makefile ~ log.c ~ relayd.h + util.c > Move local logging functions from log.c to new file util.c (that is > also shared with relayctl). This allows us to unify common log.c with > other daemons. It also clarifies the Copyright: log.c is by Henning, > relayd's additions were from me. No functional or code changes, but > it will make future updates easier. (reyk@) ~ log.c > Once again, fix the license text. After many years, we just cannot > get rid of the "LOSS OF MIND" joke. Haha. We keep on removing it and > it shows up again because it accidentally gets synced from somewhere > else. bgpd and ospfd don't have it anymore, but their offsprings > still carry it. If you see it, remove it, and, in the OpenBSD ISC > case, use the original text from /usr/share/misc/license.template. > All authors agree. (reyk@) snmpd ~ log.c ~ snmpd.h ~ util.c > Move local logging functions to util.c and copy log.c from iked. Now > a copy of the same log.c file is shared by relayd, httpd, iked, and > snmpd. No functional changes. (reyk@) ~ control.c ~ trap.c > While here, fix two size format string warnings. (reyk@) ~ log.c > Once again, fix the license text. After many years, we just cannot > get rid of the "LOSS OF MIND" joke. Haha. We keep on removing it and > it shows up again because it accidentally gets synced from somewhere > else. bgpd and ospfd don't have it anymore, but their offsprings > still carry it. If you see it, remove it, and, in the OpenBSD ISC > case, use the original text from /usr/share/misc/license.template. > All authors agree. (reyk@) ypserv ~ ypxfr/ypxfr.8 > add missing NAME entries; ok schwarze (jmc@) =============================================================================== _______________________________________________ odc mailing list [email protected] http://www.squish.net/mailman/listinfo/odc
