CVS commit: src/doc
Module Name:src Committed By: jnemeth Date: Thu Oct 3 06:27:09 UTC 2019 Modified Files: src/doc: CHANGES Log Message: typo To generate a diff of this commit: cvs rdiff -u -r1.2587 -r1.2588 src/doc/CHANGES Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/doc/CHANGES diff -u src/doc/CHANGES:1.2587 src/doc/CHANGES:1.2588 --- src/doc/CHANGES:1.2587 Wed Oct 2 11:18:55 2019 +++ src/doc/CHANGES Thu Oct 3 06:27:09 2019 @@ -1,4 +1,4 @@ -# LIST OF CHANGES FROM LAST RELEASE: <$Revision: 1.2587 $> +# LIST OF CHANGES FROM LAST RELEASE: <$Revision: 1.2588 $> # # # [Note: This file does not mention every change made to the NetBSD source tree. @@ -24,7 +24,7 @@ # Changes from NetBSD 9.0 to NetBSD 10.0: - openldap: Import 2.4.48. [christos 20180808] + openldap: Import 2.4.48. [christos 20190808] usbnet(9): Add common framework for USB network devices. Port the axe(4), axen(4), cdce(4), cue(4), mue(4), smsc(4), udav(4), ure(4), url(4), and urndis(4) drivers fixing many bugs and
CVS commit: src/doc
Module Name:src Committed By: jnemeth Date: Thu Oct 3 06:27:09 UTC 2019 Modified Files: src/doc: CHANGES Log Message: typo To generate a diff of this commit: cvs rdiff -u -r1.2587 -r1.2588 src/doc/CHANGES Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/dev/usb
Module Name:src Committed By: maxv Date: Thu Oct 3 05:20:31 UTC 2019 Modified Files: src/sys/dev/usb: usb_subr.c Log Message: Fix memory leaks. Was wondering where memory had gone after several hours of attach/detach with vHCI. To generate a diff of this commit: cvs rdiff -u -r1.240 -r1.241 src/sys/dev/usb/usb_subr.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/dev/usb
Module Name:src Committed By: maxv Date: Thu Oct 3 05:20:31 UTC 2019 Modified Files: src/sys/dev/usb: usb_subr.c Log Message: Fix memory leaks. Was wondering where memory had gone after several hours of attach/detach with vHCI. To generate a diff of this commit: cvs rdiff -u -r1.240 -r1.241 src/sys/dev/usb/usb_subr.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sys/dev/usb/usb_subr.c diff -u src/sys/dev/usb/usb_subr.c:1.240 src/sys/dev/usb/usb_subr.c:1.241 --- src/sys/dev/usb/usb_subr.c:1.240 Sun Sep 15 09:24:38 2019 +++ src/sys/dev/usb/usb_subr.c Thu Oct 3 05:20:31 2019 @@ -1,4 +1,4 @@ -/* $NetBSD: usb_subr.c,v 1.240 2019/09/15 09:24:38 maxv Exp $ */ +/* $NetBSD: usb_subr.c,v 1.241 2019/10/03 05:20:31 maxv Exp $ */ /* $FreeBSD: src/sys/dev/usb/usb_subr.c,v 1.18 1999/11/17 22:33:47 n_hibma Exp $ */ /* @@ -32,7 +32,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: usb_subr.c,v 1.240 2019/09/15 09:24:38 maxv Exp $"); +__KERNEL_RCSID(0, "$NetBSD: usb_subr.c,v 1.241 2019/10/03 05:20:31 maxv Exp $"); #ifdef _KERNEL_OPT #include "opt_compat_netbsd.h" @@ -1479,6 +1479,15 @@ usbd_remove_device(struct usbd_device *d up->up_dev = NULL; dev->ud_bus->ub_devices[usb_addr2dindex(dev->ud_addr)] = NULL; + if (dev->ud_vendor != NULL) { + kmem_free(dev->ud_vendor, USB_MAX_ENCODED_STRING_LEN); + } + if (dev->ud_product != NULL) { + kmem_free(dev->ud_product, USB_MAX_ENCODED_STRING_LEN); + } + if (dev->ud_serial != NULL) { + kmem_free(dev->ud_serial, USB_MAX_ENCODED_STRING_LEN); + } kmem_free(dev, sizeof(*dev)); }
CVS commit: src/sys/dev/usb
Module Name:src Committed By: maxv Date: Thu Oct 3 05:16:16 UTC 2019 Modified Files: src/sys/dev/usb: umidi.c Log Message: More less kmem_zalloc(0). To generate a diff of this commit: cvs rdiff -u -r1.79 -r1.80 src/sys/dev/usb/umidi.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/dev/usb
Module Name:src Committed By: maxv Date: Thu Oct 3 05:16:16 UTC 2019 Modified Files: src/sys/dev/usb: umidi.c Log Message: More less kmem_zalloc(0). To generate a diff of this commit: cvs rdiff -u -r1.79 -r1.80 src/sys/dev/usb/umidi.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sys/dev/usb/umidi.c diff -u src/sys/dev/usb/umidi.c:1.79 src/sys/dev/usb/umidi.c:1.80 --- src/sys/dev/usb/umidi.c:1.79 Sun Sep 15 09:18:17 2019 +++ src/sys/dev/usb/umidi.c Thu Oct 3 05:16:16 2019 @@ -1,4 +1,4 @@ -/* $NetBSD: umidi.c,v 1.79 2019/09/15 09:18:17 maxv Exp $ */ +/* $NetBSD: umidi.c,v 1.80 2019/10/03 05:16:16 maxv Exp $ */ /* * Copyright (c) 2001, 2012, 2014 The NetBSD Foundation, Inc. @@ -32,7 +32,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: umidi.c,v 1.79 2019/09/15 09:18:17 maxv Exp $"); +__KERNEL_RCSID(0, "$NetBSD: umidi.c,v 1.80 2019/10/03 05:16:16 maxv Exp $"); #ifdef _KERNEL_OPT #include "opt_usb.h" @@ -1081,9 +1081,10 @@ alloc_all_jacks(struct umidi_softc *sc) cn_spec = NULL; /* allocate/initialize structures */ - sc->sc_jacks = - kmem_zalloc(sizeof(*sc->sc_out_jacks)*(sc->sc_in_num_jacks - + sc->sc_out_num_jacks), KM_SLEEP); + if (sc->sc_in_num_jacks == 0 && sc->sc_out_num_jacks == 0) + return USBD_INVAL; + sc->sc_jacks = kmem_zalloc(sizeof(*sc->sc_out_jacks) * + (sc->sc_in_num_jacks + sc->sc_out_num_jacks), KM_SLEEP); if (!sc->sc_jacks) return USBD_NOMEM; sc->sc_out_jacks = @@ -1154,8 +1155,8 @@ free_all_jacks(struct umidi_softc *sc) mutex_enter(&sc->sc_lock); jacks = sc->sc_jacks; - len = sizeof(*sc->sc_out_jacks) - * (sc->sc_in_num_jacks + sc->sc_out_num_jacks); + len = sizeof(*sc->sc_out_jacks) * + (sc->sc_in_num_jacks + sc->sc_out_num_jacks); sc->sc_jacks = sc->sc_in_jacks = sc->sc_out_jacks = NULL; mutex_exit(&sc->sc_lock);
CVS commit: src/sys/dev/usb
Module Name:src Committed By: maxv Date: Thu Oct 3 05:13:24 UTC 2019 Modified Files: src/sys/dev/usb: vhci.c Log Message: Improvements: - Don't process packets if the USB device is detached. Contrary to the other HCIs, vHCI has no timeout, so we never collect the pending packets, and must drop them synchronously. - Fix refcounting bug in vhci_device_ctrl_abort. - Implement vhci_activate. - Add a few KASSERTs. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/sys/dev/usb/vhci.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/dev/usb
Module Name:src Committed By: maxv Date: Thu Oct 3 05:13:24 UTC 2019 Modified Files: src/sys/dev/usb: vhci.c Log Message: Improvements: - Don't process packets if the USB device is detached. Contrary to the other HCIs, vHCI has no timeout, so we never collect the pending packets, and must drop them synchronously. - Fix refcounting bug in vhci_device_ctrl_abort. - Implement vhci_activate. - Add a few KASSERTs. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/sys/dev/usb/vhci.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sys/dev/usb/vhci.c diff -u src/sys/dev/usb/vhci.c:1.2 src/sys/dev/usb/vhci.c:1.3 --- src/sys/dev/usb/vhci.c:1.2 Sat Sep 14 12:32:08 2019 +++ src/sys/dev/usb/vhci.c Thu Oct 3 05:13:23 2019 @@ -1,4 +1,4 @@ -/* $NetBSD: vhci.c,v 1.2 2019/09/14 12:32:08 maxv Exp $ */ +/* $NetBSD: vhci.c,v 1.3 2019/10/03 05:13:23 maxv Exp $ */ /* * Copyright (c) 2019 The NetBSD Foundation, Inc. @@ -30,7 +30,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: vhci.c,v 1.2 2019/09/14 12:32:08 maxv Exp $"); +__KERNEL_RCSID(0, "$NetBSD: vhci.c,v 1.3 2019/10/03 05:13:23 maxv Exp $"); #ifdef _KERNEL_OPT #include "opt_usb.h" @@ -239,11 +239,10 @@ vhci_pkt_create(vhci_port_t *port, struc TAILQ_INSERT_TAIL(&vxfer->pkts, pkt, xferlist); /* Insert in the port. */ - mutex_enter(&port->lock); + KASSERT(mutex_owned(&port->lock)); TAILQ_INSERT_TAIL(reqlist, req, portlist); if (pkt != NULL) TAILQ_INSERT_TAIL(pktlist, pkt, portlist); - mutex_exit(&port->lock); } static void @@ -508,7 +507,7 @@ vhci_device_ctrl_start(struct usbd_xfer vhci_port_t *port; bool polling = sc->sc_bus.ub_usepolling; bool isread = (req->bmRequestType & UT_READ) != 0; - int portno; + int portno, ret; KASSERT(xfer->ux_rqflags & URQ_REQUEST); KASSERT(dev->ud_myhsport != NULL); @@ -524,13 +523,21 @@ vhci_device_ctrl_start(struct usbd_xfer if (!polling) mutex_enter(&sc->sc_lock); - xfer->ux_status = USBD_IN_PROGRESS; + + mutex_enter(&port->lock); + if (port->status & UPS_PORT_ENABLED) { + xfer->ux_status = USBD_IN_PROGRESS; + vhci_pkt_create(port, xfer, isread); + ret = USBD_IN_PROGRESS; + } else { + ret = USBD_IOERROR; + } + mutex_exit(&port->lock); + if (!polling) mutex_exit(&sc->sc_lock); - vhci_pkt_create(port, xfer, isread); - - return USBD_IN_PROGRESS; + return ret; } static void @@ -554,7 +561,7 @@ vhci_device_ctrl_abort(struct usbd_xfer return; mutex_enter(&port->lock); - for (; vxfer->refcnt > 0; vxfer->refcnt--) { + while (vxfer->refcnt > 0) { pkt = TAILQ_FIRST(&vxfer->pkts); KASSERT(pkt != NULL); vhci_pkt_destroy(sc, pkt); @@ -708,9 +715,11 @@ vhci_usb_attach(vhci_fd_t *vfd, struct v mutex_enter(&sc->sc_lock); + mutex_enter(&port->lock); port->status = UPS_CURRENT_CONNECT_STATUS | UPS_PORT_ENABLED | UPS_PORT_POWER; port->change = UPS_C_CONNECT_STATUS | UPS_C_PORT_RESET; + mutex_exit(&port->lock); xfer = sc->sc_intrxfer; @@ -741,7 +750,7 @@ vhci_port_flush(vhci_softc_t *sc, vhci_p vhci_xfer_t *vxfer; KASSERT(mutex_owned(&sc->sc_lock)); - mutex_enter(&port->lock); + KASSERT(mutex_owned(&port->lock)); TAILQ_INIT(&vxferlist); @@ -769,12 +778,9 @@ vhci_port_flush(vhci_softc_t *sc, vhci_p struct usbd_xfer *xfer = &vxfer->xfer; TAILQ_REMOVE(&vxferlist, vxfer, freelist); - xfer->ux_actlen = xfer->ux_length; - xfer->ux_status = USBD_NORMAL_COMPLETION; + xfer->ux_status = USBD_TIMEOUT; usb_transfer_complete(xfer); } - - mutex_exit(&port->lock); } static int @@ -797,6 +803,8 @@ vhci_usb_detach(vhci_fd_t *vfd, struct v return ENOBUFS; } + mutex_enter(&port->lock); + port->status = 0; port->change = UPS_C_CONNECT_STATUS | UPS_C_PORT_RESET; @@ -808,8 +816,9 @@ vhci_usb_detach(vhci_fd_t *vfd, struct v usb_transfer_complete(xfer); vhci_port_flush(sc, port); - mutex_exit(&sc->sc_lock); + mutex_exit(&port->lock); + mutex_exit(&sc->sc_lock); return 0; } @@ -905,11 +914,13 @@ vhci_fd_close(file_t *fp) { struct vhci_ioc_usb_detach args; vhci_fd_t *vfd = fp->f_data; + int ret __diagused; KASSERT(vfd != NULL); args.port = vfd->port; - vhci_usb_detach(vfd, &args); + ret = vhci_usb_detach(vfd, &args); + KASSERT(ret == 0); kmem_free(vfd, sizeof(*vfd)); fp->f_data = NULL; @@ -1022,6 +1033,7 @@ vhci_fd_write(struct file *fp, off_t *of TAILQ_FOREACH_SAFE(pkt, pktlist, portlist, nxt) { vxfer = (vhci_xfer_t *)pkt->xfer; buf = pkt->buf + pkt->cursor; + KASSERT(pkt->size >= pkt->cursor); size = uimin(uio->uio_resid, pkt->size - pkt->cursor); KASSERT(vxfer->xfer.ux_status == USBD_IN_PROGRESS); @@ -1087,9 +1099,10 @@ vhci_fd_ioctl(file_t *fp, u_long cmd, vo static int vhci_match(device_t, cfdata_t, void *); static void vhci_attach(device_t, device_t, void *); +static int vhci_activate(device_t, enum devact); CFATTACH_DECL_NEW(vhci,
CVS commit: src/sys/arch
Module Name:src Committed By: maxv Date: Thu Oct 3 05:06:29 UTC 2019 Modified Files: src/sys/arch/amd64/amd64: locore.S src/sys/arch/i386/i386: locore.S src/sys/arch/x86/include: cpu.h src/sys/arch/x86/x86: fpu.c identcpu.c x86_machdep.c Log Message: Remove the LazyFPU code, as posted 5 months ago on port-amd64@. To generate a diff of this commit: cvs rdiff -u -r1.186 -r1.187 src/sys/arch/amd64/amd64/locore.S cvs rdiff -u -r1.168 -r1.169 src/sys/arch/i386/i386/locore.S cvs rdiff -u -r1.108 -r1.109 src/sys/arch/x86/include/cpu.h cvs rdiff -u -r1.55 -r1.56 src/sys/arch/x86/x86/fpu.c cvs rdiff -u -r1.95 -r1.96 src/sys/arch/x86/x86/identcpu.c cvs rdiff -u -r1.127 -r1.128 src/sys/arch/x86/x86/x86_machdep.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sys/arch/amd64/amd64/locore.S diff -u src/sys/arch/amd64/amd64/locore.S:1.186 src/sys/arch/amd64/amd64/locore.S:1.187 --- src/sys/arch/amd64/amd64/locore.S:1.186 Wed Aug 21 16:35:10 2019 +++ src/sys/arch/amd64/amd64/locore.S Thu Oct 3 05:06:29 2019 @@ -1,4 +1,4 @@ -/* $NetBSD: locore.S,v 1.186 2019/08/21 16:35:10 maxv Exp $ */ +/* $NetBSD: locore.S,v 1.187 2019/10/03 05:06:29 maxv Exp $ */ /* * Copyright-o-rama! @@ -1147,13 +1147,10 @@ ENTRY(cpu_switchto) movq %r12,%rsi callq _C_LABEL(x86_dbregs_switch) - movb _C_LABEL(x86_fpu_eager),%dl - testb %dl,%dl - jz .Lno_eagerfpu + /* Switch the FPU. */ movq %r13,%rdi movq %r12,%rsi callq _C_LABEL(fpu_eagerswitch) -.Lno_eagerfpu: /* Don't bother with the rest if switching to a system process. */ testl $LW_SYSTEM,L_FLAG(%r12) Index: src/sys/arch/i386/i386/locore.S diff -u src/sys/arch/i386/i386/locore.S:1.168 src/sys/arch/i386/i386/locore.S:1.169 --- src/sys/arch/i386/i386/locore.S:1.168 Sun May 19 08:17:02 2019 +++ src/sys/arch/i386/i386/locore.S Thu Oct 3 05:06:29 2019 @@ -1,4 +1,4 @@ -/* $NetBSD: locore.S,v 1.168 2019/05/19 08:17:02 maxv Exp $ */ +/* $NetBSD: locore.S,v 1.169 2019/10/03 05:06:29 maxv Exp $ */ /* * Copyright-o-rama! @@ -128,7 +128,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: locore.S,v 1.168 2019/05/19 08:17:02 maxv Exp $"); +__KERNEL_RCSID(0, "$NetBSD: locore.S,v 1.169 2019/10/03 05:06:29 maxv Exp $"); #include "opt_copy_symtab.h" #include "opt_ddb.h" @@ -1137,15 +1137,12 @@ skip_save: call _C_LABEL(x86_dbregs_switch) addl $8,%esp + /* Switch the FPU. */ pushl %edx - movb _C_LABEL(x86_fpu_eager),%dl - testb %dl,%dl - jz .Lno_eagerfpu pushl %edi pushl %esi call _C_LABEL(fpu_eagerswitch) addl $8,%esp -.Lno_eagerfpu: popl %edx /* Don't bother with the rest if switching to a system process. */ Index: src/sys/arch/x86/include/cpu.h diff -u src/sys/arch/x86/include/cpu.h:1.108 src/sys/arch/x86/include/cpu.h:1.109 --- src/sys/arch/x86/include/cpu.h:1.108 Wed Aug 7 06:23:48 2019 +++ src/sys/arch/x86/include/cpu.h Thu Oct 3 05:06:29 2019 @@ -1,4 +1,4 @@ -/* $NetBSD: cpu.h,v 1.108 2019/08/07 06:23:48 maxv Exp $ */ +/* $NetBSD: cpu.h,v 1.109 2019/10/03 05:06:29 maxv Exp $ */ /* * Copyright (c) 1990 The Regents of the University of California. @@ -462,7 +462,6 @@ extern uint64_t x86_xsave_features; extern size_t x86_xsave_offsets[]; extern size_t x86_xsave_sizes[]; extern uint32_t x86_fpu_mxcsr_mask; -extern bool x86_fpu_eager; extern void (*x86_cpu_idle)(void); #define cpu_idle() (*x86_cpu_idle)() Index: src/sys/arch/x86/x86/fpu.c diff -u src/sys/arch/x86/x86/fpu.c:1.55 src/sys/arch/x86/x86/fpu.c:1.56 --- src/sys/arch/x86/x86/fpu.c:1.55 Fri Jul 5 17:08:56 2019 +++ src/sys/arch/x86/x86/fpu.c Thu Oct 3 05:06:29 2019 @@ -1,4 +1,4 @@ -/* $NetBSD: fpu.c,v 1.55 2019/07/05 17:08:56 maxv Exp $ */ +/* $NetBSD: fpu.c,v 1.56 2019/10/03 05:06:29 maxv Exp $ */ /* * Copyright (c) 2008 The NetBSD Foundation, Inc. All @@ -96,7 +96,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: fpu.c,v 1.55 2019/07/05 17:08:56 maxv Exp $"); +__KERNEL_RCSID(0, "$NetBSD: fpu.c,v 1.56 2019/10/03 05:06:29 maxv Exp $"); #include "opt_multiprocessor.h" @@ -127,7 +127,6 @@ __KERNEL_RCSID(0, "$NetBSD: fpu.c,v 1.55 #endif uint32_t x86_fpu_mxcsr_mask __read_mostly = 0; -bool x86_fpu_eager __read_mostly = false; static inline union savefpu * lwp_fpuarea(struct lwp *l) @@ -440,20 +439,13 @@ fputrap(struct trapframe *frame) } /* - * Implement device not available (DNA) exception. - * - * If we were the last lwp to use the FPU, we can simply return. - * Otherwise, we save the previous state, if necessary, and restore - * our last saved state. - * - * Called directly from the trap 0x13 entry with interrupts still disabled. + * Implement device not available (DNA) exception. Called with interrupts still + * disabled. */ void fpudna(struct trapframe *frame) { struct cpu_info *ci = curcpu(); - struct lwp *l, *fl; - struct pcb *pcb; int s; if (!USERMODE(frame->tf_cs)) { @@ -461,55 +453,9 @@ fpudna(st
CVS commit: src/sys/arch
Module Name:src Committed By: maxv Date: Thu Oct 3 05:06:29 UTC 2019 Modified Files: src/sys/arch/amd64/amd64: locore.S src/sys/arch/i386/i386: locore.S src/sys/arch/x86/include: cpu.h src/sys/arch/x86/x86: fpu.c identcpu.c x86_machdep.c Log Message: Remove the LazyFPU code, as posted 5 months ago on port-amd64@. To generate a diff of this commit: cvs rdiff -u -r1.186 -r1.187 src/sys/arch/amd64/amd64/locore.S cvs rdiff -u -r1.168 -r1.169 src/sys/arch/i386/i386/locore.S cvs rdiff -u -r1.108 -r1.109 src/sys/arch/x86/include/cpu.h cvs rdiff -u -r1.55 -r1.56 src/sys/arch/x86/x86/fpu.c cvs rdiff -u -r1.95 -r1.96 src/sys/arch/x86/x86/identcpu.c cvs rdiff -u -r1.127 -r1.128 src/sys/arch/x86/x86/x86_machdep.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net
Module Name:src Committed By: knakahara Date: Thu Oct 3 03:10:02 UTC 2019 Modified Files: src/sys/net: route.c Log Message: Revert route.c:r1.224 to fix net/arp/t_arp and net/ndp/t_ndp failure. And refactor a little. Discussed with ozaki-r@n.o. To generate a diff of this commit: cvs rdiff -u -r1.224 -r1.225 src/sys/net/route.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sys/net/route.c diff -u src/sys/net/route.c:1.224 src/sys/net/route.c:1.225 --- src/sys/net/route.c:1.224 Mon Sep 30 10:22:14 2019 +++ src/sys/net/route.c Thu Oct 3 03:10:02 2019 @@ -1,4 +1,4 @@ -/* $NetBSD: route.c,v 1.224 2019/09/30 10:22:14 knakahara Exp $ */ +/* $NetBSD: route.c,v 1.225 2019/10/03 03:10:02 knakahara Exp $ */ /*- * Copyright (c) 1998, 2008 The NetBSD Foundation, Inc. @@ -97,7 +97,7 @@ #endif #include -__KERNEL_RCSID(0, "$NetBSD: route.c,v 1.224 2019/09/30 10:22:14 knakahara Exp $"); +__KERNEL_RCSID(0, "$NetBSD: route.c,v 1.225 2019/10/03 03:10:02 knakahara Exp $"); #include #ifdef RTFLUSH_DEBUG @@ -1400,11 +1400,8 @@ rt_update_get_ifa(const struct rt_addrin *ifp = ifa->ifa_ifp; if_acquire(*ifp, psref_ifp); if (info->rti_info[RTAX_IFA] == NULL && - info->rti_info[RTAX_GATEWAY] == NULL) { - ifa_release(ifa, psref); - ifa = NULL; - goto next; - } + info->rti_info[RTAX_GATEWAY] == NULL) + goto out; ifa_release(ifa, psref); if (info->rti_info[RTAX_IFA] == NULL) { /* route change -ifp */
CVS commit: src/sys/net
Module Name:src Committed By: knakahara Date: Thu Oct 3 03:10:02 UTC 2019 Modified Files: src/sys/net: route.c Log Message: Revert route.c:r1.224 to fix net/arp/t_arp and net/ndp/t_ndp failure. And refactor a little. Discussed with ozaki-r@n.o. To generate a diff of this commit: cvs rdiff -u -r1.224 -r1.225 src/sys/net/route.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/etc/mtree
Module Name:src Committed By: mrg Date: Thu Oct 3 01:34:31 UTC 2019 Modified Files: src/etc/mtree: NetBSD.dist.base Log Message: add gcc-8 dirs, remove gcc-6 dirs. To generate a diff of this commit: cvs rdiff -u -r1.202 -r1.203 src/etc/mtree/NetBSD.dist.base Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/etc/mtree
Module Name:src Committed By: mrg Date: Thu Oct 3 01:34:31 UTC 2019 Modified Files: src/etc/mtree: NetBSD.dist.base Log Message: add gcc-8 dirs, remove gcc-6 dirs. To generate a diff of this commit: cvs rdiff -u -r1.202 -r1.203 src/etc/mtree/NetBSD.dist.base Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/etc/mtree/NetBSD.dist.base diff -u src/etc/mtree/NetBSD.dist.base:1.202 src/etc/mtree/NetBSD.dist.base:1.203 --- src/etc/mtree/NetBSD.dist.base:1.202 Wed Aug 14 01:42:08 2019 +++ src/etc/mtree/NetBSD.dist.base Thu Oct 3 01:34:31 2019 @@ -1,4 +1,4 @@ -# $NetBSD: NetBSD.dist.base,v 1.202 2019/08/14 01:42:08 kamil Exp $ +# $NetBSD: NetBSD.dist.base,v 1.203 2019/10/03 01:34:31 mrg Exp $ # @(#)4.4BSD.dist 8.1 (Berkeley) 6/13/93 # Do not customize this file as it may be overwritten on upgrades. @@ -197,10 +197,10 @@ ./usr/include/g++/tr1 ./usr/include/g++/tr1_impl ./usr/include/g++/tr2 -./usr/include/gcc-6 -./usr/include/gcc-6/sanitizer ./usr/include/gcc-7 ./usr/include/gcc-7/sanitizer +./usr/include/gcc-8 +./usr/include/gcc-8/sanitizer ./usr/include/gssapi ./usr/include/isofs ./usr/include/isofs/cd9660
CVS commit: src/usr.bin/nc
Module Name:src Committed By: sevan Date: Thu Oct 3 01:15:19 UTC 2019 Modified Files: src/usr.bin/nc: netcat.c Log Message: Skip options which rely on crypto support in getopt() argument list, if we're not building with cryto support. via JP on tech-misc@ To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/usr.bin/nc/netcat.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/usr.bin/nc
Module Name:src Committed By: sevan Date: Thu Oct 3 01:15:19 UTC 2019 Modified Files: src/usr.bin/nc: netcat.c Log Message: Skip options which rely on crypto support in getopt() argument list, if we're not building with cryto support. via JP on tech-misc@ To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/usr.bin/nc/netcat.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/usr.bin/nc/netcat.c diff -u src/usr.bin/nc/netcat.c:1.5 src/usr.bin/nc/netcat.c:1.6 --- src/usr.bin/nc/netcat.c:1.5 Thu Feb 9 21:23:48 2017 +++ src/usr.bin/nc/netcat.c Thu Oct 3 01:15:19 2019 @@ -27,7 +27,7 @@ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ #include -__RCSID("$NetBSD: netcat.c,v 1.5 2017/02/09 21:23:48 christos Exp $"); +__RCSID("$NetBSD: netcat.c,v 1.6 2019/10/03 01:15:19 sevan Exp $"); /* * Re-written nc(1) for OpenBSD. Original implementation by @@ -180,7 +180,12 @@ main(int argc, char *argv[]) signal(SIGPIPE, SIG_IGN); while ((ch = getopt(argc, argv, - "46C:cDde:FH:hI:i:K:klM:m:NnO:o:P:p:R:rSs:T:tUuV:vw:X:x:z")) != -1) { +#ifdef CRYPTO + "46C:cDde:FH:hI:i:K:klM:m:NnO:o:P:p:R:rSs:T:tUuV:vw:X:x:z" +#else + "46Dde:FhI:i:klM:m:NnO:P:p:rSs:tUuvw:X:x:z" +#endif + )) != -1) { switch (ch) { case '4': family = AF_INET;
CVS commit: src/distrib/sets/lists
Module Name:src Committed By: mrg Date: Thu Oct 3 00:59:50 UTC 2019 Modified Files: src/distrib/sets/lists/base: ad.mips mi shl.mi src/distrib/sets/lists/comp: ad.aarch64 ad.arm ad.hppa ad.m68k ad.mips ad.powerpc ad.riscv ad.sh3 md.alpha md.amd64 md.hppa md.i386 md.ia64 md.or1k md.sparc md.sparc64 md.vax mi src/distrib/sets/lists/debug: ad.mips shl.mi Log Message: gcc 8 set lists updates. i don't appear to have broken gcc 7 builds but i only tested a couple of them. To generate a diff of this commit: cvs rdiff -u -r1.79 -r1.80 src/distrib/sets/lists/base/ad.mips cvs rdiff -u -r1.1217 -r1.1218 src/distrib/sets/lists/base/mi cvs rdiff -u -r1.873 -r1.874 src/distrib/sets/lists/base/shl.mi cvs rdiff -u -r1.32 -r1.33 src/distrib/sets/lists/comp/ad.aarch64 cvs rdiff -u -r1.97 -r1.98 src/distrib/sets/lists/comp/ad.arm \ src/distrib/sets/lists/comp/md.sparc cvs rdiff -u -r1.15 -r1.16 src/distrib/sets/lists/comp/ad.hppa cvs rdiff -u -r1.61 -r1.62 src/distrib/sets/lists/comp/ad.m68k cvs rdiff -u -r1.82 -r1.83 src/distrib/sets/lists/comp/ad.mips cvs rdiff -u -r1.94 -r1.95 src/distrib/sets/lists/comp/ad.powerpc cvs rdiff -u -r1.14 -r1.15 src/distrib/sets/lists/comp/ad.riscv cvs rdiff -u -r1.42 -r1.43 src/distrib/sets/lists/comp/ad.sh3 cvs rdiff -u -r1.76 -r1.77 src/distrib/sets/lists/comp/md.alpha cvs rdiff -u -r1.273 -r1.274 src/distrib/sets/lists/comp/md.amd64 cvs rdiff -u -r1.12 -r1.13 src/distrib/sets/lists/comp/md.hppa cvs rdiff -u -r1.191 -r1.192 src/distrib/sets/lists/comp/md.i386 cvs rdiff -u -r1.6 -r1.7 src/distrib/sets/lists/comp/md.ia64 cvs rdiff -u -r1.8 -r1.9 src/distrib/sets/lists/comp/md.or1k cvs rdiff -u -r1.209 -r1.210 src/distrib/sets/lists/comp/md.sparc64 cvs rdiff -u -r1.50 -r1.51 src/distrib/sets/lists/comp/md.vax cvs rdiff -u -r1.2288 -r1.2289 src/distrib/sets/lists/comp/mi cvs rdiff -u -r1.73 -r1.74 src/distrib/sets/lists/debug/ad.mips cvs rdiff -u -r1.232 -r1.233 src/distrib/sets/lists/debug/shl.mi Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/distrib/sets/lists
Module Name:src Committed By: mrg Date: Thu Oct 3 00:59:50 UTC 2019 Modified Files: src/distrib/sets/lists/base: ad.mips mi shl.mi src/distrib/sets/lists/comp: ad.aarch64 ad.arm ad.hppa ad.m68k ad.mips ad.powerpc ad.riscv ad.sh3 md.alpha md.amd64 md.hppa md.i386 md.ia64 md.or1k md.sparc md.sparc64 md.vax mi src/distrib/sets/lists/debug: ad.mips shl.mi Log Message: gcc 8 set lists updates. i don't appear to have broken gcc 7 builds but i only tested a couple of them. To generate a diff of this commit: cvs rdiff -u -r1.79 -r1.80 src/distrib/sets/lists/base/ad.mips cvs rdiff -u -r1.1217 -r1.1218 src/distrib/sets/lists/base/mi cvs rdiff -u -r1.873 -r1.874 src/distrib/sets/lists/base/shl.mi cvs rdiff -u -r1.32 -r1.33 src/distrib/sets/lists/comp/ad.aarch64 cvs rdiff -u -r1.97 -r1.98 src/distrib/sets/lists/comp/ad.arm \ src/distrib/sets/lists/comp/md.sparc cvs rdiff -u -r1.15 -r1.16 src/distrib/sets/lists/comp/ad.hppa cvs rdiff -u -r1.61 -r1.62 src/distrib/sets/lists/comp/ad.m68k cvs rdiff -u -r1.82 -r1.83 src/distrib/sets/lists/comp/ad.mips cvs rdiff -u -r1.94 -r1.95 src/distrib/sets/lists/comp/ad.powerpc cvs rdiff -u -r1.14 -r1.15 src/distrib/sets/lists/comp/ad.riscv cvs rdiff -u -r1.42 -r1.43 src/distrib/sets/lists/comp/ad.sh3 cvs rdiff -u -r1.76 -r1.77 src/distrib/sets/lists/comp/md.alpha cvs rdiff -u -r1.273 -r1.274 src/distrib/sets/lists/comp/md.amd64 cvs rdiff -u -r1.12 -r1.13 src/distrib/sets/lists/comp/md.hppa cvs rdiff -u -r1.191 -r1.192 src/distrib/sets/lists/comp/md.i386 cvs rdiff -u -r1.6 -r1.7 src/distrib/sets/lists/comp/md.ia64 cvs rdiff -u -r1.8 -r1.9 src/distrib/sets/lists/comp/md.or1k cvs rdiff -u -r1.209 -r1.210 src/distrib/sets/lists/comp/md.sparc64 cvs rdiff -u -r1.50 -r1.51 src/distrib/sets/lists/comp/md.vax cvs rdiff -u -r1.2288 -r1.2289 src/distrib/sets/lists/comp/mi cvs rdiff -u -r1.73 -r1.74 src/distrib/sets/lists/debug/ad.mips cvs rdiff -u -r1.232 -r1.233 src/distrib/sets/lists/debug/shl.mi Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/distrib/sets/lists/base/ad.mips diff -u src/distrib/sets/lists/base/ad.mips:1.79 src/distrib/sets/lists/base/ad.mips:1.80 --- src/distrib/sets/lists/base/ad.mips:1.79 Sat Feb 2 22:39:32 2019 +++ src/distrib/sets/lists/base/ad.mips Thu Oct 3 00:59:49 2019 @@ -1,4 +1,4 @@ -# $NetBSD: ad.mips,v 1.79 2019/02/02 22:39:32 mrg Exp $ +# $NetBSD: ad.mips,v 1.80 2019/10/03 00:59:49 mrg Exp $ ./lib/libc_fp.sobase-sys-shlib dynamicroot,softfloat,arch64 ./lib/libc_fp.so.0base-sys-shlib dynamicroot,softfloat,arch64 ./lib/libc_fp.so.0.0base-sys-shlib dynamicroot,softfloat,arch64 @@ -13,8 +13,9 @@ ./usr/lib/o32/libc_fp.so base-compat-shlib compat,pic,arch64 ./usr/lib/o32/libc_fp.so.0 base-compat-shlib compat,pic,arch64 ./usr/lib/o32/libc_fp.so.0.0 base-compat-shlib compat,pic,arch64 -./usr/lib/o32/libgomp.so.1.3 base-compat-shlib compat,pic,arch64,gcc=6 +./usr/lib/o32/libgomp.so.1.3 base-compat-shlib obsolete ./usr/lib/o32/libgomp.so.2.0 base-compat-shlib compat,pic,arch64,gcc=7 +./usr/lib/o32/libgomp.so.2.0 base-compat-shlib compat,pic,arch64,gcc=8 ./usr/libexec/ld.elf_so-64 base-compat-shlib compat,pic,arch64 ./usr/libexec/ld.elf_so-o32 base-sysutil-bin compat,pic,arch64 ./usr/lkm/ldscriptbase-obsolete obsolete Index: src/distrib/sets/lists/base/mi diff -u src/distrib/sets/lists/base/mi:1.1217 src/distrib/sets/lists/base/mi:1.1218 --- src/distrib/sets/lists/base/mi:1.1217 Sun Sep 15 19:38:08 2019 +++ src/distrib/sets/lists/base/mi Thu Oct 3 00:59:49 2019 @@ -1,4 +1,4 @@ -# $NetBSD: mi,v 1.1217 2019/09/15 19:38:08 brad Exp $ +# $NetBSD: mi,v 1.1218 2019/10/03 00:59:49 mrg Exp $ # # Note: Don't delete entries from here - mark them as "obsolete" instead, # unless otherwise stated below. @@ -1195,10 +1195,12 @@ ./usr/include/gcc-4.8base-obsolete obsolete ./usr/include/gcc-5base-obsolete obsolete ./usr/include/gcc-5/sanitizer base-obsolete obsolete -./usr/include/gcc-6base-c-usr -./usr/include/gcc-6/sanitizer base-c-usr +./usr/include/gcc-6base-obsolete obsolete +./usr/include/gcc-6/sanitizer base-obsolete obsolete ./usr/include/gcc-7base-c-usr ./usr/include/gcc-7/sanitizer base-c-usr +./usr/include/gcc-8base-c-usr +./usr/include/gcc-8/sanitizer base-c-usr ./usr/include/gssapibase-c-usr ./usr/include/gssapi/rpc base-obsolete obsolete ./usr/include/isofsbase-c-usr Index: src/distrib/sets/lists/base/shl.mi diff -u src/distrib/sets/lists/base/shl.mi:1.873 src/distrib/sets/lists/base/shl.mi:1.874 --- src/distrib/sets/lists/base/shl.mi:1.873 Tue Oct 1 16:07:14 2019 +++ src/distrib/sets/lists/base/shl.mi Thu Oct 3 00:59:50 2019 @@ -1,4 +1,4 @@ -# $NetBSD: shl.mi,v 1.873 2019/10/01 16:07:14 christos Exp $ +# $NetBSD: shl.mi,v 1.874 2019/10/03 00:59:50 mrg Exp $ # # Note: Don't delete entries from he
CVS commit: src/tests/lib/libc/sys
Module Name:src Committed By: kamil Date: Wed Oct 2 23:15:09 UTC 2019 Modified Files: src/tests/lib/libc/sys: t_ptrace_wait.c Log Message: Remove ATF t_ptrace_wait test suspend1 The tests verifies that a thread can be suspended by a debugger and later resumed by a tracee. This is an unwanted behavior and will be fixed soon. To generate a diff of this commit: cvs rdiff -u -r1.133 -r1.134 src/tests/lib/libc/sys/t_ptrace_wait.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/tests/lib/libc/sys/t_ptrace_wait.c diff -u src/tests/lib/libc/sys/t_ptrace_wait.c:1.133 src/tests/lib/libc/sys/t_ptrace_wait.c:1.134 --- src/tests/lib/libc/sys/t_ptrace_wait.c:1.133 Tue Oct 1 22:26:38 2019 +++ src/tests/lib/libc/sys/t_ptrace_wait.c Wed Oct 2 23:15:09 2019 @@ -1,4 +1,4 @@ -/* $NetBSD: t_ptrace_wait.c,v 1.133 2019/10/01 22:26:38 kamil Exp $ */ +/* $NetBSD: t_ptrace_wait.c,v 1.134 2019/10/02 23:15:09 kamil Exp $ */ /*- * Copyright (c) 2016, 2017, 2018, 2019 The NetBSD Foundation, Inc. @@ -27,7 +27,7 @@ */ #include -__RCSID("$NetBSD: t_ptrace_wait.c,v 1.133 2019/10/01 22:26:38 kamil Exp $"); +__RCSID("$NetBSD: t_ptrace_wait.c,v 1.134 2019/10/02 23:15:09 kamil Exp $"); #include #include @@ -6354,133 +6354,6 @@ lwp_main_stop(void *arg) _lwp_exit(); } -ATF_TC(suspend1); -ATF_TC_HEAD(suspend1, tc) -{ - atf_tc_set_md_var(tc, "descr", - "Verify that a thread can be suspended by a debugger and later " - "resumed by a tracee"); -} - -ATF_TC_BODY(suspend1, tc) -{ - const int exitval = 5; - const int sigval = SIGSTOP; - pid_t child, wpid; -#if defined(TWAIT_HAVE_STATUS) - int status; -#endif - ucontext_t uc; - lwpid_t lid; - static const size_t ssize = 16*1024; - void *stack; - struct ptrace_lwpinfo pl; - struct ptrace_siginfo psi; - volatile int go = 0; - - DPRINTF("Before forking process PID=%d\n", getpid()); - SYSCALL_REQUIRE((child = fork()) != -1); - if (child == 0) { - DPRINTF("Before calling PT_TRACE_ME from child %d\n", getpid()); - FORKEE_ASSERT(ptrace(PT_TRACE_ME, 0, NULL, 0) != -1); - - DPRINTF("Before raising %s from child\n", strsignal(sigval)); - FORKEE_ASSERT(raise(sigval) == 0); - - DPRINTF("Before allocating memory for stack in child\n"); - FORKEE_ASSERT((stack = malloc(ssize)) != NULL); - - DPRINTF("Before making context for new lwp in child\n"); - _lwp_makecontext(&uc, lwp_main_stop, NULL, NULL, stack, ssize); - - DPRINTF("Before creating new in child\n"); - FORKEE_ASSERT(_lwp_create(&uc, 0, &lid) == 0); - - while (go == 0) - continue; - - raise(SIGINT); - - FORKEE_ASSERT(_lwp_continue(lid) == 0); - - DPRINTF("Before waiting for lwp %d to exit\n", lid); - FORKEE_ASSERT(_lwp_wait(lid, NULL) == 0); - - DPRINTF("Before verifying that reported %d and running lid %d " - "are the same\n", lid, the_lwp_id); - FORKEE_ASSERT_EQ(lid, the_lwp_id); - - DPRINTF("Before exiting of the child process\n"); - _exit(exitval); - } - DPRINTF("Parent process PID=%d, child's PID=%d\n", getpid(), child); - - DPRINTF("Before calling %s() for the child\n", TWAIT_FNAME); - TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child); - - validate_status_stopped(status, sigval); - - DPRINTF("Before resuming the child process where it left off and " - "without signal to be sent\n"); - SYSCALL_REQUIRE(ptrace(PT_CONTINUE, child, (void *)1, 0) != -1); - - DPRINTF("Before calling %s() for the child - expected stopped " - "SIGTRAP\n", TWAIT_FNAME); - TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child); - - validate_status_stopped(status, SIGTRAP); - - DPRINTF("Before reading siginfo and lwpid_t\n"); - SYSCALL_REQUIRE(ptrace(PT_GET_SIGINFO, child, &psi, sizeof(psi)) != -1); - - DPRINTF("Before suspending LWP %d\n", psi.psi_lwpid); - SYSCALL_REQUIRE(ptrace(PT_SUSPEND, child, NULL, psi.psi_lwpid) != -1); - -DPRINTF("Write new go to tracee (PID=%d) from tracer (PID=%d)\n", - child, getpid()); - SYSCALL_REQUIRE(ptrace(PT_WRITE_D, child, __UNVOLATILE(&go), 1) != -1); - - DPRINTF("Before resuming the child process where it left off and " - "without signal to be sent\n"); - SYSCALL_REQUIRE(ptrace(PT_CONTINUE, child, (void *)1, 0) != -1); - - DPRINTF("Before calling %s() for the child - expected stopped " - "SIGINT\n", TWAIT_FNAME); - TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child); - - validate_status_stopped(status, SIGINT); - - pl.pl_lwpid = 0; - - SYSCALL_REQUIRE(ptrace(PT_LWPINFO, child, &pl, sizeof(pl)) != -1); - while (pl.pl_lwpid != 0) { - - SYSCALL_REQUIRE(ptrace(PT_LWPINFO, child, &pl, sizeof(pl)) != -1); - switch (pl.pl_lwpid) { - case 1: - ATF_REQUIRE_EQ(pl.pl_event, PL_EVENT_SIGNAL); - break; - case 2: - ATF_REQUIRE_EQ(pl.pl_event, PL_EVENT_SUSPENDED); - break; - } - } - - DPRINTF("Before resuming the child process where it left off and " - "without signal to be sent\n"); - S
CVS commit: src/tests/lib/libc/sys
Module Name:src Committed By: kamil Date: Wed Oct 2 23:15:09 UTC 2019 Modified Files: src/tests/lib/libc/sys: t_ptrace_wait.c Log Message: Remove ATF t_ptrace_wait test suspend1 The tests verifies that a thread can be suspended by a debugger and later resumed by a tracee. This is an unwanted behavior and will be fixed soon. To generate a diff of this commit: cvs rdiff -u -r1.133 -r1.134 src/tests/lib/libc/sys/t_ptrace_wait.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
re: CVS commit: src/external/gpl3/gcc/usr.bin/gcc/arch/aarch64
"Nick Hudson" writes: > Module Name: src > Committed By: skrll > Date: Wed Oct 2 10:34:48 UTC 2019 > > Modified Files: > src/external/gpl3/gcc/usr.bin/gcc/arch/aarch64: defs.mk > > Log Message: > Remove garbage. Maybe something is wrong with mknative or mrg's script? thanks. this happens when mknative is run a second time, not sure why it's started happening yet. appears to be mknative not me. btw, if you were hitting this, you need to clean your tree because this subdir shouldn't be used currently by anyone -- it's now got gcc 8 bits, and the default for everyone is still gcc 7. .mrg.
CVS commit: src/external/mpl/bind/dist/lib/isc
Module Name:src Committed By: christos Date: Wed Oct 2 15:43:15 UTC 2019 Modified Files: src/external/mpl/bind/dist/lib/isc: siphash.c Log Message: PR/54594: Martin Husemann: bind may crash at startup Use memcpy(3) instead of assuming casting "uint8_t *" to "uint64_t *" and de-referencing works. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/external/mpl/bind/dist/lib/isc/siphash.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/external/mpl/bind/dist/lib/isc/siphash.c diff -u src/external/mpl/bind/dist/lib/isc/siphash.c:1.2 src/external/mpl/bind/dist/lib/isc/siphash.c:1.3 --- src/external/mpl/bind/dist/lib/isc/siphash.c:1.2 Thu Sep 5 15:32:59 2019 +++ src/external/mpl/bind/dist/lib/isc/siphash.c Wed Oct 2 11:43:15 2019 @@ -1,4 +1,4 @@ -/* $NetBSD: siphash.c,v 1.2 2019/09/05 19:32:59 christos Exp $ */ +/* $NetBSD: siphash.c,v 1.3 2019/10/02 15:43:15 christos Exp $ */ /* * Copyright (C) Internet Systems Consortium, Inc. ("ISC") @@ -60,9 +60,13 @@ void isc_siphash24(const uint8_t *k, const uint8_t *in, size_t inlen, uint8_t *out) { - const uint64_t *key = (const uint64_t *)k; - uint64_t k0 = le64toh(key[0]); - uint64_t k1 = le64toh(key[1]); + uint64_t k0, k1; + + memcpy(&k0, k, sizeof(k0)); + memcpy(&k1, k + sizeof(k0), sizeof(k1)); + + k0 = le64toh(k0); + k1 = le64toh(k1); uint64_t v0 = 0x736f6d6570736575ULL ^ k0; uint64_t v1 = 0x646f72616e646f6dULL ^ k1;
CVS commit: src/external/mpl/bind/dist/lib/isc
Module Name:src Committed By: christos Date: Wed Oct 2 15:43:15 UTC 2019 Modified Files: src/external/mpl/bind/dist/lib/isc: siphash.c Log Message: PR/54594: Martin Husemann: bind may crash at startup Use memcpy(3) instead of assuming casting "uint8_t *" to "uint64_t *" and de-referencing works. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/external/mpl/bind/dist/lib/isc/siphash.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/external/gpl3/gdb/dist/gdb
Module Name:src Committed By: christos Date: Wed Oct 2 15:15:09 UTC 2019 Modified Files: src/external/gpl3/gdb/dist/gdb: arm-nbsd-tdep.c Log Message: Fix core-dump register fetching. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/external/gpl3/gdb/dist/gdb/arm-nbsd-tdep.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/external/gpl3/gdb/dist/gdb
Module Name:src Committed By: christos Date: Wed Oct 2 15:15:09 UTC 2019 Modified Files: src/external/gpl3/gdb/dist/gdb: arm-nbsd-tdep.c Log Message: Fix core-dump register fetching. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/external/gpl3/gdb/dist/gdb/arm-nbsd-tdep.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/external/gpl3/gdb/dist/gdb/arm-nbsd-tdep.c diff -u src/external/gpl3/gdb/dist/gdb/arm-nbsd-tdep.c:1.4 src/external/gpl3/gdb/dist/gdb/arm-nbsd-tdep.c:1.5 --- src/external/gpl3/gdb/dist/gdb/arm-nbsd-tdep.c:1.4 Sun May 26 17:40:01 2019 +++ src/external/gpl3/gdb/dist/gdb/arm-nbsd-tdep.c Wed Oct 2 11:15:09 2019 @@ -19,6 +19,8 @@ #include "defs.h" #include "osabi.h" +#include "gdbcore.h" +#include "regset.h" #include "arch/arm.h" #include "arm-tdep.h" @@ -36,6 +38,64 @@ static const gdb_byte arm_nbsd_arm_be_br static const gdb_byte arm_nbsd_thumb_le_breakpoint[] = {0xfe, 0xde}; static const gdb_byte arm_nbsd_thumb_be_breakpoint[] = {0xde, 0xfe}; +/* Register maps. */ + +static const struct regcache_map_entry arm_nbsd_gregmap[] = + { +{ 13, ARM_A1_REGNUM, 4 }, /* r0 ... r12 */ +{ 1, ARM_SP_REGNUM, 4 }, +{ 1, ARM_LR_REGNUM, 4 }, +{ 1, ARM_PC_REGNUM, 4 }, +{ 1, ARM_PS_REGNUM, 4 }, +{ 0 } + }; + +static const struct regcache_map_entry arm_nbsd_vfpregmap[] = + { +{ 1, ARM_FPS_REGNUM, 4 }, /* fpexc */ +{ 1, ARM_FPSCR_REGNUM, 4 }, /* fpscr */ +{ 1, REGCACHE_MAP_SKIP, 4 }, /* fpinst */ +{ 1, REGCACHE_MAP_SKIP, 4 }, /* fpinst2 */ +{ 32, ARM_D0_REGNUM, 8 }, /* d0 ... d31 */ /* really 33, not 32 */ +{ 1, REGCACHE_MAP_SKIP, 8 }, /* fstmx format */ +{ 0 } + }; + +/* Register set definitions. */ + +const struct regset arm_nbsd_gregset = + { +arm_nbsd_gregmap, +regcache_supply_regset, regcache_collect_regset + }; + +const struct regset arm_nbsd_vfpregset = + { +arm_nbsd_vfpregmap, +regcache_supply_regset, regcache_collect_regset + }; + +/* Implement the "regset_from_core_section" gdbarch method. */ + +#define ARM_NBSD_SIZEOF_GREGSET (17 * 4) +#define ARM_NBSD_SIZEOF_VFPREGSET (4 * 4 + 33 * 8) + +static void +arm_nbsd_iterate_over_regset_sections (struct gdbarch *gdbarch, + iterate_over_regset_sections_cb *cb, + void *cb_data, + const struct regcache *regcache) +{ + struct gdbarch_tdep *tdep = gdbarch_tdep (gdbarch); + + cb (".reg", ARM_NBSD_SIZEOF_GREGSET, ARM_NBSD_SIZEOF_GREGSET, + &arm_nbsd_gregset, NULL, cb_data); + + // XXX: Don't see it in core. + if (tdep->vfp_register_count > 0) +cb (".reg2", ARM_NBSD_SIZEOF_VFPREGSET, ARM_NBSD_SIZEOF_VFPREGSET, + &arm_nbsd_vfpregset, "VFP floating-point", cb_data); +} static void arm_netbsd_init_abi_common (struct gdbarch_info info, struct gdbarch *gdbarch) @@ -71,7 +131,7 @@ arm_netbsd_init_abi_common (struct gdbar set_gdbarch_software_single_step (gdbarch, arm_software_single_step); /* Core support */ set_gdbarch_iterate_over_regset_sections -(gdbarch, armbsd_iterate_over_regset_sections); +(gdbarch, arm_nbsd_iterate_over_regset_sections); }
CVS commit: src/doc
Module Name:src Committed By: maya Date: Wed Oct 2 11:18:55 UTC 2019 Modified Files: src/doc: CHANGES Log Message: Note /rescue is a separate set now. To generate a diff of this commit: cvs rdiff -u -r1.2586 -r1.2587 src/doc/CHANGES Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/doc/CHANGES diff -u src/doc/CHANGES:1.2586 src/doc/CHANGES:1.2587 --- src/doc/CHANGES:1.2586 Tue Oct 1 16:08:56 2019 +++ src/doc/CHANGES Wed Oct 2 11:18:55 2019 @@ -1,4 +1,4 @@ -# LIST OF CHANGES FROM LAST RELEASE: <$Revision: 1.2586 $> +# LIST OF CHANGES FROM LAST RELEASE: <$Revision: 1.2587 $> # # # [Note: This file does not mention every change made to the NetBSD source tree. @@ -49,4 +49,5 @@ Changes from NetBSD 9.0 to NetBSD 10.0: [jmcneill 20190921] libpcap: Import 1.9.1. [christos 20191001] tcpdump(8): Import 4.9.3. [christos 20191001] + rescue(8): Moved into a separate, rescue-only set. [maya 20191001]
CVS commit: src/doc
Module Name:src Committed By: maya Date: Wed Oct 2 11:18:55 UTC 2019 Modified Files: src/doc: CHANGES Log Message: Note /rescue is a separate set now. To generate a diff of this commit: cvs rdiff -u -r1.2586 -r1.2587 src/doc/CHANGES Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src
Module Name:src Committed By: maya Date: Wed Oct 2 11:16:04 UTC 2019 Modified Files: src/distrib/amd64/uefi-installimage: Makefile.bootimage src/distrib/common/bootimage: Makefile.bootimage src/distrib/miniroot: install.sub src/distrib/notes/atari: xfer src/distrib/notes/mvme68k: xfer src/distrib/sets: README maketars regpkgset sets.subr src/distrib/sun2: MakeInstTape src/distrib/sun3: MakeInstTape src/distrib/utils/embedded: mkimage src/etc: Makefile src/usr.sbin/sysinst: defs.h msg.mi.de msg.mi.en msg.mi.es msg.mi.fr msg.mi.pl util.c src/usr.sbin/sysinst/arch/acorn32: md.h src/usr.sbin/sysinst/arch/amd64: md.h src/usr.sbin/sysinst/arch/amiga: md.h src/usr.sbin/sysinst/arch/arc: md.h src/usr.sbin/sysinst/arch/atari: md.h src/usr.sbin/sysinst/arch/bebox: md.h src/usr.sbin/sysinst/arch/cats: md.h src/usr.sbin/sysinst/arch/cobalt: md.h src/usr.sbin/sysinst/arch/emips: md.h src/usr.sbin/sysinst/arch/evbarm: md.h src/usr.sbin/sysinst/arch/evbmips: md.h src/usr.sbin/sysinst/arch/evbppc: md.h src/usr.sbin/sysinst/arch/hp300: md.h src/usr.sbin/sysinst/arch/hpcarm: md.h src/usr.sbin/sysinst/arch/hpcmips: md.h src/usr.sbin/sysinst/arch/hpcsh: md.h src/usr.sbin/sysinst/arch/i386: md.h src/usr.sbin/sysinst/arch/landisk: md.h src/usr.sbin/sysinst/arch/mvme68k: md.h src/usr.sbin/sysinst/arch/ofppc: md.h src/usr.sbin/sysinst/arch/playstation2: md.h src/usr.sbin/sysinst/arch/pmax: md.h src/usr.sbin/sysinst/arch/prep: md.h src/usr.sbin/sysinst/arch/sandpoint: md.h src/usr.sbin/sysinst/arch/sgimips: md.h src/usr.sbin/sysinst/arch/shark: md.h src/usr.sbin/sysinst/arch/x68k: md.h src/usr.sbin/sysinst/arch/zaurus: md.h Added Files: src/distrib/sets/lists/rescue: mi Removed Files: src/distrib/sets/lists/base: rescue.mi Log Message: Split out /rescue to its own set and adapt installers/images to add it. This is meant to make updates safer: if something goes wrong with updating base, we still have the old, standalone /rescue to recover from. To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 \ src/distrib/amd64/uefi-installimage/Makefile.bootimage cvs rdiff -u -r1.21 -r1.22 src/distrib/common/bootimage/Makefile.bootimage cvs rdiff -u -r1.48 -r1.49 src/distrib/miniroot/install.sub cvs rdiff -u -r1.16 -r1.17 src/distrib/notes/atari/xfer cvs rdiff -u -r1.18 -r1.19 src/distrib/notes/mvme68k/xfer cvs rdiff -u -r1.13 -r1.14 src/distrib/sets/README cvs rdiff -u -r1.89 -r1.90 src/distrib/sets/maketars cvs rdiff -u -r1.12 -r1.13 src/distrib/sets/regpkgset cvs rdiff -u -r1.186 -r1.187 src/distrib/sets/sets.subr cvs rdiff -u -r1.46 -r0 src/distrib/sets/lists/base/rescue.mi cvs rdiff -u -r0 -r1.1 src/distrib/sets/lists/rescue/mi cvs rdiff -u -r1.1 -r1.2 src/distrib/sun2/MakeInstTape cvs rdiff -u -r1.2 -r1.3 src/distrib/sun3/MakeInstTape cvs rdiff -u -r1.69 -r1.70 src/distrib/utils/embedded/mkimage cvs rdiff -u -r1.440 -r1.441 src/etc/Makefile cvs rdiff -u -r1.44 -r1.45 src/usr.sbin/sysinst/defs.h cvs rdiff -u -r1.15 -r1.16 src/usr.sbin/sysinst/msg.mi.de cvs rdiff -u -r1.21 -r1.22 src/usr.sbin/sysinst/msg.mi.en cvs rdiff -u -r1.16 -r1.17 src/usr.sbin/sysinst/msg.mi.es cvs rdiff -u -r1.19 -r1.20 src/usr.sbin/sysinst/msg.mi.fr cvs rdiff -u -r1.22 -r1.23 src/usr.sbin/sysinst/msg.mi.pl cvs rdiff -u -r1.32 -r1.33 src/usr.sbin/sysinst/util.c cvs rdiff -u -r1.2 -r1.3 src/usr.sbin/sysinst/arch/acorn32/md.h cvs rdiff -u -r1.6 -r1.7 src/usr.sbin/sysinst/arch/amd64/md.h cvs rdiff -u -r1.3 -r1.4 src/usr.sbin/sysinst/arch/amiga/md.h cvs rdiff -u -r1.3 -r1.4 src/usr.sbin/sysinst/arch/arc/md.h cvs rdiff -u -r1.2 -r1.3 src/usr.sbin/sysinst/arch/atari/md.h cvs rdiff -u -r1.2 -r1.3 src/usr.sbin/sysinst/arch/bebox/md.h cvs rdiff -u -r1.3 -r1.4 src/usr.sbin/sysinst/arch/cats/md.h cvs rdiff -u -r1.3 -r1.4 src/usr.sbin/sysinst/arch/cobalt/md.h cvs rdiff -u -r1.4 -r1.5 src/usr.sbin/sysinst/arch/emips/md.h cvs rdiff -u -r1.2 -r1.3 src/usr.sbin/sysinst/arch/evbarm/md.h cvs rdiff -u -r1.2 -r1.3 src/usr.sbin/sysinst/arch/evbmips/md.h cvs rdiff -u -r1.2 -r1.3 src/usr.sbin/sysinst/arch/evbppc/md.h cvs rdiff -u -r1.4 -r1.5 src/usr.sbin/sysinst/arch/hp300/md.h cvs rdiff -u -r1.2 -r1.3 src/usr.sbin/sysinst/arch/hpcarm/md.h cvs rdiff -u -r1.2 -r1.3 src/usr.sbin/sysinst/arch/hpcmips/md.h cvs rdiff -u -r1.1 -r1.2 src/usr.sbin/sysinst/arch/hpcsh/md.h cvs rdiff -u -r1.6 -r1.7 src/usr.sbin/sysinst/arch/i386/md.h cvs rdiff -u -r1.1 -r1.2 src/usr.sbin/sysinst/arch/landisk/md.h cvs rdiff -u -r1.2 -r1.3 src/usr.sbin/sysinst/arch/mvme68k/md.h cvs rdiff -u -r1.3 -r1.4 src/usr.sbin/sysinst/arch/ofppc/md.h cvs rdiff -u -r1.1 -r1.2 src/usr.sbin/sysinst/arch/playstation2/md.h cvs rdiff -u -r1.3 -r1.4 src/usr.sbin/sysin
CVS commit: src
Module Name:src Committed By: maya Date: Wed Oct 2 11:16:04 UTC 2019 Modified Files: src/distrib/amd64/uefi-installimage: Makefile.bootimage src/distrib/common/bootimage: Makefile.bootimage src/distrib/miniroot: install.sub src/distrib/notes/atari: xfer src/distrib/notes/mvme68k: xfer src/distrib/sets: README maketars regpkgset sets.subr src/distrib/sun2: MakeInstTape src/distrib/sun3: MakeInstTape src/distrib/utils/embedded: mkimage src/etc: Makefile src/usr.sbin/sysinst: defs.h msg.mi.de msg.mi.en msg.mi.es msg.mi.fr msg.mi.pl util.c src/usr.sbin/sysinst/arch/acorn32: md.h src/usr.sbin/sysinst/arch/amd64: md.h src/usr.sbin/sysinst/arch/amiga: md.h src/usr.sbin/sysinst/arch/arc: md.h src/usr.sbin/sysinst/arch/atari: md.h src/usr.sbin/sysinst/arch/bebox: md.h src/usr.sbin/sysinst/arch/cats: md.h src/usr.sbin/sysinst/arch/cobalt: md.h src/usr.sbin/sysinst/arch/emips: md.h src/usr.sbin/sysinst/arch/evbarm: md.h src/usr.sbin/sysinst/arch/evbmips: md.h src/usr.sbin/sysinst/arch/evbppc: md.h src/usr.sbin/sysinst/arch/hp300: md.h src/usr.sbin/sysinst/arch/hpcarm: md.h src/usr.sbin/sysinst/arch/hpcmips: md.h src/usr.sbin/sysinst/arch/hpcsh: md.h src/usr.sbin/sysinst/arch/i386: md.h src/usr.sbin/sysinst/arch/landisk: md.h src/usr.sbin/sysinst/arch/mvme68k: md.h src/usr.sbin/sysinst/arch/ofppc: md.h src/usr.sbin/sysinst/arch/playstation2: md.h src/usr.sbin/sysinst/arch/pmax: md.h src/usr.sbin/sysinst/arch/prep: md.h src/usr.sbin/sysinst/arch/sandpoint: md.h src/usr.sbin/sysinst/arch/sgimips: md.h src/usr.sbin/sysinst/arch/shark: md.h src/usr.sbin/sysinst/arch/x68k: md.h src/usr.sbin/sysinst/arch/zaurus: md.h Added Files: src/distrib/sets/lists/rescue: mi Removed Files: src/distrib/sets/lists/base: rescue.mi Log Message: Split out /rescue to its own set and adapt installers/images to add it. This is meant to make updates safer: if something goes wrong with updating base, we still have the old, standalone /rescue to recover from. To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 \ src/distrib/amd64/uefi-installimage/Makefile.bootimage cvs rdiff -u -r1.21 -r1.22 src/distrib/common/bootimage/Makefile.bootimage cvs rdiff -u -r1.48 -r1.49 src/distrib/miniroot/install.sub cvs rdiff -u -r1.16 -r1.17 src/distrib/notes/atari/xfer cvs rdiff -u -r1.18 -r1.19 src/distrib/notes/mvme68k/xfer cvs rdiff -u -r1.13 -r1.14 src/distrib/sets/README cvs rdiff -u -r1.89 -r1.90 src/distrib/sets/maketars cvs rdiff -u -r1.12 -r1.13 src/distrib/sets/regpkgset cvs rdiff -u -r1.186 -r1.187 src/distrib/sets/sets.subr cvs rdiff -u -r1.46 -r0 src/distrib/sets/lists/base/rescue.mi cvs rdiff -u -r0 -r1.1 src/distrib/sets/lists/rescue/mi cvs rdiff -u -r1.1 -r1.2 src/distrib/sun2/MakeInstTape cvs rdiff -u -r1.2 -r1.3 src/distrib/sun3/MakeInstTape cvs rdiff -u -r1.69 -r1.70 src/distrib/utils/embedded/mkimage cvs rdiff -u -r1.440 -r1.441 src/etc/Makefile cvs rdiff -u -r1.44 -r1.45 src/usr.sbin/sysinst/defs.h cvs rdiff -u -r1.15 -r1.16 src/usr.sbin/sysinst/msg.mi.de cvs rdiff -u -r1.21 -r1.22 src/usr.sbin/sysinst/msg.mi.en cvs rdiff -u -r1.16 -r1.17 src/usr.sbin/sysinst/msg.mi.es cvs rdiff -u -r1.19 -r1.20 src/usr.sbin/sysinst/msg.mi.fr cvs rdiff -u -r1.22 -r1.23 src/usr.sbin/sysinst/msg.mi.pl cvs rdiff -u -r1.32 -r1.33 src/usr.sbin/sysinst/util.c cvs rdiff -u -r1.2 -r1.3 src/usr.sbin/sysinst/arch/acorn32/md.h cvs rdiff -u -r1.6 -r1.7 src/usr.sbin/sysinst/arch/amd64/md.h cvs rdiff -u -r1.3 -r1.4 src/usr.sbin/sysinst/arch/amiga/md.h cvs rdiff -u -r1.3 -r1.4 src/usr.sbin/sysinst/arch/arc/md.h cvs rdiff -u -r1.2 -r1.3 src/usr.sbin/sysinst/arch/atari/md.h cvs rdiff -u -r1.2 -r1.3 src/usr.sbin/sysinst/arch/bebox/md.h cvs rdiff -u -r1.3 -r1.4 src/usr.sbin/sysinst/arch/cats/md.h cvs rdiff -u -r1.3 -r1.4 src/usr.sbin/sysinst/arch/cobalt/md.h cvs rdiff -u -r1.4 -r1.5 src/usr.sbin/sysinst/arch/emips/md.h cvs rdiff -u -r1.2 -r1.3 src/usr.sbin/sysinst/arch/evbarm/md.h cvs rdiff -u -r1.2 -r1.3 src/usr.sbin/sysinst/arch/evbmips/md.h cvs rdiff -u -r1.2 -r1.3 src/usr.sbin/sysinst/arch/evbppc/md.h cvs rdiff -u -r1.4 -r1.5 src/usr.sbin/sysinst/arch/hp300/md.h cvs rdiff -u -r1.2 -r1.3 src/usr.sbin/sysinst/arch/hpcarm/md.h cvs rdiff -u -r1.2 -r1.3 src/usr.sbin/sysinst/arch/hpcmips/md.h cvs rdiff -u -r1.1 -r1.2 src/usr.sbin/sysinst/arch/hpcsh/md.h cvs rdiff -u -r1.6 -r1.7 src/usr.sbin/sysinst/arch/i386/md.h cvs rdiff -u -r1.1 -r1.2 src/usr.sbin/sysinst/arch/landisk/md.h cvs rdiff -u -r1.2 -r1.3 src/usr.sbin/sysinst/arch/mvme68k/md.h cvs rdiff -u -r1.3 -r1.4 src/usr.sbin/sysinst/arch/ofppc/md.h cvs rdiff -u -r1.1 -r1.2 src/usr.sbin/sysinst/arch/playstation2/md.h cvs rdiff -u -r1.3 -r1.4 src/usr.sbin/sysin
CVS commit: src/share/misc
Module Name:src Committed By: sevan Date: Wed Oct 2 11:14:46 UTC 2019 Modified Files: src/share/misc: acronyms.comp Log Message: DAAP DLNA To generate a diff of this commit: cvs rdiff -u -r1.291 -r1.292 src/share/misc/acronyms.comp Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/share/misc/acronyms.comp diff -u src/share/misc/acronyms.comp:1.291 src/share/misc/acronyms.comp:1.292 --- src/share/misc/acronyms.comp:1.291 Wed Sep 25 20:17:59 2019 +++ src/share/misc/acronyms.comp Wed Oct 2 11:14:46 2019 @@ -1,4 +1,4 @@ -$NetBSD: acronyms.comp,v 1.291 2019/09/25 20:17:59 sevan Exp $ +$NetBSD: acronyms.comp,v 1.292 2019/10/02 11:14:46 sevan Exp $ 3WHS three-way handshake 8VSB 8-state vestigial side band modulation AA anti-aliasing @@ -332,6 +332,7 @@ CVE common vulnerabilities and exposures CVS Concurrent Versions System DA destination address DAA distributed application architecture +DAAP digital audio access protocol DAB digital audio broadcasting DAC digital [to] analog converter DAC discretionary access control @@ -401,6 +402,7 @@ DL download DLCI data link connection identifier DLE data link escape DLL dynamic link library +DLNA digital living network alliance DLP discrete logarithm problem DMA direct memory access DMI desktop management interface
CVS commit: src/share/misc
Module Name:src Committed By: sevan Date: Wed Oct 2 11:14:46 UTC 2019 Modified Files: src/share/misc: acronyms.comp Log Message: DAAP DLNA To generate a diff of this commit: cvs rdiff -u -r1.291 -r1.292 src/share/misc/acronyms.comp Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/external/gpl3/gcc/usr.bin/gcc/arch/aarch64
Module Name:src Committed By: skrll Date: Wed Oct 2 10:34:48 UTC 2019 Modified Files: src/external/gpl3/gcc/usr.bin/gcc/arch/aarch64: defs.mk Log Message: Remove garbage. Maybe something is wrong with mknative or mrg's script? To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 \ src/external/gpl3/gcc/usr.bin/gcc/arch/aarch64/defs.mk Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/external/gpl3/gcc/usr.bin/gcc/arch/aarch64/defs.mk diff -u src/external/gpl3/gcc/usr.bin/gcc/arch/aarch64/defs.mk:1.6 src/external/gpl3/gcc/usr.bin/gcc/arch/aarch64/defs.mk:1.7 --- src/external/gpl3/gcc/usr.bin/gcc/arch/aarch64/defs.mk:1.6 Wed Oct 2 07:15:01 2019 +++ src/external/gpl3/gcc/usr.bin/gcc/arch/aarch64/defs.mk Wed Oct 2 10:34:48 2019 @@ -2,857 +2,6 @@ # Generated from: NetBSD: mknative-gcc,v 1.101 2019/02/23 06:54:45 mrg Exp # Generated from: NetBSD: mknative.common,v 1.16 2018/04/15 15:13:37 christos Exp # -running CONFIG_SHELL=/bin/sh /bin/sh /usr/src/external/gpl3/gcc/dist/gcc/configure --srcdir=/usr/src/tools/gcc/../../external/gpl3/gcc/dist/gcc --cache-file=./config.cache --enable-long-long --enable-threads --with-bugurl=http://www.NetBSD.org/support/send-pr.html --with-pkgversion=NetBSD nb1 20190930 --with-system-zlib --without-isl --enable-__cxa_atexit --enable-libstdcxx-time=rt --enable-libstdcxx-threads --with-diagnostics-color=auto-if-env --enable-fix-cortex-a53-835769 --enable-fix-cortex-a53-843419 --with-default-libstdcxx-abi=new --with-mpc-lib=/var/obj/mknative/evbarm-aarch64/usr/src/external/lgpl3/mpc/lib/libmpc --with-mpfr-lib=/var/obj/mknative/evbarm-aarch64/usr/src/external/lgpl3/mpfr/lib/libmpfr --with-gmp-lib=/var/obj/mknative/evbarm-aarch64/usr/src/external/lgpl3/gmp/lib/libgmp --with-mpc-include=/usr/src/external/lgpl3/mpc/dist/src --with-mpfr-include=/usr/src/external/lgpl3/mpfr/dist/src --with-gmp-include=/usr/src/external/lgpl3/gmp/lib/libgmp/arch/aarch64 --enabl e-tls --disable-multilib --disable-libstdcxx-pch --with-sysroot=/var/obj/mknative/evbarm-aarch64/usr/src/destdir.evbarm --enable-languages=c,c++,lto,objc --program-transform-name=s,y,y, --disable-option-checking --build=x86_64-unknown-netbsd9.0 --host=aarch64--netbsd --target=aarch64--netbsd build_alias=x86_64-unknown-netbsd9.0 host_alias=aarch64--netbsd target_alias=aarch64--netbsd CC=/var/obj/mknative/evbarm-aarch64/usr/src/tooldir.NetBSD-9.0_BETA-amd64/bin/aarch64--netbsd-gcc --sysroot=/var/obj/mknative/evbarm-aarch64/usr/src/destdir.evbarm -L/var/obj/mknative/evbarm-aarch64/usr/src/destdir.evbarm/lib -L/var/obj/mknative/evbarm-aarch64/usr/src/destdir.evbarm/usr/lib -B/var/obj/mknative/evbarm-aarch64/usr/src/destdir.evbarm/usr/lib/ -I/var/obj/mknative/evbarm-aarch64/usr/src/tools/gcc/.native/gcc/include CFLAGS= LDFLAGS=-static-libstdc++ -static-libgcc CPPFLAGS= CXX=/var/obj/mknative/evbarm-aarch64/usr/src/tooldir.NetBSD-9.0_BETA-amd64/bin/aarch64--netbsd-c++ --sysroot=/var/obj/m knative/evbarm-aarch64/usr/src/destdir.evbarm -L/var/obj/mknative/evbarm-aarch64/usr/src/destdir.evbarm/lib -L/var/obj/mknative/evbarm-aarch64/usr/src/destdir.evbarm/usr/lib -B/var/obj/mknative/evbarm-aarch64/usr/src/destdir.evbarm/usr/lib/ -I/var/obj/mknative/evbarm-aarch64/usr/src/tools/gcc/.native/gcc/include --sysroot=/var/obj/mknative/evbarm-aarch64/usr/src/destdir.evbarm CXXFLAGS= CPP=/var/obj/mknative/evbarm-aarch64/usr/src/tooldir.NetBSD-9.0_BETA-amd64/bin/aarch64--netbsd-cpp -I/var/obj/mknative/evbarm-aarch64/usr/src/destdir.evbarm/usr/include -I/var/obj/mknative/evbarm-aarch64/usr/src/destdir.evbarm/usr/include/g++/bits GMPLIBS=-L/var/obj/mknative/evbarm-aarch64/usr/src/external/lgpl3/gmp/lib/libgmp -L/var/obj/mknative/evbarm-aarch64/usr/src/external/lgpl3/mpfr/lib/libmpfr -L/var/obj/mknative/evbarm-aarch64/usr/src/external/lgpl3/mpc/lib/libmpc -lmpc -lmpfr -lgmp GMPINC=-I/usr/src/external/lgpl3/gmp/lib/libgmp/arch/aarch64 -I/usr/src/external/lgpl3/mpfr/dist/src -I/usr/src /external/lgpl3/mpc/dist/src ISLLIBS= ISLINC= --no-create --no-recursion -configure: loading cache ./config.cache -checking build system type... (cached) x86_64-unknown-netbsd9.0 -checking host system type... (cached) aarch64--netbsd -checking target system type... (cached) aarch64--netbsd -checking LIBRARY_PATH variable... ok -checking GCC_EXEC_PREFIX variable... ok -checking whether to place generated files in the source directory... no -checking whether a default linker was specified... no -checking whether a default assembler was specified... no -checking for aarch64--netbsd-gcc... (cached) /var/obj/mknative/evbarm-aarch64/usr/src/tooldir.NetBSD-9.0_BETA-amd64/bin/aarch64--netbsd-gcc --sysroot=/var/obj/mknative/evbarm-aarch64/usr/src/destdir.evbarm -L/var/obj/mknative/evbarm-aarch64/usr/src/destdir.evbarm/lib -L/var/obj/mknative/evbarm-aarch64/usr/src/destdir.evbarm/usr/lib -B/var/obj/mknative/evbarm-aarch64/usr/src/destdir.evbarm/us
CVS commit: src/external/gpl3/gcc/usr.bin/gcc/arch/aarch64
Module Name:src Committed By: skrll Date: Wed Oct 2 10:34:48 UTC 2019 Modified Files: src/external/gpl3/gcc/usr.bin/gcc/arch/aarch64: defs.mk Log Message: Remove garbage. Maybe something is wrong with mknative or mrg's script? To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 \ src/external/gpl3/gcc/usr.bin/gcc/arch/aarch64/defs.mk Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/distrib/sets/lists/base
Module Name:src Committed By: maya Date: Wed Oct 2 09:47:25 UTC 2019 Modified Files: src/distrib/sets/lists/base: rescue.mi Removed Files: src/distrib/sets/lists/base: rescue.ad.m68k rescue.mac68k rescue.macppc rescue.sparc64 rescue.sun2 Log Message: Mark /rescue/edlabel as MI-obsolete, so we can remove all remaining MD rescue set list files. To generate a diff of this commit: cvs rdiff -u -r1.4 -r0 src/distrib/sets/lists/base/rescue.ad.m68k \ src/distrib/sets/lists/base/rescue.macppc \ src/distrib/sets/lists/base/rescue.sparc64 \ src/distrib/sets/lists/base/rescue.sun2 cvs rdiff -u -r1.3 -r0 src/distrib/sets/lists/base/rescue.mac68k cvs rdiff -u -r1.45 -r1.46 src/distrib/sets/lists/base/rescue.mi Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/distrib/sets/lists/base/rescue.mi diff -u src/distrib/sets/lists/base/rescue.mi:1.45 src/distrib/sets/lists/base/rescue.mi:1.46 --- src/distrib/sets/lists/base/rescue.mi:1.45 Wed Oct 2 09:45:10 2019 +++ src/distrib/sets/lists/base/rescue.mi Wed Oct 2 09:47:24 2019 @@ -1,4 +1,4 @@ -# $NetBSD: rescue.mi,v 1.45 2019/10/02 09:45:10 maya Exp $ +# $NetBSD: rescue.mi,v 1.46 2019/10/02 09:47:24 maya Exp $ # # Note: don't delete entries from here - mark them as "obsolete" instead. # @@ -33,6 +33,7 @@ ./rescue/dumplfsbase-rescue-root ./rescue/echo base-rescue-root ./rescue/ed base-rescue-root +./rescue/edlabelbase-obsolete obsolete ./rescue/egrep base-rescue-root ./rescue/ekermitbase-rescue-root ./rescue/ex base-rescue-root
CVS commit: src/distrib/sets/lists/base
Module Name:src Committed By: maya Date: Wed Oct 2 09:47:25 UTC 2019 Modified Files: src/distrib/sets/lists/base: rescue.mi Removed Files: src/distrib/sets/lists/base: rescue.ad.m68k rescue.mac68k rescue.macppc rescue.sparc64 rescue.sun2 Log Message: Mark /rescue/edlabel as MI-obsolete, so we can remove all remaining MD rescue set list files. To generate a diff of this commit: cvs rdiff -u -r1.4 -r0 src/distrib/sets/lists/base/rescue.ad.m68k \ src/distrib/sets/lists/base/rescue.macppc \ src/distrib/sets/lists/base/rescue.sparc64 \ src/distrib/sets/lists/base/rescue.sun2 cvs rdiff -u -r1.3 -r0 src/distrib/sets/lists/base/rescue.mac68k cvs rdiff -u -r1.45 -r1.46 src/distrib/sets/lists/base/rescue.mi Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src
Module Name:src Committed By: maya Date: Wed Oct 2 09:45:10 UTC 2019 Modified Files: src/distrib/sets/lists/base: rescue.mi src/rescue: Makefile Removed Files: src/distrib/sets/lists/base: rescue.ad.arm rescue.ad.m68k.shl rescue.i386 rescue.shark rescue.sparc rescue.vax src/rescue: list.ldconfig Log Message: Remove ldconfig from /rescue, and mark it MI obsolete. - ldconfig in netbsd refers to a.out binaries only. We've been ELF-only since NetBSD 2.0 or so, and having it in /rescue served little purpose even before that, as /rescue is standalone. - Using MI obsolete to avoid the need for MD set lists where ldconfig is the sole entry To generate a diff of this commit: cvs rdiff -u -r1.3 -r0 src/distrib/sets/lists/base/rescue.ad.arm \ src/distrib/sets/lists/base/rescue.ad.m68k.shl \ src/distrib/sets/lists/base/rescue.shark \ src/distrib/sets/lists/base/rescue.vax cvs rdiff -u -r1.4 -r0 src/distrib/sets/lists/base/rescue.i386 cvs rdiff -u -r1.44 -r1.45 src/distrib/sets/lists/base/rescue.mi cvs rdiff -u -r1.5 -r0 src/distrib/sets/lists/base/rescue.sparc cvs rdiff -u -r1.37 -r1.38 src/rescue/Makefile cvs rdiff -u -r1.1 -r0 src/rescue/list.ldconfig Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src
Module Name:src Committed By: maya Date: Wed Oct 2 09:45:10 UTC 2019 Modified Files: src/distrib/sets/lists/base: rescue.mi src/rescue: Makefile Removed Files: src/distrib/sets/lists/base: rescue.ad.arm rescue.ad.m68k.shl rescue.i386 rescue.shark rescue.sparc rescue.vax src/rescue: list.ldconfig Log Message: Remove ldconfig from /rescue, and mark it MI obsolete. - ldconfig in netbsd refers to a.out binaries only. We've been ELF-only since NetBSD 2.0 or so, and having it in /rescue served little purpose even before that, as /rescue is standalone. - Using MI obsolete to avoid the need for MD set lists where ldconfig is the sole entry To generate a diff of this commit: cvs rdiff -u -r1.3 -r0 src/distrib/sets/lists/base/rescue.ad.arm \ src/distrib/sets/lists/base/rescue.ad.m68k.shl \ src/distrib/sets/lists/base/rescue.shark \ src/distrib/sets/lists/base/rescue.vax cvs rdiff -u -r1.4 -r0 src/distrib/sets/lists/base/rescue.i386 cvs rdiff -u -r1.44 -r1.45 src/distrib/sets/lists/base/rescue.mi cvs rdiff -u -r1.5 -r0 src/distrib/sets/lists/base/rescue.sparc cvs rdiff -u -r1.37 -r1.38 src/rescue/Makefile cvs rdiff -u -r1.1 -r0 src/rescue/list.ldconfig Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/distrib/sets/lists/base/rescue.mi diff -u src/distrib/sets/lists/base/rescue.mi:1.44 src/distrib/sets/lists/base/rescue.mi:1.45 --- src/distrib/sets/lists/base/rescue.mi:1.44 Wed Dec 12 07:04:05 2018 +++ src/distrib/sets/lists/base/rescue.mi Wed Oct 2 09:45:10 2019 @@ -1,4 +1,4 @@ -# $NetBSD: rescue.mi,v 1.44 2018/12/12 07:04:05 maxv Exp $ +# $NetBSD: rescue.mi,v 1.45 2019/10/02 09:45:10 maya Exp $ # # Note: don't delete entries from here - mark them as "obsolete" instead. # @@ -64,6 +64,7 @@ ./rescue/ksh base-rescue-root ./rescue/ktrace base-rescue-root ./rescue/ktruss base-rescue-root +./rescue/ldconfigbase-obsolete obsolete ./rescue/ldd base-rescue-root ./rescue/less base-rescue-root ./rescue/lfs_cleanerdbase-rescue-root Index: src/rescue/Makefile diff -u src/rescue/Makefile:1.37 src/rescue/Makefile:1.38 --- src/rescue/Makefile:1.37 Sun Jan 27 04:42:46 2019 +++ src/rescue/Makefile Wed Oct 2 09:45:10 2019 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.37 2019/01/27 04:42:46 dholland Exp $ +# $NetBSD: Makefile,v 1.38 2019/10/02 09:45:10 maya Exp $ NOLIBCSANITIZER= # defined NOSANITIZER= # defined @@ -27,13 +27,6 @@ LISTS= ${.CURDIR}/list TARGETDIR= ${DESTDIR}/rescue PARSELISTENV+= TARGETDIR=${TARGETDIR:Q} -.for f in ldconfig -PROG_${f}!= cd ${NETBSDSRCDIR}/sbin/${f} && ${MAKE} -V PROG -.if (${PROG_${f}} != "") -LISTS+= ${.CURDIR}/list.${f} -.endif -.endfor - .for f in pdisk PROG_${f}!= cd ${NETBSDSRCDIR}/external/bsd/${f}/bin && ${MAKE} -V PROG .if (${PROG_${f}} != "")
CVS commit: src/sys/ddb
Module Name:src Committed By: rin Date: Wed Oct 2 09:36:30 UTC 2019 Modified Files: src/sys/ddb: db_lex.c Log Message: Simplify logic to get rid of implicit dependence on order of ASCII codes of upper and lower cases ('a' > 'A'). Found by the lgtm bot. No functional changes intended. To generate a diff of this commit: cvs rdiff -u -r1.23 -r1.24 src/sys/ddb/db_lex.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sys/ddb/db_lex.c diff -u src/sys/ddb/db_lex.c:1.23 src/sys/ddb/db_lex.c:1.24 --- src/sys/ddb/db_lex.c:1.23 Sun Sep 29 02:00:22 2019 +++ src/sys/ddb/db_lex.c Wed Oct 2 09:36:30 2019 @@ -1,4 +1,4 @@ -/* $NetBSD: db_lex.c,v 1.23 2019/09/29 02:00:22 uwe Exp $ */ +/* $NetBSD: db_lex.c,v 1.24 2019/10/02 09:36:30 rin Exp $ */ /* * Mach Operating System @@ -34,7 +34,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: db_lex.c,v 1.23 2019/09/29 02:00:22 uwe Exp $"); +__KERNEL_RCSID(0, "$NetBSD: db_lex.c,v 1.24 2019/10/02 09:36:30 rin Exp $"); #include #include @@ -210,14 +210,14 @@ db_lex(void) for (;;) { if (c >= '0' && c <= ((r == 8) ? '7' : '9')) digit = c - '0'; - else if (r == 16 && ((c >= 'A' && c <= 'F') || -(c >= 'a' && c <= 'f'))) { -if (c >= 'a') - digit = c - 'a' + 10; -else if (c >= 'A') + else if (r == 16) { +if (c >= 'A' && c <= 'F') digit = c - 'A' + 10; - } - else +else if (c >= 'a' && c <= 'f') + digit = c - 'a' + 10; +else + break; + } else break; db_tok_number = db_tok_number * r + digit; c = db_read_char();
CVS commit: src/sys/ddb
Module Name:src Committed By: rin Date: Wed Oct 2 09:36:30 UTC 2019 Modified Files: src/sys/ddb: db_lex.c Log Message: Simplify logic to get rid of implicit dependence on order of ASCII codes of upper and lower cases ('a' > 'A'). Found by the lgtm bot. No functional changes intended. To generate a diff of this commit: cvs rdiff -u -r1.23 -r1.24 src/sys/ddb/db_lex.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Re: CVS commit: src
Oops, s/roundup2/rounddown2/ in the commit log. rin On 2019/10/02 17:21, Rin Okuyama wrote: Module Name:src Committed By: rin Date: Wed Oct 2 08:21:08 UTC 2019 Modified Files: src/distrib/sets/lists/comp: mi src/share/man/man9: Makefile roundup.9 Log Message: Describe roundup2(9) in roundup(9). Bump date. Install it also as roundup2(9). To generate a diff of this commit: cvs rdiff -u -r1.2287 -r1.2288 src/distrib/sets/lists/comp/mi cvs rdiff -u -r1.440 -r1.441 src/share/man/man9/Makefile cvs rdiff -u -r1.8 -r1.9 src/share/man/man9/roundup.9 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/distrib/sets/lists/comp/mi diff -u src/distrib/sets/lists/comp/mi:1.2287 src/distrib/sets/lists/comp/mi:1.2288 --- src/distrib/sets/lists/comp/mi:1.2287 Tue Oct 1 16:07:14 2019 +++ src/distrib/sets/lists/comp/mi Wed Oct 2 08:21:08 2019 @@ -1,4 +1,4 @@ -# $NetBSD: mi,v 1.2287 2019/10/01 16:07:14 christos Exp $ +# $NetBSD: mi,v 1.2288 2019/10/02 08:21:08 rin Exp $ # # Note: don't delete entries from here - mark them as "obsolete" instead. ./etc/mtree/set.comp comp-sys-root @@ -11718,6 +11718,7 @@ ./usr/share/man/cat9/rootconf.0 comp-sys-catman .cat ./usr/share/man/cat9/round_page.0 comp-sys-catman .cat ./usr/share/man/cat9/rounddown.0 comp-sys-catman .cat +./usr/share/man/cat9/rounddown2.0 comp-sys-catman .cat ./usr/share/man/cat9/roundup.0comp-sys-catman .cat ./usr/share/man/cat9/roundup2.0 comp-sys-catman .cat ./usr/share/man/cat9/rssadapt.0 comp-sys-catman .cat @@ -19623,6 +19624,7 @@ ./usr/share/man/html9/rootconf.html comp-sys-htmlmanhtml ./usr/share/man/html9/round_page.html comp-sys-htmlmanhtml ./usr/share/man/html9/rounddown.html comp-sys-htmlmanhtml +./usr/share/man/html9/rounddown2.html comp-sys-htmlmanhtml ./usr/share/man/html9/roundup.htmlcomp-sys-htmlmanhtml ./usr/share/man/html9/roundup2.html comp-sys-htmlmanhtml ./usr/share/man/html9/rssadapt.html comp-sys-htmlmanhtml @@ -27709,6 +27711,7 @@ ./usr/share/man/man9/rootconf.9 comp-sys-man .man ./usr/share/man/man9/round_page.9 comp-sys-man.man ./usr/share/man/man9/rounddown.9 comp-sys-man.man +./usr/share/man/man9/rounddown2.9 comp-sys-man.man ./usr/share/man/man9/roundup.9comp-sys-man .man ./usr/share/man/man9/roundup2.9 comp-sys-man .man ./usr/share/man/man9/rssadapt.9 comp-sys-man .man Index: src/share/man/man9/Makefile diff -u src/share/man/man9/Makefile:1.440 src/share/man/man9/Makefile:1.441 --- src/share/man/man9/Makefile:1.440 Wed Aug 28 21:48:14 2019 +++ src/share/man/man9/Makefile Wed Oct 2 08:21:08 2019 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.440 2019/08/28 21:48:14 rmind Exp $ +# $NetBSD: Makefile,v 1.441 2019/10/02 08:21:08 rin Exp $ # Makefile for section 9 (kernel function and variable) manual pages. @@ -787,6 +787,7 @@ MLINKS+=rnd.9 rnd_attach_source.9 rnd.9 rnd.9 rnd_add_data.9 rnd.9 rnd_add_uint32.9 MLINKS+=roundup.9 howmany.9 \ roundup.9 rounddown.9 \ + roundup.9 rounddown2.9 \ roundup.9 roundup2.9 \ roundup.9 powerof2.9 MLINKS+=rssadapt.9 ieee80211_rssadapt_choose.9 \ Index: src/share/man/man9/roundup.9 diff -u src/share/man/man9/roundup.9:1.8 src/share/man/man9/roundup.9:1.9 --- src/share/man/man9/roundup.9:1.8Wed Jun 1 11:19:19 2011 +++ src/share/man/man9/roundup.9Wed Oct 2 08:21:08 2019 @@ -1,4 +1,4 @@ -.\" $NetBSD: roundup.9,v 1.8 2011/06/01 11:19:19 jruoho Exp $ +.\" $NetBSD: roundup.9,v 1.9 2019/10/02 08:21:08 rin Exp $ .\" .\" Copyright (c) 2010 The NetBSD Foundation, Inc. .\" All rights reserved. @@ -27,7 +27,7 @@ .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE .\" POSSIBILITY OF SUCH DAMAGE. .\" -.Dd June 1, 2011 +.Dd October 2, 2019 .Dt ROUNDUP 9 .Os .Sh NAME @@ -43,6 +43,8 @@ .Fn rounddown "x" "size" .Ft size .Fn roundup2 "x" "size" +.Ft size +.Fn rounddown2 "x" "size" .Ft int .Fn powerof2 "x" .Sh DESCRIPTION @@ -64,7 +66,9 @@ rounding the residual up. .Pp The .Fn roundup2 -macro also rounds up, but with the assumption that +and +.Fn rounddown2 +macros also round up and down, respectively, but with the assumption that .Fa size is a power of two. If
CVS commit: src
Module Name:src Committed By: rin Date: Wed Oct 2 08:21:08 UTC 2019 Modified Files: src/distrib/sets/lists/comp: mi src/share/man/man9: Makefile roundup.9 Log Message: Describe roundup2(9) in roundup(9). Bump date. Install it also as roundup2(9). To generate a diff of this commit: cvs rdiff -u -r1.2287 -r1.2288 src/distrib/sets/lists/comp/mi cvs rdiff -u -r1.440 -r1.441 src/share/man/man9/Makefile cvs rdiff -u -r1.8 -r1.9 src/share/man/man9/roundup.9 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/distrib/sets/lists/comp/mi diff -u src/distrib/sets/lists/comp/mi:1.2287 src/distrib/sets/lists/comp/mi:1.2288 --- src/distrib/sets/lists/comp/mi:1.2287 Tue Oct 1 16:07:14 2019 +++ src/distrib/sets/lists/comp/mi Wed Oct 2 08:21:08 2019 @@ -1,4 +1,4 @@ -# $NetBSD: mi,v 1.2287 2019/10/01 16:07:14 christos Exp $ +# $NetBSD: mi,v 1.2288 2019/10/02 08:21:08 rin Exp $ # # Note: don't delete entries from here - mark them as "obsolete" instead. ./etc/mtree/set.compcomp-sys-root @@ -11718,6 +11718,7 @@ ./usr/share/man/cat9/rootconf.0 comp-sys-catman .cat ./usr/share/man/cat9/round_page.0 comp-sys-catman .cat ./usr/share/man/cat9/rounddown.0 comp-sys-catman .cat +./usr/share/man/cat9/rounddown2.0 comp-sys-catman .cat ./usr/share/man/cat9/roundup.0 comp-sys-catman .cat ./usr/share/man/cat9/roundup2.0 comp-sys-catman .cat ./usr/share/man/cat9/rssadapt.0 comp-sys-catman .cat @@ -19623,6 +19624,7 @@ ./usr/share/man/html9/rootconf.html comp-sys-htmlman html ./usr/share/man/html9/round_page.html comp-sys-htmlman html ./usr/share/man/html9/rounddown.html comp-sys-htmlman html +./usr/share/man/html9/rounddown2.html comp-sys-htmlman html ./usr/share/man/html9/roundup.html comp-sys-htmlman html ./usr/share/man/html9/roundup2.html comp-sys-htmlman html ./usr/share/man/html9/rssadapt.html comp-sys-htmlman html @@ -27709,6 +27711,7 @@ ./usr/share/man/man9/rootconf.9 comp-sys-man .man ./usr/share/man/man9/round_page.9 comp-sys-man .man ./usr/share/man/man9/rounddown.9 comp-sys-man .man +./usr/share/man/man9/rounddown2.9 comp-sys-man .man ./usr/share/man/man9/roundup.9 comp-sys-man .man ./usr/share/man/man9/roundup2.9 comp-sys-man .man ./usr/share/man/man9/rssadapt.9 comp-sys-man .man Index: src/share/man/man9/Makefile diff -u src/share/man/man9/Makefile:1.440 src/share/man/man9/Makefile:1.441 --- src/share/man/man9/Makefile:1.440 Wed Aug 28 21:48:14 2019 +++ src/share/man/man9/Makefile Wed Oct 2 08:21:08 2019 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.440 2019/08/28 21:48:14 rmind Exp $ +# $NetBSD: Makefile,v 1.441 2019/10/02 08:21:08 rin Exp $ # Makefile for section 9 (kernel function and variable) manual pages. @@ -787,6 +787,7 @@ MLINKS+=rnd.9 rnd_attach_source.9 rnd.9 rnd.9 rnd_add_data.9 rnd.9 rnd_add_uint32.9 MLINKS+=roundup.9 howmany.9 \ roundup.9 rounddown.9 \ + roundup.9 rounddown2.9 \ roundup.9 roundup2.9 \ roundup.9 powerof2.9 MLINKS+=rssadapt.9 ieee80211_rssadapt_choose.9 \ Index: src/share/man/man9/roundup.9 diff -u src/share/man/man9/roundup.9:1.8 src/share/man/man9/roundup.9:1.9 --- src/share/man/man9/roundup.9:1.8 Wed Jun 1 11:19:19 2011 +++ src/share/man/man9/roundup.9 Wed Oct 2 08:21:08 2019 @@ -1,4 +1,4 @@ -.\" $NetBSD: roundup.9,v 1.8 2011/06/01 11:19:19 jruoho Exp $ +.\" $NetBSD: roundup.9,v 1.9 2019/10/02 08:21:08 rin Exp $ .\" .\" Copyright (c) 2010 The NetBSD Foundation, Inc. .\" All rights reserved. @@ -27,7 +27,7 @@ .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE .\" POSSIBILITY OF SUCH DAMAGE. .\" -.Dd June 1, 2011 +.Dd October 2, 2019 .Dt ROUNDUP 9 .Os .Sh NAME @@ -43,6 +43,8 @@ .Fn rounddown "x" "size" .Ft size .Fn roundup2 "x" "size" +.Ft size +.Fn rounddown2 "x" "size" .Ft int .Fn powerof2 "x" .Sh DESCRIPTION @@ -64,7 +66,9 @@ rounding the residual up. .Pp The .Fn roundup2 -macro also rounds up, but with the assumption that +and +.Fn rounddown2 +macros also round up and down, respectively, but with the assumption that .Fa size is a power of two. If
CVS commit: src
Module Name:src Committed By: rin Date: Wed Oct 2 08:21:08 UTC 2019 Modified Files: src/distrib/sets/lists/comp: mi src/share/man/man9: Makefile roundup.9 Log Message: Describe roundup2(9) in roundup(9). Bump date. Install it also as roundup2(9). To generate a diff of this commit: cvs rdiff -u -r1.2287 -r1.2288 src/distrib/sets/lists/comp/mi cvs rdiff -u -r1.440 -r1.441 src/share/man/man9/Makefile cvs rdiff -u -r1.8 -r1.9 src/share/man/man9/roundup.9 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/external/gpl3/gcc
Module Name:src Committed By: mrg Date: Wed Oct 2 07:15:06 UTC 2019 Modified Files: src/external/gpl3/gcc/lib/libbacktrace/arch/aarch64: backtrace-supported.h config.h src/external/gpl3/gcc/lib/libbacktrace/arch/alpha: backtrace-supported.h config.h src/external/gpl3/gcc/lib/libbacktrace/arch/arm: backtrace-supported.h config.h src/external/gpl3/gcc/lib/libbacktrace/arch/armeb: backtrace-supported.h config.h src/external/gpl3/gcc/lib/libbacktrace/arch/earm: backtrace-supported.h config.h src/external/gpl3/gcc/lib/libbacktrace/arch/earmeb: backtrace-supported.h config.h src/external/gpl3/gcc/lib/libbacktrace/arch/earmhf: backtrace-supported.h config.h src/external/gpl3/gcc/lib/libbacktrace/arch/earmhfeb: backtrace-supported.h config.h src/external/gpl3/gcc/lib/libbacktrace/arch/earmv4: backtrace-supported.h config.h src/external/gpl3/gcc/lib/libbacktrace/arch/earmv4eb: backtrace-supported.h config.h src/external/gpl3/gcc/lib/libbacktrace/arch/earmv6: backtrace-supported.h config.h src/external/gpl3/gcc/lib/libbacktrace/arch/earmv6eb: backtrace-supported.h config.h src/external/gpl3/gcc/lib/libbacktrace/arch/earmv6hf: backtrace-supported.h config.h src/external/gpl3/gcc/lib/libbacktrace/arch/earmv6hfeb: backtrace-supported.h config.h src/external/gpl3/gcc/lib/libbacktrace/arch/earmv7: backtrace-supported.h config.h src/external/gpl3/gcc/lib/libbacktrace/arch/earmv7eb: backtrace-supported.h config.h src/external/gpl3/gcc/lib/libbacktrace/arch/earmv7hf: backtrace-supported.h config.h src/external/gpl3/gcc/lib/libbacktrace/arch/earmv7hfeb: backtrace-supported.h config.h src/external/gpl3/gcc/lib/libbacktrace/arch/hppa: backtrace-supported.h config.h src/external/gpl3/gcc/lib/libbacktrace/arch/i386: backtrace-supported.h config.h src/external/gpl3/gcc/lib/libbacktrace/arch/ia64: backtrace-supported.h config.h src/external/gpl3/gcc/lib/libbacktrace/arch/m68000: backtrace-supported.h config.h src/external/gpl3/gcc/lib/libbacktrace/arch/m68k: backtrace-supported.h config.h src/external/gpl3/gcc/lib/libbacktrace/arch/mips64eb: backtrace-supported.h config.h src/external/gpl3/gcc/lib/libbacktrace/arch/mips64el: backtrace-supported.h config.h src/external/gpl3/gcc/lib/libbacktrace/arch/mipseb: backtrace-supported.h config.h src/external/gpl3/gcc/lib/libbacktrace/arch/mipsel: backtrace-supported.h config.h src/external/gpl3/gcc/lib/libbacktrace/arch/powerpc: backtrace-supported.h config.h src/external/gpl3/gcc/lib/libbacktrace/arch/riscv32: backtrace-supported.h config.h src/external/gpl3/gcc/lib/libbacktrace/arch/riscv64: backtrace-supported.h config.h src/external/gpl3/gcc/lib/libbacktrace/arch/sh3eb: backtrace-supported.h config.h src/external/gpl3/gcc/lib/libbacktrace/arch/sh3el: backtrace-supported.h config.h src/external/gpl3/gcc/lib/libbacktrace/arch/sparc: backtrace-supported.h config.h src/external/gpl3/gcc/lib/libbacktrace/arch/sparc64: backtrace-supported.h config.h src/external/gpl3/gcc/lib/libbacktrace/arch/vax: backtrace-supported.h config.h src/external/gpl3/gcc/lib/libbacktrace/arch/x86_64: backtrace-supported.h config.h src/external/gpl3/gcc/lib/libgcc/arch/aarch64: auto-target.h src/external/gpl3/gcc/lib/libgcc/arch/alpha: auto-target.h src/external/gpl3/gcc/lib/libgcc/arch/arm: auto-target.h src/external/gpl3/gcc/lib/libgcc/arch/armeb: auto-target.h src/external/gpl3/gcc/lib/libgcc/arch/earm: auto-target.h src/external/gpl3/gcc/lib/libgcc/arch/earmeb: auto-target.h src/external/gpl3/gcc/lib/libgcc/arch/earmhf: auto-target.h src/external/gpl3/gcc/lib/libgcc/arch/earmhfeb: auto-target.h src/external/gpl3/gcc/lib/libgcc/arch/earmv4: auto-target.h src/external/gpl3/gcc/lib/libgcc/arch/earmv4eb: auto-target.h src/external/gpl3/gcc/lib/libgcc/arch/earmv6: auto-target.h src/external/gpl3/gcc/lib/libgcc/arch/earmv6eb: auto-target.h src/external/gpl3/gcc/lib/libgcc/arch/earmv6hf: auto-target.h src/external/gpl3/gcc/lib/libgcc/arch/earmv6hfeb: auto-target.h src/external/gpl3/gcc/lib/libgcc/arch/earmv7: auto-target.h src/external/gpl3/gcc/lib/libgcc/arch/earmv7eb: auto-target.h src/external/gpl3/gcc/lib/libgcc/arch/earmv7hf: auto-target.h src/ext
CVS commit: src/external/gpl3/gcc
Module Name:src Committed By: mrg Date: Wed Oct 2 07:15:06 UTC 2019 Modified Files: src/external/gpl3/gcc/lib/libbacktrace/arch/aarch64: backtrace-supported.h config.h src/external/gpl3/gcc/lib/libbacktrace/arch/alpha: backtrace-supported.h config.h src/external/gpl3/gcc/lib/libbacktrace/arch/arm: backtrace-supported.h config.h src/external/gpl3/gcc/lib/libbacktrace/arch/armeb: backtrace-supported.h config.h src/external/gpl3/gcc/lib/libbacktrace/arch/earm: backtrace-supported.h config.h src/external/gpl3/gcc/lib/libbacktrace/arch/earmeb: backtrace-supported.h config.h src/external/gpl3/gcc/lib/libbacktrace/arch/earmhf: backtrace-supported.h config.h src/external/gpl3/gcc/lib/libbacktrace/arch/earmhfeb: backtrace-supported.h config.h src/external/gpl3/gcc/lib/libbacktrace/arch/earmv4: backtrace-supported.h config.h src/external/gpl3/gcc/lib/libbacktrace/arch/earmv4eb: backtrace-supported.h config.h src/external/gpl3/gcc/lib/libbacktrace/arch/earmv6: backtrace-supported.h config.h src/external/gpl3/gcc/lib/libbacktrace/arch/earmv6eb: backtrace-supported.h config.h src/external/gpl3/gcc/lib/libbacktrace/arch/earmv6hf: backtrace-supported.h config.h src/external/gpl3/gcc/lib/libbacktrace/arch/earmv6hfeb: backtrace-supported.h config.h src/external/gpl3/gcc/lib/libbacktrace/arch/earmv7: backtrace-supported.h config.h src/external/gpl3/gcc/lib/libbacktrace/arch/earmv7eb: backtrace-supported.h config.h src/external/gpl3/gcc/lib/libbacktrace/arch/earmv7hf: backtrace-supported.h config.h src/external/gpl3/gcc/lib/libbacktrace/arch/earmv7hfeb: backtrace-supported.h config.h src/external/gpl3/gcc/lib/libbacktrace/arch/hppa: backtrace-supported.h config.h src/external/gpl3/gcc/lib/libbacktrace/arch/i386: backtrace-supported.h config.h src/external/gpl3/gcc/lib/libbacktrace/arch/ia64: backtrace-supported.h config.h src/external/gpl3/gcc/lib/libbacktrace/arch/m68000: backtrace-supported.h config.h src/external/gpl3/gcc/lib/libbacktrace/arch/m68k: backtrace-supported.h config.h src/external/gpl3/gcc/lib/libbacktrace/arch/mips64eb: backtrace-supported.h config.h src/external/gpl3/gcc/lib/libbacktrace/arch/mips64el: backtrace-supported.h config.h src/external/gpl3/gcc/lib/libbacktrace/arch/mipseb: backtrace-supported.h config.h src/external/gpl3/gcc/lib/libbacktrace/arch/mipsel: backtrace-supported.h config.h src/external/gpl3/gcc/lib/libbacktrace/arch/powerpc: backtrace-supported.h config.h src/external/gpl3/gcc/lib/libbacktrace/arch/riscv32: backtrace-supported.h config.h src/external/gpl3/gcc/lib/libbacktrace/arch/riscv64: backtrace-supported.h config.h src/external/gpl3/gcc/lib/libbacktrace/arch/sh3eb: backtrace-supported.h config.h src/external/gpl3/gcc/lib/libbacktrace/arch/sh3el: backtrace-supported.h config.h src/external/gpl3/gcc/lib/libbacktrace/arch/sparc: backtrace-supported.h config.h src/external/gpl3/gcc/lib/libbacktrace/arch/sparc64: backtrace-supported.h config.h src/external/gpl3/gcc/lib/libbacktrace/arch/vax: backtrace-supported.h config.h src/external/gpl3/gcc/lib/libbacktrace/arch/x86_64: backtrace-supported.h config.h src/external/gpl3/gcc/lib/libgcc/arch/aarch64: auto-target.h src/external/gpl3/gcc/lib/libgcc/arch/alpha: auto-target.h src/external/gpl3/gcc/lib/libgcc/arch/arm: auto-target.h src/external/gpl3/gcc/lib/libgcc/arch/armeb: auto-target.h src/external/gpl3/gcc/lib/libgcc/arch/earm: auto-target.h src/external/gpl3/gcc/lib/libgcc/arch/earmeb: auto-target.h src/external/gpl3/gcc/lib/libgcc/arch/earmhf: auto-target.h src/external/gpl3/gcc/lib/libgcc/arch/earmhfeb: auto-target.h src/external/gpl3/gcc/lib/libgcc/arch/earmv4: auto-target.h src/external/gpl3/gcc/lib/libgcc/arch/earmv4eb: auto-target.h src/external/gpl3/gcc/lib/libgcc/arch/earmv6: auto-target.h src/external/gpl3/gcc/lib/libgcc/arch/earmv6eb: auto-target.h src/external/gpl3/gcc/lib/libgcc/arch/earmv6hf: auto-target.h src/external/gpl3/gcc/lib/libgcc/arch/earmv6hfeb: auto-target.h src/external/gpl3/gcc/lib/libgcc/arch/earmv7: auto-target.h src/external/gpl3/gcc/lib/libgcc/arch/earmv7eb: auto-target.h src/external/gpl3/gcc/lib/libgcc/arch/earmv7hf: auto-target.h src/ext