OpenBSD src changes summary for 2016-01-15 ==========================================
bin/ksh distrib/sets distrib/special sbin/pdisk share/man sys/arch/amd64/conf sys/arch/armish/conf sys/arch/sh/include sys/arch/sh/sh sys/ddb sys/dev/acpi sys/dev/ic sys/dev/pci sys/dev/pv sys/kern sys/net usr.bin/less usr.bin/rpcgen usr.bin/tmux usr.sbin/eigrpctl usr.sbin/eigrpd usr.sbin/installboot usr.sbin/tcpdump == bin =============================================================== 01/07 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/bin ksh ~ c_ksh.c > Initialize a struct kill_info and an associated int in the declarations > instead of scattering their initialization through the body. This makes > the body simpler and avoids an uninitialized use false positive. > ok nicm@ (mmcc@) == distrib =========================================================== 02/07 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/distrib sets ~ lists/base/mi > sync (deraadt@) special ~ pdisk/Makefile > Replace bitfield_get() and bitfield_set() abstraction with simple masking > operations since all the uses but 1 are for 1 bit fields. No functional > change intended. > Unhook bitfield.c from build. (krw@) == sbin ============================================================== 03/07 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sbin pdisk ~ Makefile ~ dpme.h ~ dump.c ~ partition_map.c > Replace bitfield_get() and bitfield_set() abstraction with simple masking > operations since all the uses but 1 are for 1 bit fields. No functional > change intended. > Unhook bitfield.c from build. (krw@) - bitfield.c - bitfield.h > Two more for the attic. (krw@) ~ dump.c ~ partition_map.c ~ partition_map.h ~ pdisk.c ~ validate.c > We don't need yet another alias for DEV_BSIZE. Use DEV_BSIZE and > nuke PBLOCK_SIZE and another unused #define. (krw@) ~ file_media.c > As with compute_device_size(), gut compute_block_size() and simply > ask the disklabel as everyone else does. Add file name to > compute_block_size() parameters to make error messages nicer. (krw@) == share ============================================================= 04/07 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/share man ~ man4/ddb.4 > document "show socket". > jmc@ was super keen for this. (dlg@) ~ man4/xnf.4 > All emulated networking interfaces are taken over by xnf(4) now > This follows the best practice and was brought to our attention by > Wei Liu <wei ! liu2 at citrix ! com>, thanks! Implementation idea > from reyk@. (mikeb@) ~ man4/iwm.4 ~ man4/iwn.4 > add missing HISTORY section to iwm and iwn man pages; ok jmc (tj@) ~ man4/puc.4 > Moxa CP-168U support; from Olaf Schreck (deraadt@) ~ man4/xnf.4 > add missing article; (jmc@) == sys =============================================================== 05/07 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sys arch/amd64/conf ~ RAMDISK_CD > enable sdhc@acpi so emmc will be available at install time > ok kettenis@ (jsg@) arch/armish/conf ~ files.armish > Move files.hid above files.i2c to fix armish build (tobiasu@) arch/sh/include ~ intr.h > intr_barrier for sh/landisk; tobiasu noticed the need as well (deraadt@) arch/sh/sh ~ interrupt.c > intr_barrier for sh/landisk; tobiasu noticed the need as well (deraadt@) ddb ~ db_command.c ~ db_interface.h > add a "show socket" command to ddb > should help inspecting socket issues in the future. > enthusiasm from mpi@ bluhm@ deraadt@ (dlg@) dev/acpi ~ dwiic.c > Check _STA method to see whether te device is actually present. If not, > make > the match function return 0 to prevent the driver from attaching. > (kettenis@) ~ dwiic.c > In dwiic_acpi_foundhid() treat _STA missing as if all the bits > were set as per the acpi spec. > ok kettenis@ (jsg@) dev/ic ~ nvme.c > wrap up dma syncs for the whole mapping. (dlg@) ~ nvme.c ~ nvmereg.h > handle the version register like ahci. (dlg@) ~ nvmereg.h > fix calculation of the max queue entries supported value (dlg@) ~ nvme.c > feng shui. > dont need a billion tabs for the function prototypes. just some > akward line wrappings. (dlg@) ~ nvme.c > when enabling the controller, wait till CSTS.RDY lights up. (dlg@) dev/pci ~ xspd.c > Detach emulated network devices if Netfront driver is enabled > Xen doesn't provide a way for a guest to decide which model of > the interface is selected in the VM configuration and therefore > there's no simple way for Netfront and emulated devices to co- > exist on the same system. Emulated em(4) or re(4) drivers will > take over if xnf(4) driver is disabled or not compiled in. > Idea and OK reyk (mikeb@) ~ pcidevs > Moxa CP-168U, from Olaf Schreck (deraadt@) ~ pcidevs.h ~ pcidevs_data.h > sync (deraadt@) ~ pucdata.c > Moxa CP-168U support; from Olaf Schreck (deraadt@) dev/pv ~ if_xnf.c ~ xen.c ~ xenvar.h > Detach emulated network devices if Netfront driver is enabled > Xen doesn't provide a way for a guest to decide which model of > the interface is selected in the VM configuration and therefore > there's no simple way for Netfront and emulated devices to co- > exist on the same system. Emulated em(4) or re(4) drivers will > take over if xnf(4) driver is disabled or not compiled in. > Idea and OK reyk (mikeb@) ~ xen.c ~ xenstore.c ~ xenvar.h > Cleanup dmesg output, disable debugging; prodding and suggestions from > reyk@ (mikeb@) kern ~ subr_pool.c ~ uipc_socket.c > add a "show socket" command to ddb > should help inspecting socket issues in the future. > enthusiasm from mpi@ bluhm@ deraadt@ (dlg@) ~ uipc_socket.c > print TAILQ_NEXT(so, so_qe) too (dlg@) ~ kern_synch.c > KASSERT on refcnt underflow. > ok mpi@ bluhm@ (dlg@) ~ uipc_socket.c > Improve the socket panic messages further. claudio@ wants to see > the socket type and dlg@ is interested in the pointers for ddb show > socket. > OK deraadt@ dlg@ (bluhm@) ~ sys_pipe.c > Convert to uiomove(); from Martin Natano > ok millert@ (stefan@) net ~ pf_ruleset.c > rs_malloc() does not need to be cast (mmcc@) == usr.bin =========================================================== 06/07 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.bin less ~ less.h > Use quotes rather than angle brackets for local header. Fixes building > with Clang 3.7. > ok millert@ (mmcc@) ~ funcs.h > remove needless extern keywords, a vestige of pre-ANSI C > explained by and ok millert@ (mmcc@) rpcgen ~ rpc_parse.c ~ rpc_scan.c ~ rpc_scan.h > Add support for parsing 'hyper' and 'quad' types, as per RFC4506. > From FreeBSD > ok millert@ (jasper@) tmux ~ input.c ~ tmux.h > A couple of missing printflike attributes, from Andrey Starodubtsev. > (nicm@) ~ environ.c > Clear the environment properly by looping until it is empty rather than > looping over it (which may skip entries), from Brad King. (nicm@) == usr.sbin ========================================================== 07/07 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.sbin eigrpctl ~ eigrpctl.8 ~ eigrpctl.c ~ parser.c ~ parser.h > Introduce the 'eigrpctl clear neighbors' command. (renato@) eigrpd ~ neighbor.c ~ parse.y ~ rde_dual.c > Order the routing instances by AF and then by AS. > This commit only improves the readability of the 'eigrpctl' show commands. > Additionaly, we can simplify the nbr_compare() and rt_compare() functions > because we know that under no circumstances nbrs or routes from different > AFs or ASes will be in the same tree. Each instance has its own trees of > neighbors and routes. (renato@) ~ eigrp.h ~ interface.c ~ packet.c ~ rde.c > Avoid the use of inet_pton() whenever possible. (renato@) ~ eigrp.h ~ eigrpe.h ~ packet.c ~ tlv.c > Split TLV constants into subcomponents to simplify the code. (renato@) ~ eigrpe.c ~ eigrpe.h ~ hello.c ~ update.c > Do not set the EoT flag in the last startup update. > Unfortunately we don't have enough information to support the NSF feature, > the EIGRP draft is missing a lot of information in this regard. > The EoT flag is used as part of EIGRP NSF to announce the end of the > startup process with a neighbor. The problem is that, when we set this > flag, the Cisco neighbors will assume that we support NSF, which is > not true. When this happens, these routers expect us to do things that > we don't know, and weird things can happen. So let's play safe and just > ignore this flag for now. (renato@) ~ control.c ~ eigrpd.h ~ eigrpe.c ~ eigrpe.h ~ hello.c ~ interface.c ~ neighbor.c ~ rde_dual.c ~ rtp.c > Add support for manually clearing neighbors. (renato@) ~ eigrpd.h ~ eigrpe.c ~ kroute.c ~ rde_dual.c ~ util.c > Minor tweaks. (renato@) ~ interface.c > Fix bug that happened when a passive interface was shut down and then > reactivated. (renato@) ~ packet.c > Several fixes in the Conditionally Received (CR) mode. > * If we fail to accept a packet when in the CR mode, do not ack it; > * Add missing ntohl() when storing the next multicast sequence tlv; > * The CR flag in the neighbor should be cleared out after use. (renato@) ~ rde_dual.c > Fix detection of the Stuck-in-Active (SIA) state. > We were rearming the SIA and active timer over and over again. Now, > when the maximum of three SIA-Queries are sent, we stop and wait for the > active timeout. (renato@) ~ rde.c ~ rde_dual.c > Better handle explicit nexthops. > If an explicit nexthop was advertised for a route, show it in the > 'eigrpctl show topology' command output instead of the address of the > advertising neighbor (implicit nexthop). (renato@) ~ rde_dual.c > For each prefix, order routes by their nexthop. (renato@) installboot ~ landisk_installboot.c > sync() needs unistd.h (tobiasu@) tcpdump ~ nfsfh.h ~ parsenfsfh.c ~ print-nfs.c > Remove preprocessor conditions (checking for ancient OSs) that try to > divine whether a file handle was generated on the current host. More > simplifications to come. > supported by deraadt@ (mmcc@) ~ parsenfsfh.c > remove a macro that was made an identity function by my previous commit > ok deraadt@ (mmcc@) =============================================================================== _______________________________________________ odc mailing list [email protected] http://www.squish.net/mailman/listinfo/odc
