CVS commit: src/sys/arch/arm/imx
Module Name:src Committed By: hkenken Date: Mon Sep 2 01:28:41 UTC 2019 Modified Files: src/sys/arch/arm/imx: imx6_ccm.c imx6_iomuxreg.h imxpcie.c imxpciereg.h imxpcievar.h src/sys/arch/arm/imx/fdt: imx6_pcie.c Log Message: Add support for imx6qp-pcie. + Add vpcie-supply support + Add ext_osc support Tested on SABRESD i.MX 6QP. To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14 src/sys/arch/arm/imx/imx6_ccm.c cvs rdiff -u -r1.5 -r1.6 src/sys/arch/arm/imx/imx6_iomuxreg.h cvs rdiff -u -r1.1 -r1.2 src/sys/arch/arm/imx/imxpcie.c \ src/sys/arch/arm/imx/imxpciereg.h src/sys/arch/arm/imx/imxpcievar.h cvs rdiff -u -r1.3 -r1.4 src/sys/arch/arm/imx/fdt/imx6_pcie.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/arch/arm/imx
Module Name:src Committed By: hkenken Date: Mon Sep 2 01:28:41 UTC 2019 Modified Files: src/sys/arch/arm/imx: imx6_ccm.c imx6_iomuxreg.h imxpcie.c imxpciereg.h imxpcievar.h src/sys/arch/arm/imx/fdt: imx6_pcie.c Log Message: Add support for imx6qp-pcie. + Add vpcie-supply support + Add ext_osc support Tested on SABRESD i.MX 6QP. To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14 src/sys/arch/arm/imx/imx6_ccm.c cvs rdiff -u -r1.5 -r1.6 src/sys/arch/arm/imx/imx6_iomuxreg.h cvs rdiff -u -r1.1 -r1.2 src/sys/arch/arm/imx/imxpcie.c \ src/sys/arch/arm/imx/imxpciereg.h src/sys/arch/arm/imx/imxpcievar.h cvs rdiff -u -r1.3 -r1.4 src/sys/arch/arm/imx/fdt/imx6_pcie.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/arm/imx/imx6_ccm.c diff -u src/sys/arch/arm/imx/imx6_ccm.c:1.13 src/sys/arch/arm/imx/imx6_ccm.c:1.14 --- src/sys/arch/arm/imx/imx6_ccm.c:1.13 Tue Jul 30 11:11:15 2019 +++ src/sys/arch/arm/imx/imx6_ccm.c Mon Sep 2 01:28:41 2019 @@ -1,4 +1,4 @@ -/* $NetBSD: imx6_ccm.c,v 1.13 2019/07/30 11:11:15 hkenken Exp $ */ +/* $NetBSD: imx6_ccm.c,v 1.14 2019/09/02 01:28:41 hkenken Exp $ */ /* * Copyright (c) 2010-2012, 2014 Genetec Corporation. All rights reserved. @@ -30,7 +30,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: imx6_ccm.c,v 1.13 2019/07/30 11:11:15 hkenken Exp $"); +__KERNEL_RCSID(0, "$NetBSD: imx6_ccm.c,v 1.14 2019/09/02 01:28:41 hkenken Exp $"); #include "opt_cputypes.h" @@ -886,6 +886,8 @@ static struct imx6_clk imx6_clks[] = { CLK_GATE_EXCLUSIVE("lvds1_gate", "lvds1_sel", CCM_ANALOG, MISC1, LVDS_CLK1_OBEN, LVDS_CLK1_IBEN), CLK_GATE_EXCLUSIVE("lvds2_gate", "lvds2_sel", CCM_ANALOG, MISC1, LVDS_CLK2_OBEN, LVDS_CLK2_IBEN), + CLK_GATE_EXCLUSIVE("lvds1_in", "anaclk1", CCM_ANALOG, MISC1, LVDS_CLK1_IBEN, LVDS_CLK1_OBEN), + CLK_GATE_EXCLUSIVE("lvds2_in", "anaclk2", CCM_ANALOG, MISC1, LVDS_CLK2_IBEN, LVDS_CLK2_OBEN), }; static struct imx6_clk *imx6_clk_find(const char *); Index: src/sys/arch/arm/imx/imx6_iomuxreg.h diff -u src/sys/arch/arm/imx/imx6_iomuxreg.h:1.5 src/sys/arch/arm/imx/imx6_iomuxreg.h:1.6 --- src/sys/arch/arm/imx/imx6_iomuxreg.h:1.5 Mon Jul 22 11:44:01 2019 +++ src/sys/arch/arm/imx/imx6_iomuxreg.h Mon Sep 2 01:28:41 2019 @@ -1,4 +1,4 @@ -/* $NetBSD: imx6_iomuxreg.h,v 1.5 2019/07/22 11:44:01 hkenken Exp $ */ +/* $NetBSD: imx6_iomuxreg.h,v 1.6 2019/09/02 01:28:41 hkenken Exp $ */ /* * Copyright (c) 2014 Ryo Shimizu @@ -33,6 +33,7 @@ #define IOMUX_GPR1 0x0004 #define IOMUX_GPR1_CFG_L1_CLK_REMOVAL_EN __BIT(31) #define IOMUX_GPR1_APP_CLK_REQ_N __BIT(30) +#define IOMUX_GPR1_PCIE_SW_RST __BIT(29) #define IOMUX_GPR1_APP_REQ_EXIT_L1 __BIT(28) #define IOMUX_GPR1_APP_READY_ENTR_L23 __BIT(27) #define IOMUX_GPR1_APP_REQ_ENTR_L1 __BIT(26) Index: src/sys/arch/arm/imx/imxpcie.c diff -u src/sys/arch/arm/imx/imxpcie.c:1.1 src/sys/arch/arm/imx/imxpcie.c:1.2 --- src/sys/arch/arm/imx/imxpcie.c:1.1 Wed Jul 24 12:33:18 2019 +++ src/sys/arch/arm/imx/imxpcie.c Mon Sep 2 01:28:41 2019 @@ -1,4 +1,4 @@ -/* $NetBSD: imxpcie.c,v 1.1 2019/07/24 12:33:18 hkenken Exp $ */ +/* $NetBSD: imxpcie.c,v 1.2 2019/09/02 01:28:41 hkenken Exp $ */ /* * Copyright (c) 2019 Genetec Corporation. All rights reserved. @@ -31,7 +31,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: imxpcie.c,v 1.1 2019/07/24 12:33:18 hkenken Exp $"); +__KERNEL_RCSID(0, "$NetBSD: imxpcie.c,v 1.2 2019/09/02 01:28:41 hkenken Exp $"); #include "opt_pci.h" #include "opt_fdt.h" @@ -244,34 +244,32 @@ imxpcie_phy_read(struct imxpcie_softc *s static int imxpcie_assert_core_reset(struct imxpcie_softc *sc) { - uint32_t gpr1; - uint32_t gpr12; + if (sc->sc_have_sw_reset) { + uint32_t gpr1 = sc->sc_gpr_read(sc, IOMUX_GPR1); + gpr1 |= IOMUX_GPR1_PCIE_SW_RST; + sc->sc_gpr_write(sc, IOMUX_GPR1, gpr1); + } else { + uint32_t gpr1 = sc->sc_gpr_read(sc, IOMUX_GPR1); + uint32_t gpr12 = sc->sc_gpr_read(sc, IOMUX_GPR12); - gpr1 = sc->sc_gpr_read(sc, IOMUX_GPR1); - gpr12 = sc->sc_gpr_read(sc, IOMUX_GPR12); + /* already enabled by bootloader */ + if ((gpr1 & IOMUX_GPR1_REF_SSP_EN) && + (gpr12 & IOMUX_GPR12_APP_LTSSM_ENABLE)) { + uint32_t v = PCIE_READ(sc, PCIE_PL_PFLR); + v &= ~PCIE_PL_PFLR_LINK_STATE; + v |= PCIE_PL_PFLR_FORCE_LINK; + PCIE_WRITE(sc, PCIE_PL_PFLR, v); - /* already enabled by bootloader */ - if ((gpr1 & IOMUX_GPR1_REF_SSP_EN) && - (gpr12 & IOMUX_GPR12_APP_LTSSM_ENABLE)) { - uint32_t v = PCIE_READ(sc, PCIE_PL_PFLR); - v &= ~PCIE_PL_PFLR_LINK_STATE; - v |= PCIE_PL_PFLR_FORCE_LINK; - PCIE_WRITE(sc, PCIE_PL_PFLR, v); + gpr12 &= ~IOMUX_GPR12_APP_LTSSM_ENABLE; + sc->sc_gpr_write(sc, IOMUX_GPR12, gpr12); + } - gpr12 &= ~IOMUX_GPR12_APP_LTSSM_ENABLE; - sc->sc_gpr_write(sc, IOMUX_GPR12, gpr12); + gpr1 |= IOMUX_GPR1_TEST_POWERDOWN; + sc->sc_gpr_write(sc, IOMUX_GPR1, gpr1); + gpr1 &=
CVS commit: src/lib/libm/man
Module Name:src Committed By: sevan Date: Mon Sep 2 00:51:48 UTC 2019 Modified Files: src/lib/libm/man: cos.3 sin.3 Log Message: Start documenting history https://www.bell-labs.com/usr/dmr/www/man31.pdf To generate a diff of this commit: cvs rdiff -u -r1.16 -r1.17 src/lib/libm/man/cos.3 cvs rdiff -u -r1.14 -r1.15 src/lib/libm/man/sin.3 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/lib/libm/man/cos.3 diff -u src/lib/libm/man/cos.3:1.16 src/lib/libm/man/cos.3:1.17 --- src/lib/libm/man/cos.3:1.16 Thu Apr 25 23:17:24 2019 +++ src/lib/libm/man/cos.3 Mon Sep 2 00:51:48 2019 @@ -26,9 +26,9 @@ .\" SUCH DAMAGE. .\" .\" from: @(#)cos.3 5.1 (Berkeley) 5/2/91 -.\" $NetBSD: cos.3,v 1.16 2019/04/25 23:17:24 maya Exp $ +.\" $NetBSD: cos.3,v 1.17 2019/09/02 00:51:48 sevan Exp $ .\" -.Dd April 26, 2019 +.Dd September 2, 2019 .Dt COS 3 .Os .Sh NAME @@ -79,3 +79,8 @@ The .Fn cos function conforms to .St -ansiC . +.Sh HISTORY +A +.Fn cos +function appeared in +.At v1 . Index: src/lib/libm/man/sin.3 diff -u src/lib/libm/man/sin.3:1.14 src/lib/libm/man/sin.3:1.15 --- src/lib/libm/man/sin.3:1.14 Thu Aug 7 16:44:49 2003 +++ src/lib/libm/man/sin.3 Mon Sep 2 00:51:48 2019 @@ -26,9 +26,9 @@ .\" SUCH DAMAGE. .\" .\" from: @(#)sin.3 6.7 (Berkeley) 4/19/91 -.\" $NetBSD: sin.3,v 1.14 2003/08/07 16:44:49 agc Exp $ +.\" $NetBSD: sin.3,v 1.15 2019/09/02 00:51:48 sevan Exp $ .\" -.Dd April 19, 1991 +.Dd September 2, 2019 .Dt SIN 3 .Os .Sh NAME @@ -71,3 +71,8 @@ The .Fn sin function conforms to .St -ansiC . +.Sh HISTORY +A +.Fn sin +function appeared in +.At v1 .
CVS commit: src/lib/libm/man
Module Name:src Committed By: sevan Date: Mon Sep 2 00:51:48 UTC 2019 Modified Files: src/lib/libm/man: cos.3 sin.3 Log Message: Start documenting history https://www.bell-labs.com/usr/dmr/www/man31.pdf To generate a diff of this commit: cvs rdiff -u -r1.16 -r1.17 src/lib/libm/man/cos.3 cvs rdiff -u -r1.14 -r1.15 src/lib/libm/man/sin.3 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libc/stdio
Module Name:src Committed By: sevan Date: Mon Sep 2 00:48:16 UTC 2019 Modified Files: src/lib/libc/stdio: putc.3 Log Message: putc & putw were in v1 https://www.bell-labs.com/usr/dmr/www/man31.pdf putchar was in v4 https://minie.tuhs.org/cgi-bin/utree.pl?file=V4/man/man3/putchr.3 To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14 src/lib/libc/stdio/putc.3 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/lib/libc/stdio/putc.3 diff -u src/lib/libc/stdio/putc.3:1.13 src/lib/libc/stdio/putc.3:1.14 --- src/lib/libc/stdio/putc.3:1.13 Wed Feb 22 15:08:55 2017 +++ src/lib/libc/stdio/putc.3 Mon Sep 2 00:48:16 2019 @@ -1,4 +1,4 @@ -.\" $NetBSD: putc.3,v 1.13 2017/02/22 15:08:55 abhinav Exp $ +.\" $NetBSD: putc.3,v 1.14 2019/09/02 00:48:16 sevan Exp $ .\" .\" Copyright (c) 1990, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -33,7 +33,7 @@ .\" .\" @(#)putc.3 8.1 (Berkeley) 6/4/93 .\" -.Dd May 6, 2010 +.Dd September 2, 2019 .Dt PUTC 3 .Os .Sh NAME @@ -152,13 +152,16 @@ and conform to .St -p1003.1-96 . .Sh HISTORY -The functions +The .Fn putc , -.Fn putchar , and .Fn putw -first appeared in -.At v6 . +functions first appeared in +.At v1 . +The +.Fn putchar +function first appeared in +.At v4 . The function .Fn fputc appeared in
CVS commit: src/lib/libc/stdio
Module Name:src Committed By: sevan Date: Mon Sep 2 00:48:16 UTC 2019 Modified Files: src/lib/libc/stdio: putc.3 Log Message: putc & putw were in v1 https://www.bell-labs.com/usr/dmr/www/man31.pdf putchar was in v4 https://minie.tuhs.org/cgi-bin/utree.pl?file=V4/man/man3/putchr.3 To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14 src/lib/libc/stdio/putc.3 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libm/man
Module Name:src Committed By: sevan Date: Mon Sep 2 00:37:47 UTC 2019 Modified Files: src/lib/libm/man: log.3 Log Message: log appeared in v1 https://www.bell-labs.com/usr/dmr/www/man31.pdf To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/lib/libm/man/log.3 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/lib/libm/man/log.3 diff -u src/lib/libm/man/log.3:1.6 src/lib/libm/man/log.3:1.7 --- src/lib/libm/man/log.3:1.6 Mon Jul 3 21:32:50 2017 +++ src/lib/libm/man/log.3 Mon Sep 2 00:37:47 2019 @@ -1,4 +1,4 @@ -.\" $NetBSD: log.3,v 1.6 2017/07/03 21:32:50 wiz Exp $ +.\" $NetBSD: log.3,v 1.7 2019/09/02 00:37:47 sevan Exp $ .\" .\" Copyright (c) 2011 Jukka Ruohonen .\" All rights reserved. @@ -24,7 +24,7 @@ .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE .\" POSSIBILITY OF SUCH DAMAGE. .\" -.Dd September 13, 2011 +.Dd September 2, 2019 .Dt LOG 3 .Os .Sh NAME @@ -33,7 +33,7 @@ .Nm log10 , .Nm log10f , .Nm log1p , -.Nm log1pf +.Nm log1pf , .Nm log2 , .Nm log2f .Nd logarithm functions @@ -166,5 +166,7 @@ unless The described functions conform to .St -isoC-99 . .Sh HISTORY -The history of the logarithm functions dates back to -.At v6 . +A +.Fn log +function appeared in +.At v1 .
CVS commit: src/lib/libm/man
Module Name:src Committed By: sevan Date: Mon Sep 2 00:37:47 UTC 2019 Modified Files: src/lib/libm/man: log.3 Log Message: log appeared in v1 https://www.bell-labs.com/usr/dmr/www/man31.pdf To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/lib/libm/man/log.3 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libc/stdio
Module Name:src Committed By: sevan Date: Mon Sep 2 00:32:55 UTC 2019 Modified Files: src/lib/libc/stdio: fopen.3 Log Message: Start documenting history https://www.bell-labs.com/usr/dmr/www/man31.pdf To generate a diff of this commit: cvs rdiff -u -r1.35 -r1.36 src/lib/libc/stdio/fopen.3 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/lib/libc/stdio/fopen.3 diff -u src/lib/libc/stdio/fopen.3:1.35 src/lib/libc/stdio/fopen.3:1.36 --- src/lib/libc/stdio/fopen.3:1.35 Sat Nov 4 08:53:23 2017 +++ src/lib/libc/stdio/fopen.3 Mon Sep 2 00:32:55 2019 @@ -1,4 +1,4 @@ -.\" $NetBSD: fopen.3,v 1.35 2017/11/04 08:53:23 kre Exp $ +.\" $NetBSD: fopen.3,v 1.36 2019/09/02 00:32:55 sevan Exp $ .\" .\" Copyright (c) 1990, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -33,7 +33,7 @@ .\" .\" @(#)fopen.3 8.1 (Berkeley) 6/4/93 .\" -.Dd November 3, 2017 +.Dd September 2, 2019 .Dt FOPEN 3 .Os .Sh NAME @@ -298,6 +298,11 @@ functions conform to .St -ansiC . All three functions are specified in .St -p1003.1-2008 . +.Sh HISTORY +An +.Fn fopen +function appeared in +.At v1 . .Sh CAVEATS Proper code using .Fn fdopen
CVS commit: src/lib/libc/stdio
Module Name:src Committed By: sevan Date: Mon Sep 2 00:32:55 UTC 2019 Modified Files: src/lib/libc/stdio: fopen.3 Log Message: Start documenting history https://www.bell-labs.com/usr/dmr/www/man31.pdf To generate a diff of this commit: cvs rdiff -u -r1.35 -r1.36 src/lib/libc/stdio/fopen.3 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libc/stdio
Module Name:src Committed By: sevan Date: Mon Sep 2 00:30:58 UTC 2019 Modified Files: src/lib/libc/stdio: getc.3 Log Message: Start documenting history https://www.bell-labs.com/usr/dmr/www/man31.pdf To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13 src/lib/libc/stdio/getc.3 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libc/stdio
Module Name:src Committed By: sevan Date: Mon Sep 2 00:30:58 UTC 2019 Modified Files: src/lib/libc/stdio: getc.3 Log Message: Start documenting history https://www.bell-labs.com/usr/dmr/www/man31.pdf To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13 src/lib/libc/stdio/getc.3 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/lib/libc/stdio/getc.3 diff -u src/lib/libc/stdio/getc.3:1.12 src/lib/libc/stdio/getc.3:1.13 --- src/lib/libc/stdio/getc.3:1.12 Thu Aug 7 16:43:26 2003 +++ src/lib/libc/stdio/getc.3 Mon Sep 2 00:30:58 2019 @@ -1,4 +1,4 @@ -.\" $NetBSD: getc.3,v 1.12 2003/08/07 16:43:26 agc Exp $ +.\" $NetBSD: getc.3,v 1.13 2019/09/02 00:30:58 sevan Exp $ .\" .\" Copyright (c) 1990, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -33,7 +33,7 @@ .\" .\" @(#)getc.3 8.1 (Berkeley) 6/4/93 .\" -.Dd April 25, 2001 +.Dd September 2, 2019 .Dt GETC 3 .Os .Sh NAME @@ -154,6 +154,13 @@ and .Fn getchar_unlocked functions conform to .St -p1003.1-96 . +.Sh HISTORY +The +.Fn getc +and +.Fn getw +functions appeared in +.At v1 . .Sh BUGS Since .Dv EOF
CVS commit: src/sbin/route
Module Name:src Committed By: roy Date: Mon Sep 2 00:30:01 UTC 2019 Modified Files: src/sbin/route: route.c Log Message: route(8): Show addres for RTM_LOSING While here, add /* FALLTHROUGH */. To generate a diff of this commit: cvs rdiff -u -r1.162 -r1.163 src/sbin/route/route.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sbin/route
Module Name:src Committed By: roy Date: Mon Sep 2 00:30:01 UTC 2019 Modified Files: src/sbin/route: route.c Log Message: route(8): Show addres for RTM_LOSING While here, add /* FALLTHROUGH */. To generate a diff of this commit: cvs rdiff -u -r1.162 -r1.163 src/sbin/route/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/sbin/route/route.c diff -u src/sbin/route/route.c:1.162 src/sbin/route/route.c:1.163 --- src/sbin/route/route.c:1.162 Sat Aug 31 18:20:08 2019 +++ src/sbin/route/route.c Mon Sep 2 00:30:01 2019 @@ -1,4 +1,4 @@ -/* $NetBSD: route.c,v 1.162 2019/08/31 18:20:08 roy Exp $ */ +/* $NetBSD: route.c,v 1.163 2019/09/02 00:30:01 roy Exp $ */ /* * Copyright (c) 1983, 1989, 1991, 1993 @@ -39,7 +39,7 @@ __COPYRIGHT("@(#) Copyright (c) 1983, 19 #if 0 static char sccsid[] = "@(#)route.c 8.6 (Berkeley) 4/28/95"; #else -__RCSID("$NetBSD: route.c,v 1.162 2019/08/31 18:20:08 roy Exp $"); +__RCSID("$NetBSD: route.c,v 1.163 2019/09/02 00:30:01 roy Exp $"); #endif #endif /* not lint */ @@ -1459,10 +1459,11 @@ print_rtmsg(struct rt_msghdr *rtm, int m } printf("\n"); break; - case RTM_ADD: - case RTM_CHANGE: - case RTM_DELETE: - case RTM_GET: + case RTM_ADD: /* FALLTHROUGH */ + case RTM_CHANGE: /* FALLTHROUGH */ + case RTM_DELETE: /* FALLTHROUGH */ + case RTM_GET: /* FALLTHROUGH */ + case RTM_LOSING: /* FALLTHROUGH */ case RTM_MISS: (void)printf("pid %d, seq %d, errno %d, flags: ", rtm->rtm_pid, rtm->rtm_seq, rtm->rtm_errno);
CVS commit: src/lib/libm/man
Module Name:src Committed By: sevan Date: Mon Sep 2 00:25:47 UTC 2019 Modified Files: src/lib/libm/man: exp.3 Log Message: exp was present in v1 https://www.bell-labs.com/usr/dmr/www/man31.pdf To generate a diff of this commit: cvs rdiff -u -r1.31 -r1.32 src/lib/libm/man/exp.3 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libm/man
Module Name:src Committed By: sevan Date: Mon Sep 2 00:25:47 UTC 2019 Modified Files: src/lib/libm/man: exp.3 Log Message: exp was present in v1 https://www.bell-labs.com/usr/dmr/www/man31.pdf To generate a diff of this commit: cvs rdiff -u -r1.31 -r1.32 src/lib/libm/man/exp.3 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/lib/libm/man/exp.3 diff -u src/lib/libm/man/exp.3:1.31 src/lib/libm/man/exp.3:1.32 --- src/lib/libm/man/exp.3:1.31 Wed Feb 1 14:46:51 2017 +++ src/lib/libm/man/exp.3 Mon Sep 2 00:25:47 2019 @@ -27,9 +27,9 @@ .\" .\" from: @(#)exp.3 6.12 (Berkeley) 7/31/91 .\" $FreeBSD: src/lib/msun/man/exp.3,v 1.24 2008/01/18 21:43:00 das Exp $ -.\" $NetBSD: exp.3,v 1.31 2017/02/01 14:46:51 abhinav Exp $ +.\" $NetBSD: exp.3,v 1.32 2019/09/02 00:25:47 sevan Exp $ .\" -.Dd September 13, 2011 +.Dd September 2, 2019 .Dt EXP 3 .Os .Sh NAME @@ -120,7 +120,7 @@ functions conform to The .Fn exp functions appeared in -.At v6 . +.At v1 . The .Fn expm1 function appeared in
CVS commit: src/lib/libc/time
Module Name:src Committed By: sevan Date: Mon Sep 2 00:24:01 UTC 2019 Modified Files: src/lib/libc/time: ctime.3 Log Message: start documenting history To generate a diff of this commit: cvs rdiff -u -r1.60 -r1.61 src/lib/libc/time/ctime.3 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libc/time
Module Name:src Committed By: sevan Date: Mon Sep 2 00:24:01 UTC 2019 Modified Files: src/lib/libc/time: ctime.3 Log Message: start documenting history To generate a diff of this commit: cvs rdiff -u -r1.60 -r1.61 src/lib/libc/time/ctime.3 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/lib/libc/time/ctime.3 diff -u src/lib/libc/time/ctime.3:1.60 src/lib/libc/time/ctime.3:1.61 --- src/lib/libc/time/ctime.3:1.60 Fri Oct 19 23:05:35 2018 +++ src/lib/libc/time/ctime.3 Mon Sep 2 00:24:01 2019 @@ -1,8 +1,8 @@ -.\" $NetBSD: ctime.3,v 1.60 2018/10/19 23:05:35 christos Exp $ +.\" $NetBSD: ctime.3,v 1.61 2019/09/02 00:24:01 sevan Exp $ .\" .\" XXX: License missing? .\" -.Dd May 5, 2018 +.Dd September 2, 2019 .Dt CTIME 3 .Os .Sh NAME @@ -494,6 +494,11 @@ functions conform to .St -ansiC . Rest of the functions conform to .St -p1003.1-2008 . +.Sh HISTORY +A +.Fn ctime +function appeared in +.At v1 . .Sh CAVEATS The functions that do not take an explicit .Ft timezone_t
CVS commit: src/lib/libc/sys
Module Name:src Committed By: sevan Date: Mon Sep 2 00:13:09 UTC 2019 Modified Files: src/lib/libc/sys: write.2 Log Message: write was present in v1 https://www.bell-labs.com/usr/dmr/www/man22.pdf To generate a diff of this commit: cvs rdiff -u -r1.35 -r1.36 src/lib/libc/sys/write.2 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libc/sys
Module Name:src Committed By: sevan Date: Mon Sep 2 00:13:09 UTC 2019 Modified Files: src/lib/libc/sys: write.2 Log Message: write was present in v1 https://www.bell-labs.com/usr/dmr/www/man22.pdf To generate a diff of this commit: cvs rdiff -u -r1.35 -r1.36 src/lib/libc/sys/write.2 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/lib/libc/sys/write.2 diff -u src/lib/libc/sys/write.2:1.35 src/lib/libc/sys/write.2:1.36 --- src/lib/libc/sys/write.2:1.35 Mon Jul 3 21:32:50 2017 +++ src/lib/libc/sys/write.2 Mon Sep 2 00:13:09 2019 @@ -1,4 +1,4 @@ -.\" $NetBSD: write.2,v 1.35 2017/07/03 21:32:50 wiz Exp $ +.\" $NetBSD: write.2,v 1.36 2019/09/02 00:13:09 sevan Exp $ .\" .\" Copyright (c) 1980, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -29,7 +29,7 @@ .\" .\" @(#)write.2 8.5 (Berkeley) 4/2/94 .\" -.Dd April 3, 2010 +.Dd September 2, 2019 .Dt WRITE 2 .Os .Sh NAME @@ -264,7 +264,7 @@ appeared in The .Fn write function call appeared in -.At v2 . +.At v1 . .Sh CAVEATS Error checks should explicitly test for \-1. Code such as
CVS commit: src/lib/libc/sys
Module Name:src Committed By: sevan Date: Mon Sep 2 00:12:11 UTC 2019 Modified Files: src/lib/libc/sys: wait.2 Log Message: wait was present in v1 https://www.bell-labs.com/usr/dmr/www/man22.pdf To generate a diff of this commit: cvs rdiff -u -r1.39 -r1.40 src/lib/libc/sys/wait.2 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libc/sys
Module Name:src Committed By: sevan Date: Mon Sep 2 00:12:11 UTC 2019 Modified Files: src/lib/libc/sys: wait.2 Log Message: wait was present in v1 https://www.bell-labs.com/usr/dmr/www/man22.pdf To generate a diff of this commit: cvs rdiff -u -r1.39 -r1.40 src/lib/libc/sys/wait.2 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/lib/libc/sys/wait.2 diff -u src/lib/libc/sys/wait.2:1.39 src/lib/libc/sys/wait.2:1.40 --- src/lib/libc/sys/wait.2:1.39 Sun Nov 20 09:38:37 2016 +++ src/lib/libc/sys/wait.2 Mon Sep 2 00:12:11 2019 @@ -1,4 +1,4 @@ -.\" $NetBSD: wait.2,v 1.39 2016/11/20 09:38:37 wiz Exp $ +.\" $NetBSD: wait.2,v 1.40 2019/09/02 00:12:11 sevan Exp $ .\" .\" Copyright (c) 1980, 1991, 1993, 1994 .\" The Regents of the University of California. All rights reserved. @@ -29,7 +29,7 @@ .\" .\" @(#)wait.2 8.2 (Berkeley) 4/19/94 .\" -.Dd November 10, 2016 +.Dd September 2, 2019 .Dt WAIT 2 .Os .Sh NAME @@ -659,4 +659,4 @@ call are extensions to the POSIX interfa A .Fn wait function call appeared in -.At v2 . +.At v1 .
CVS commit: src/lib/libc/sys
Module Name:src Committed By: sevan Date: Mon Sep 2 00:01:42 UTC 2019 Modified Files: src/lib/libc/sys: lseek.2 Log Message: seek was present in v1 https://www.bell-labs.com/usr/dmr/www/man22.pdf To generate a diff of this commit: cvs rdiff -u -r1.24 -r1.25 src/lib/libc/sys/lseek.2 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/lib/libc/sys/lseek.2 diff -u src/lib/libc/sys/lseek.2:1.24 src/lib/libc/sys/lseek.2:1.25 --- src/lib/libc/sys/lseek.2:1.24 Mon Apr 5 07:53:47 2010 +++ src/lib/libc/sys/lseek.2 Mon Sep 2 00:01:42 2019 @@ -1,4 +1,4 @@ -.\" $NetBSD: lseek.2,v 1.24 2010/04/05 07:53:47 wiz Exp $ +.\" $NetBSD: lseek.2,v 1.25 2019/09/02 00:01:42 sevan Exp $ .\" .\" Copyright (c) 1980, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -29,7 +29,7 @@ .\" .\" @(#)lseek.2 8.3 (Berkeley) 4/19/94 .\" -.Dd April 3, 2010 +.Dd September 2, 2019 .Dt LSEEK 2 .Os .Sh NAME @@ -134,7 +134,7 @@ function conforms to A .Fn seek function appeared in -.At v2 , +.At v1 , later renamed into .Fn lseek for
CVS commit: src/lib/libc/sys
Module Name:src Committed By: sevan Date: Mon Sep 2 00:00:25 UTC 2019 Modified Files: src/lib/libc/sys: read.2 Log Message: read was present in v1 https://www.bell-labs.com/usr/dmr/www/man22.pdf To generate a diff of this commit: cvs rdiff -u -r1.38 -r1.39 src/lib/libc/sys/read.2 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libc/sys
Module Name:src Committed By: sevan Date: Mon Sep 2 00:01:42 UTC 2019 Modified Files: src/lib/libc/sys: lseek.2 Log Message: seek was present in v1 https://www.bell-labs.com/usr/dmr/www/man22.pdf To generate a diff of this commit: cvs rdiff -u -r1.24 -r1.25 src/lib/libc/sys/lseek.2 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libc/sys
Module Name:src Committed By: sevan Date: Mon Sep 2 00:09:14 UTC 2019 Modified Files: src/lib/libc/sys: unlink.2 Log Message: unlink was presen in v1 https://www.bell-labs.com/usr/dmr/www/man22.pdf To generate a diff of this commit: cvs rdiff -u -r1.29 -r1.30 src/lib/libc/sys/unlink.2 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/lib/libc/sys/unlink.2 diff -u src/lib/libc/sys/unlink.2:1.29 src/lib/libc/sys/unlink.2:1.30 --- src/lib/libc/sys/unlink.2:1.29 Thu Mar 30 18:54:26 2017 +++ src/lib/libc/sys/unlink.2 Mon Sep 2 00:09:14 2019 @@ -1,4 +1,4 @@ -.\" $NetBSD: unlink.2,v 1.29 2017/03/30 18:54:26 abhinav Exp $ +.\" $NetBSD: unlink.2,v 1.30 2019/09/02 00:09:14 sevan Exp $ .\" .\" Copyright (c) 1980, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -29,7 +29,7 @@ .\" .\" @(#)unlink.2 8.1 (Berkeley) 6/4/93 .\" -.Dd July 28, 2013 +.Dd September 2, 2019 .Dt UNLINK 2 .Os .Sh NAME @@ -188,4 +188,4 @@ conforms to An .Fn unlink function call appeared in -.At v2 . +.At v1 .
CVS commit: src/lib/libc/sys
Module Name:src Committed By: sevan Date: Mon Sep 2 00:05:38 UTC 2019 Modified Files: src/lib/libc/sys: setuid.2 Log Message: setuid was in v1 https://www.bell-labs.com/usr/dmr/www/man22.pdf To generate a diff of this commit: cvs rdiff -u -r1.22 -r1.23 src/lib/libc/sys/setuid.2 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/lib/libc/sys/setuid.2 diff -u src/lib/libc/sys/setuid.2:1.22 src/lib/libc/sys/setuid.2:1.23 --- src/lib/libc/sys/setuid.2:1.22 Mon Apr 5 07:44:28 2010 +++ src/lib/libc/sys/setuid.2 Mon Sep 2 00:05:38 2019 @@ -1,4 +1,4 @@ -.\" $NetBSD: setuid.2,v 1.22 2010/04/05 07:44:28 wiz Exp $ +.\" $NetBSD: setuid.2,v 1.23 2019/09/02 00:05:38 sevan Exp $ .\" .\" Copyright (c) 1983, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -29,7 +29,7 @@ .\" .\" @(#)setuid.2 8.1 (Berkeley) 6/4/93 .\" -.Dd April 3, 2010 +.Dd September 2, 2019 .Dt SETUID 2 .Os .Sh NAME @@ -129,7 +129,7 @@ The and .Fn setgid functions appeared in -.At v2 +.At v1 and .At v4 , respectively.
CVS commit: src/lib/libc/sys
Module Name:src Committed By: sevan Date: Mon Sep 2 00:05:38 UTC 2019 Modified Files: src/lib/libc/sys: setuid.2 Log Message: setuid was in v1 https://www.bell-labs.com/usr/dmr/www/man22.pdf To generate a diff of this commit: cvs rdiff -u -r1.22 -r1.23 src/lib/libc/sys/setuid.2 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libc/sys
Module Name:src Committed By: sevan Date: Mon Sep 2 00:00:25 UTC 2019 Modified Files: src/lib/libc/sys: read.2 Log Message: read was present in v1 https://www.bell-labs.com/usr/dmr/www/man22.pdf To generate a diff of this commit: cvs rdiff -u -r1.38 -r1.39 src/lib/libc/sys/read.2 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/lib/libc/sys/read.2 diff -u src/lib/libc/sys/read.2:1.38 src/lib/libc/sys/read.2:1.39 --- src/lib/libc/sys/read.2:1.38 Wed Aug 7 19:13:49 2019 +++ src/lib/libc/sys/read.2 Mon Sep 2 00:00:25 2019 @@ -1,4 +1,4 @@ -.\" $NetBSD: read.2,v 1.38 2019/08/07 19:13:49 wiz Exp $ +.\" $NetBSD: read.2,v 1.39 2019/09/02 00:00:25 sevan Exp $ .\" .\" Copyright (c) 1980, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -29,7 +29,7 @@ .\" .\" @(#)read.2 8.4 (Berkeley) 2/26/94 .\" -.Dd August 7, 2019 +.Dd September 2, 2019 .Dt READ 2 .Os .Sh NAME @@ -252,7 +252,7 @@ appeared in The .Fn read function call appeared in -.At v2 . +.At v1 . .Sh CAVEATS Error checks should explicitly test for \-1. Code such as
CVS commit: src/lib/libc/sys
Module Name:src Committed By: sevan Date: Mon Sep 2 00:09:14 UTC 2019 Modified Files: src/lib/libc/sys: unlink.2 Log Message: unlink was presen in v1 https://www.bell-labs.com/usr/dmr/www/man22.pdf To generate a diff of this commit: cvs rdiff -u -r1.29 -r1.30 src/lib/libc/sys/unlink.2 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libc/sys
Module Name:src Committed By: sevan Date: Sun Sep 1 23:57:14 UTC 2019 Modified Files: src/lib/libc/sys: open.2 Log Message: Open was present in v1 https://www.bell-labs.com/usr/dmr/www/man22.pdf To generate a diff of this commit: cvs rdiff -u -r1.59 -r1.60 src/lib/libc/sys/open.2 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/lib/libc/sys/open.2 diff -u src/lib/libc/sys/open.2:1.59 src/lib/libc/sys/open.2:1.60 --- src/lib/libc/sys/open.2:1.59 Mon Nov 13 09:04:57 2017 +++ src/lib/libc/sys/open.2 Sun Sep 1 23:57:14 2019 @@ -1,4 +1,4 @@ -.\" $NetBSD: open.2,v 1.59 2017/11/13 09:04:57 wiz Exp $ +.\" $NetBSD: open.2,v 1.60 2019/09/01 23:57:14 sevan Exp $ .\" .\" Copyright (c) 1980, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -29,7 +29,7 @@ .\" .\" @(#)open.2 8.2 (Berkeley) 11/16/93 .\" -.Dd November 9, 2017 +.Dd September 2, 2019 .Dt OPEN 2 .Os .Sh NAME @@ -479,4 +479,4 @@ is of concern. An .Fn open function call appeared in -.At v2 . +.At v1 .
CVS commit: src/lib/libc/sys
Module Name:src Committed By: sevan Date: Sun Sep 1 23:57:14 UTC 2019 Modified Files: src/lib/libc/sys: open.2 Log Message: Open was present in v1 https://www.bell-labs.com/usr/dmr/www/man22.pdf To generate a diff of this commit: cvs rdiff -u -r1.59 -r1.60 src/lib/libc/sys/open.2 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libc/sys
Module Name:src Committed By: sevan Date: Sun Sep 1 23:53:46 UTC 2019 Modified Files: src/lib/libc/sys: mount.2 Log Message: mount & umount were present in v1 https://www.bell-labs.com/usr/dmr/www/man22.pdf To generate a diff of this commit: cvs rdiff -u -r1.50 -r1.51 src/lib/libc/sys/mount.2 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/lib/libc/sys/mount.2 diff -u src/lib/libc/sys/mount.2:1.50 src/lib/libc/sys/mount.2:1.51 --- src/lib/libc/sys/mount.2:1.50 Sun May 14 12:30:37 2017 +++ src/lib/libc/sys/mount.2 Sun Sep 1 23:53:45 2019 @@ -1,4 +1,4 @@ -.\" $NetBSD: mount.2,v 1.50 2017/05/14 12:30:37 wiz Exp $ +.\" $NetBSD: mount.2,v 1.51 2019/09/01 23:53:45 sevan Exp $ .\" .\" Copyright (c) 1980, 1989, 1993 .\" The Regents of the University of California. All rights reserved. @@ -29,7 +29,7 @@ .\" .\" @(#)mount.2 8.3 (Berkeley) 5/24/95 .\" -.Dd November 18, 2011 +.Dd September 2, 2019 .Dt MOUNT 2 .Os .Sh NAME @@ -421,8 +421,8 @@ and .Fn umount (now .Fn unmount ) -function calls were all present in -.At v6 . +functions appeared in +.At v1 . .Pp Prior to .Nx 4.0
CVS commit: src/lib/libc/sys
Module Name:src Committed By: sevan Date: Sun Sep 1 23:53:46 UTC 2019 Modified Files: src/lib/libc/sys: mount.2 Log Message: mount & umount were present in v1 https://www.bell-labs.com/usr/dmr/www/man22.pdf To generate a diff of this commit: cvs rdiff -u -r1.50 -r1.51 src/lib/libc/sys/mount.2 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libcompat/4.1
Module Name:src Committed By: sevan Date: Sun Sep 1 23:42:19 UTC 2019 Modified Files: src/lib/libcompat/4.1: stty.3 Log Message: stty & gtty were around since v1 https://www.bell-labs.com/usr/dmr/www/man21.pdf https://www.bell-labs.com/usr/dmr/www/man22.pdf To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/lib/libcompat/4.1/stty.3 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/lib/libcompat/4.1/stty.3 diff -u src/lib/libcompat/4.1/stty.3:1.9 src/lib/libcompat/4.1/stty.3:1.10 --- src/lib/libcompat/4.1/stty.3:1.9 Thu Aug 7 16:44:15 2003 +++ src/lib/libcompat/4.1/stty.3 Sun Sep 1 23:42:19 2019 @@ -26,9 +26,9 @@ .\" SUCH DAMAGE. .\" .\" from: @(#)stty.3 8.1 (Berkeley) 6/4/93 -.\" $NetBSD: stty.3,v 1.9 2003/08/07 16:44:15 agc Exp $ +.\" $NetBSD: stty.3,v 1.10 2019/09/01 23:42:19 sevan Exp $ .\" -.Dd June 4, 1993 +.Dd September 2, 2019 .Dt STTY 3 .Os .Sh NAME @@ -90,4 +90,8 @@ The and .Fn gtty functions appeared in +.At v1 . +Obsoleted by +.Xr ioctl 2 , +these functions were moved to libcompat in .Bx 4.2 .
CVS commit: src/lib/libcompat/4.1
Module Name:src Committed By: sevan Date: Sun Sep 1 23:42:19 UTC 2019 Modified Files: src/lib/libcompat/4.1: stty.3 Log Message: stty & gtty were around since v1 https://www.bell-labs.com/usr/dmr/www/man21.pdf https://www.bell-labs.com/usr/dmr/www/man22.pdf To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/lib/libcompat/4.1/stty.3 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/share/man/man4
Module Name:src Committed By: gutteridge Date: Sun Sep 1 23:01:01 UTC 2019 Modified Files: src/share/man/man4: urndis.4 Log Message: urndis.4: note two additional brands/models known to work To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/share/man/man4/urndis.4 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/share/man/man4
Module Name:src Committed By: gutteridge Date: Sun Sep 1 23:01:01 UTC 2019 Modified Files: src/share/man/man4: urndis.4 Log Message: urndis.4: note two additional brands/models known to work To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/share/man/man4/urndis.4 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/share/man/man4/urndis.4 diff -u src/share/man/man4/urndis.4:1.8 src/share/man/man4/urndis.4:1.9 --- src/share/man/man4/urndis.4:1.8 Fri Aug 30 09:22:17 2019 +++ src/share/man/man4/urndis.4 Sun Sep 1 23:01:01 2019 @@ -1,4 +1,4 @@ -.\" $NetBSD: urndis.4,v 1.8 2019/08/30 09:22:17 wiz Exp $ +.\" $NetBSD: urndis.4,v 1.9 2019/09/01 23:01:01 gutteridge Exp $ .\" .\" Copyright (c) 2010 Michael Knudsen .\" All rights reserved. @@ -29,7 +29,7 @@ .\" .\" $OpenBSD: urndis.4,v 1.11 2011/07/20 13:12:16 jasper Exp $ .\" -.Dd August 24, 2019 +.Dd September 1, 2019 .Dt URNDIS 4 .Os .Sh NAME @@ -64,9 +64,13 @@ HTC Tattoo .It HTC Wildfire .It +Motorola Moto X (2nd Gen.) +.It Samsung Galaxy S / S2 .It Samsung Galaxy S8 Active +.It +Sony Xperia XA2 .El .Pp The
CVS commit: src/games/bcd
Module Name:src Committed By: sevan Date: Sun Sep 1 22:50:11 UTC 2019 Modified Files: src/games/bcd: bcd.6 Log Message: Document history. https://www.bell-labs.com/usr/dmr/www/man11.pdf Between v1 & v6 UNIX, bcd was rewritten in C, but I don't know if which version, hence I've skipped mentioning it. To generate a diff of this commit: cvs rdiff -u -r1.17 -r1.18 src/games/bcd/bcd.6 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/games/bcd/bcd.6 diff -u src/games/bcd/bcd.6:1.17 src/games/bcd/bcd.6:1.18 --- src/games/bcd/bcd.6:1.17 Tue Jan 16 06:43:53 2018 +++ src/games/bcd/bcd.6 Sun Sep 1 22:50:11 2019 @@ -1,4 +1,4 @@ -.\" $NetBSD: bcd.6,v 1.17 2018/01/16 06:43:53 pgoyette Exp $ +.\" $NetBSD: bcd.6,v 1.18 2019/09/01 22:50:11 sevan Exp $ .\" .\" Copyright (c) 1988, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -29,7 +29,7 @@ .\" .\" @(#)bcd.6 8.1 (Berkeley) 5/31/93 .\" -.Dd January 9, 2018 +.Dd September 1, 2019 .Dt BCD 6 .Os .Sh NAME @@ -83,3 +83,10 @@ option). .%B "ITU-T Recommendation F.1: Operational provisions for the international public telegram service" .%O "Division B, I. Morse code" .Re +.Sh HISTORY +A +.Nm bcd +utility appeared in +.At v1 . +The current implementation originates from a rewrite included in +.Bx 4.3 reno
CVS commit: src/games/bcd
Module Name:src Committed By: sevan Date: Sun Sep 1 22:50:11 UTC 2019 Modified Files: src/games/bcd: bcd.6 Log Message: Document history. https://www.bell-labs.com/usr/dmr/www/man11.pdf Between v1 & v6 UNIX, bcd was rewritten in C, but I don't know if which version, hence I've skipped mentioning it. To generate a diff of this commit: cvs rdiff -u -r1.17 -r1.18 src/games/bcd/bcd.6 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/doc
Module Name:src Committed By: roy Date: Sun Sep 1 22:10:13 UTC 2019 Modified Files: src/doc: CHANGES Log Message: Note inet change as well. To generate a diff of this commit: cvs rdiff -u -r1.2576 -r1.2577 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.2576 src/doc/CHANGES:1.2577 --- src/doc/CHANGES:1.2576 Sun Sep 1 19:29:33 2019 +++ src/doc/CHANGES Sun Sep 1 22:10:13 2019 @@ -1,4 +1,4 @@ -# LIST OF CHANGES FROM LAST RELEASE: <$Revision: 1.2576 $> +# LIST OF CHANGES FROM LAST RELEASE: <$Revision: 1.2577 $> # # # [Note: This file does not mention every change made to the NetBSD source tree. @@ -35,3 +35,4 @@ Changes from NetBSD 9.0 to NetBSD 10.0: inet6: Fix sending RTM_MISS for unresolvable addresses and restore ND6_LLINFO_WAITDELETE so that any send at this point can return EHOSTDOWN to match inet behaviour. [roy 20190901] + inet: Fix sending RTM_MISS for unresolvable addresses. [roy 20190901]
CVS commit: src/doc
Module Name:src Committed By: roy Date: Sun Sep 1 22:10:13 UTC 2019 Modified Files: src/doc: CHANGES Log Message: Note inet change as well. To generate a diff of this commit: cvs rdiff -u -r1.2576 -r1.2577 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/netinet
Module Name:src Committed By: roy Date: Sun Sep 1 22:09:02 UTC 2019 Modified Files: src/sys/netinet: if_arp.c Log Message: inet: Send RTM_MISS when we fail to resolve an address. Takes the same approach as when adding a new address - we no longer announce the new lladdr right away but we announce the result. This will either be RTM_ADD or RTM_MISS. RTM_DELETE is only sent if we have a lladdr assigned OR gc'ed. This tells us when a new lladdr has been added (RTM_ADD), changed (RTM_CHANGE), deleted (RTM_DELETED) or has failed to been resolved (RTM_MISS). The latter case can be interpreted as unreachable. To generate a diff of this commit: cvs rdiff -u -r1.286 -r1.287 src/sys/netinet/if_arp.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/netinet
Module Name:src Committed By: roy Date: Sun Sep 1 22:09:02 UTC 2019 Modified Files: src/sys/netinet: if_arp.c Log Message: inet: Send RTM_MISS when we fail to resolve an address. Takes the same approach as when adding a new address - we no longer announce the new lladdr right away but we announce the result. This will either be RTM_ADD or RTM_MISS. RTM_DELETE is only sent if we have a lladdr assigned OR gc'ed. This tells us when a new lladdr has been added (RTM_ADD), changed (RTM_CHANGE), deleted (RTM_DELETED) or has failed to been resolved (RTM_MISS). The latter case can be interpreted as unreachable. To generate a diff of this commit: cvs rdiff -u -r1.286 -r1.287 src/sys/netinet/if_arp.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/netinet/if_arp.c diff -u src/sys/netinet/if_arp.c:1.286 src/sys/netinet/if_arp.c:1.287 --- src/sys/netinet/if_arp.c:1.286 Fri Aug 30 18:52:00 2019 +++ src/sys/netinet/if_arp.c Sun Sep 1 22:09:02 2019 @@ -1,4 +1,4 @@ -/* $NetBSD: if_arp.c,v 1.286 2019/08/30 18:52:00 roy Exp $ */ +/* $NetBSD: if_arp.c,v 1.287 2019/09/01 22:09:02 roy Exp $ */ /* * Copyright (c) 1998, 2000, 2008 The NetBSD Foundation, Inc. @@ -68,7 +68,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: if_arp.c,v 1.286 2019/08/30 18:52:00 roy Exp $"); +__KERNEL_RCSID(0, "$NetBSD: if_arp.c,v 1.287 2019/09/01 22:09:02 roy Exp $"); #ifdef _KERNEL_OPT #include "opt_ddb.h" @@ -315,6 +315,17 @@ arptimer(void *arg) if (lle->la_flags & LLE_LINKED) { size_t pkts_dropped; + if (lle->la_flags & LLE_VALID) { + struct in_addr *in; + struct sockaddr_in sin; + const char *lladdr; + + in = >r_l3addr.addr4; + sockaddr_in_init(, in, 0); + lladdr = (const char *)>ll_addr; + rt_clonedmsg(RTM_DELETE, sintosa(), lladdr, ifp); + } + LLE_REMREF(lle); pkts_dropped = llentry_free(lle); ARP_STATADD(ARP_STAT_DFRDROPPED, pkts_dropped); @@ -745,14 +756,8 @@ notfound: rt_unref(_rt); if (la == NULL) ARP_STATINC(ARP_STAT_ALLOCFAIL); - else { - struct sockaddr_in sin; - + else arp_init_llentry(ifp, la); - sockaddr_in_init(, >r_l3addr.addr4, 0); - if (rt != NULL) -rt_clonedmsg(RTM_ADD, sintosa(), NULL, ifp); - } } else if (LLE_TRY_UPGRADE(la) == 0) { create_lookup = "lookup"; LLE_RUNLOCK(la); @@ -852,9 +857,16 @@ notfound: if (renew) { const uint8_t *enaddr = CLLADDR(ifp->if_sadl); + struct sockaddr_in sin; + la->la_expire = time_uptime; arp_settimer(la, arpt_down); la->la_asked++; + + sockaddr_in_init(, >r_l3addr.addr4, 0); + if (error != EWOULDBLOCK) + rt_clonedmsg(RTM_MISS, sintosa(), NULL, ifp); + LLE_WUNLOCK(la); if (rt != NULL) { @@ -862,11 +874,8 @@ notfound: (rt->rt_ifa->ifa_addr)->sin_addr, (dst)->sin_addr, enaddr); } else { - struct sockaddr_in sin; struct rtentry *_rt; - sockaddr_in_init(, >r_l3addr.addr4, 0); - /* XXX */ _rt = rtalloc1((struct sockaddr *), 0); if (_rt == NULL) @@ -1007,7 +1016,7 @@ in_arpinput(struct mbuf *m) #endif struct sockaddr sa; struct in_addr isaddr, itaddr, myaddr; - int op; + int op, rt_cmd; void *tha; uint64_t *arps; struct psref psref, psref_ia; @@ -1217,7 +1226,9 @@ in_arpinput(struct mbuf *m) "for %s by %s\n", IN_PRINT(ipbuf, ), llastr); } - } + rt_cmd = RTM_CHANGE; + } else + rt_cmd = la->la_flags & LLE_VALID ? 0 : RTM_ADD; KASSERT(ifp->if_sadl->sdl_alen == ifp->if_addrlen); @@ -1259,6 +1270,13 @@ in_arpinput(struct mbuf *m) la->la_asked = 0; /* rt->rt_flags &= ~RTF_REJECT; */ + if (rt_cmd != 0) { + struct sockaddr_in sin; + + sockaddr_in_init(, >r_l3addr.addr4, 0); + rt_clonedmsg(rt_cmd, sintosa(), ar_sha(ah), ifp); + } + if (la->la_hold != NULL) { int n = la->la_numheld; struct mbuf *m_hold, *m_hold_next;
CVS commit: src/share/misc
Module Name:src Committed By: sevan Date: Sun Sep 1 21:55:13 UTC 2019 Modified Files: src/share/misc: acronyms.comp Log Message: GECOS http://bitsavers.trailing-edge.com/pdf/ge/GE-6xx/CPB-1002A_GE-625_635_GECOS_Jan65.pdf To generate a diff of this commit: cvs rdiff -u -r1.286 -r1.287 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/share/misc
Module Name:src Committed By: sevan Date: Sun Sep 1 21:55:13 UTC 2019 Modified Files: src/share/misc: acronyms.comp Log Message: GECOS http://bitsavers.trailing-edge.com/pdf/ge/GE-6xx/CPB-1002A_GE-625_635_GECOS_Jan65.pdf To generate a diff of this commit: cvs rdiff -u -r1.286 -r1.287 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.286 src/share/misc/acronyms.comp:1.287 --- src/share/misc/acronyms.comp:1.286 Fri Aug 30 15:43:52 2019 +++ src/share/misc/acronyms.comp Sun Sep 1 21:55:13 2019 @@ -1,4 +1,4 @@ -$NetBSD: acronyms.comp,v 1.286 2019/08/30 15:43:52 sevan Exp $ +$NetBSD: acronyms.comp,v 1.287 2019/09/01 21:55:13 sevan Exp $ 3WHS three-way handshake 8VSB 8-state vestigial side band modulation AA anti-aliasing @@ -605,6 +605,7 @@ GCM Galois counter mode GCR group-coded recording GDI Graphics Device Interface GDT global descriptor table +GECOS general comprehensive operating supervisor GEM graphics environment manager GEM graphics execution manager GENA general event notification architecture
CVS commit: src/lib/libc/sys
Module Name:src Committed By: sevan Date: Sun Sep 1 19:54:04 UTC 2019 Modified Files: src/lib/libc/sys: mkdir.2 Log Message: Document history https://www.bell-labs.com/usr/dmr/www/man21.pdf To generate a diff of this commit: cvs rdiff -u -r1.29 -r1.30 src/lib/libc/sys/mkdir.2 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libc/sys
Module Name:src Committed By: sevan Date: Sun Sep 1 19:54:04 UTC 2019 Modified Files: src/lib/libc/sys: mkdir.2 Log Message: Document history https://www.bell-labs.com/usr/dmr/www/man21.pdf To generate a diff of this commit: cvs rdiff -u -r1.29 -r1.30 src/lib/libc/sys/mkdir.2 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/lib/libc/sys/mkdir.2 diff -u src/lib/libc/sys/mkdir.2:1.29 src/lib/libc/sys/mkdir.2:1.30 --- src/lib/libc/sys/mkdir.2:1.29 Tue Oct 15 11:43:21 2013 +++ src/lib/libc/sys/mkdir.2 Sun Sep 1 19:54:04 2019 @@ -1,4 +1,4 @@ -.\" $NetBSD: mkdir.2,v 1.29 2013/10/15 11:43:21 njoly Exp $ +.\" $NetBSD: mkdir.2,v 1.30 2019/09/01 19:54:04 sevan Exp $ .\" .\" Copyright (c) 1983, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -29,7 +29,7 @@ .\" .\" @(#)mkdir.2 8.2 (Berkeley) 12/11/93 .\" -.Dd July 28, 2013 +.Dd September 1, 2019 .Dt MKDIR 2 .Os .Sh NAME @@ -159,3 +159,8 @@ function conforms to .Fn mkdirat conforms to .St -p1003.1-2008 . +.Sh HISTORY +The +.Fn mkdir +function appeared in +.At v1 .
CVS commit: src/lib/libc/sys
Module Name:src Committed By: sevan Date: Sun Sep 1 19:52:32 UTC 2019 Modified Files: src/lib/libc/sys: link.2 Log Message: Document history https://www.bell-labs.com/usr/dmr/www/man21.pdf To generate a diff of this commit: cvs rdiff -u -r1.32 -r1.33 src/lib/libc/sys/link.2 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/lib/libc/sys/link.2 diff -u src/lib/libc/sys/link.2:1.32 src/lib/libc/sys/link.2:1.33 --- src/lib/libc/sys/link.2:1.32 Sun Jul 28 18:40:40 2013 +++ src/lib/libc/sys/link.2 Sun Sep 1 19:52:32 2019 @@ -1,4 +1,4 @@ -.\" $NetBSD: link.2,v 1.32 2013/07/28 18:40:40 njoly Exp $ +.\" $NetBSD: link.2,v 1.33 2019/09/01 19:52:32 sevan Exp $ .\" .\" Copyright (c) 1980, 1991, 1993, 2011 .\" The Regents of the University of California. All rights reserved. @@ -29,7 +29,7 @@ .\" .\" @(#)link.2 8.3 (Berkeley) 1/12/94 .\" -.Dd July 28, 2013 +.Dd September 1, 2019 .Dt LINK 2 .Os .Sh NAME @@ -240,3 +240,8 @@ function conforms to .Fn linkat conforms to .St -p1003.1-2008 . +.Sh HISTORY +The +.Fn link +function appeared in +.At v1 .
CVS commit: src/lib/libc/sys
Module Name:src Committed By: sevan Date: Sun Sep 1 19:52:32 UTC 2019 Modified Files: src/lib/libc/sys: link.2 Log Message: Document history https://www.bell-labs.com/usr/dmr/www/man21.pdf To generate a diff of this commit: cvs rdiff -u -r1.32 -r1.33 src/lib/libc/sys/link.2 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libc/sys
Module Name:src Committed By: sevan Date: Sun Sep 1 19:46:58 UTC 2019 Modified Files: src/lib/libc/sys: getuid.2 Log Message: getuid was present in v1 https://www.bell-labs.com/usr/dmr/www/man21.pdf To generate a diff of this commit: cvs rdiff -u -r1.17 -r1.18 src/lib/libc/sys/getuid.2 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libc/sys
Module Name:src Committed By: sevan Date: Sun Sep 1 19:46:58 UTC 2019 Modified Files: src/lib/libc/sys: getuid.2 Log Message: getuid was present in v1 https://www.bell-labs.com/usr/dmr/www/man21.pdf To generate a diff of this commit: cvs rdiff -u -r1.17 -r1.18 src/lib/libc/sys/getuid.2 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/lib/libc/sys/getuid.2 diff -u src/lib/libc/sys/getuid.2:1.17 src/lib/libc/sys/getuid.2:1.18 --- src/lib/libc/sys/getuid.2:1.17 Mon Apr 5 07:44:28 2010 +++ src/lib/libc/sys/getuid.2 Sun Sep 1 19:46:58 2019 @@ -1,4 +1,4 @@ -.\" $NetBSD: getuid.2,v 1.17 2010/04/05 07:44:28 wiz Exp $ +.\" $NetBSD: getuid.2,v 1.18 2019/09/01 19:46:58 sevan Exp $ .\" .\" Copyright (c) 1980, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -29,7 +29,7 @@ .\" .\" @(#)getuid.2 8.1 (Berkeley) 6/4/93 .\" -.Dd April 3, 2010 +.Dd September 1, 2019 .Dt GETUID 2 .Os .Sh NAME @@ -82,4 +82,4 @@ functions conform to The .Fn getuid function appeared in -.At v4 . +.At v1 .
CVS commit: src/lib/libc/sys
Module Name:src Committed By: sevan Date: Sun Sep 1 19:45:48 UTC 2019 Modified Files: src/lib/libc/sys: stat.2 Log Message: stat() was present in v1 https://www.bell-labs.com/usr/dmr/www/man22.pdf document history of fstat() https://www.bell-labs.com/usr/dmr/www/man21.pdf To generate a diff of this commit: cvs rdiff -u -r1.58 -r1.59 src/lib/libc/sys/stat.2 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libc/sys
Module Name:src Committed By: sevan Date: Sun Sep 1 19:45:48 UTC 2019 Modified Files: src/lib/libc/sys: stat.2 Log Message: stat() was present in v1 https://www.bell-labs.com/usr/dmr/www/man22.pdf document history of fstat() https://www.bell-labs.com/usr/dmr/www/man21.pdf To generate a diff of this commit: cvs rdiff -u -r1.58 -r1.59 src/lib/libc/sys/stat.2 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/lib/libc/sys/stat.2 diff -u src/lib/libc/sys/stat.2:1.58 src/lib/libc/sys/stat.2:1.59 --- src/lib/libc/sys/stat.2:1.58 Fri Feb 3 08:14:58 2017 +++ src/lib/libc/sys/stat.2 Sun Sep 1 19:45:48 2019 @@ -1,4 +1,4 @@ -.\" $NetBSD: stat.2,v 1.58 2017/02/03 08:14:58 abhinav Exp $ +.\" $NetBSD: stat.2,v 1.59 2019/09/01 19:45:48 sevan Exp $ .\" .\" Copyright (c) 1980, 1991, 1993, 1994 .\" The Regents of the University of California. All rights reserved. @@ -29,7 +29,7 @@ .\" .\" @(#)stat.2 8.4 (Berkeley) 5/1/95 .\" -.Dd April 10, 2014 +.Dd September 1, 2019 .Dt STAT 2 .Os .Sh NAME @@ -403,10 +403,12 @@ conform to conforms to .St -p1003.1-2008 . .Sh HISTORY -A +The .Fn stat -function call appeared in -.At v2 . +and +.Fn fstat +function calls appeared in +.At v1 . A .Fn lstat function call appeared in
CVS commit: src/lib/libc/sys
Module Name:src Committed By: sevan Date: Sun Sep 1 19:40:07 UTC 2019 Modified Files: src/lib/libc/sys: fork.2 Log Message: fork was present in v1 https://www.bell-labs.com/usr/dmr/www/man21.pdf To generate a diff of this commit: cvs rdiff -u -r1.24 -r1.25 src/lib/libc/sys/fork.2 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/lib/libc/sys/fork.2 diff -u src/lib/libc/sys/fork.2:1.24 src/lib/libc/sys/fork.2:1.25 --- src/lib/libc/sys/fork.2:1.24 Tue Jul 12 12:24:40 2016 +++ src/lib/libc/sys/fork.2 Sun Sep 1 19:40:07 2019 @@ -1,4 +1,4 @@ -.\" $NetBSD: fork.2,v 1.24 2016/07/12 12:24:40 wiz Exp $ +.\" $NetBSD: fork.2,v 1.25 2019/09/01 19:40:07 sevan Exp $ .\" .\" Copyright (c) 1980, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -29,7 +29,7 @@ .\" .\" @(#)fork.2 8.1 (Berkeley) 6/4/93 .\" -.Dd July 9, 2016 +.Dd September 1, 2019 .Dt FORK 2 .Os .Sh NAME @@ -136,4 +136,4 @@ function conforms to A .Fn fork system call appeared in -.At v6 . +.At v1 .
CVS commit: src/lib/libc/sys
Module Name:src Committed By: sevan Date: Sun Sep 1 19:40:07 UTC 2019 Modified Files: src/lib/libc/sys: fork.2 Log Message: fork was present in v1 https://www.bell-labs.com/usr/dmr/www/man21.pdf To generate a diff of this commit: cvs rdiff -u -r1.24 -r1.25 src/lib/libc/sys/fork.2 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libc/stdlib
Module Name:src Committed By: sevan Date: Sun Sep 1 19:37:21 UTC 2019 Modified Files: src/lib/libc/stdlib: exit.3 Log Message: Document history https://www.bell-labs.com/usr/dmr/www/man21.pdf To generate a diff of this commit: cvs rdiff -u -r1.16 -r1.17 src/lib/libc/stdlib/exit.3 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/lib/libc/stdlib/exit.3 diff -u src/lib/libc/stdlib/exit.3:1.16 src/lib/libc/stdlib/exit.3:1.17 --- src/lib/libc/stdlib/exit.3:1.16 Fri Apr 26 18:29:55 2013 +++ src/lib/libc/stdlib/exit.3 Sun Sep 1 19:37:21 2019 @@ -1,4 +1,4 @@ -.\" $NetBSD: exit.3,v 1.16 2013/04/26 18:29:55 christos Exp $ +.\" $NetBSD: exit.3,v 1.17 2019/09/01 19:37:21 sevan Exp $ .\" .\" Copyright (c) 1990, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -33,7 +33,7 @@ .\" .\" from: @(#)exit.3 8.1 (Berkeley) 6/4/93 .\" -.Dd January 2, 2012 +.Dd September 1, 2019 .Dt EXIT 3 .Os .Sh NAME @@ -109,3 +109,8 @@ The function conforms to .St -ansiC . +.Sh HISTORY +The +.Fn exit +function appeared in +.At v1 .
CVS commit: src/lib/libc/stdlib
Module Name:src Committed By: sevan Date: Sun Sep 1 19:37:21 UTC 2019 Modified Files: src/lib/libc/stdlib: exit.3 Log Message: Document history https://www.bell-labs.com/usr/dmr/www/man21.pdf To generate a diff of this commit: cvs rdiff -u -r1.16 -r1.17 src/lib/libc/stdlib/exit.3 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libc/gen
Module Name:src Committed By: wiz Date: Sun Sep 1 19:36:09 UTC 2019 Modified Files: src/lib/libc/gen: exec.3 Log Message: Remove superfluous Pp. To generate a diff of this commit: cvs rdiff -u -r1.30 -r1.31 src/lib/libc/gen/exec.3 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libc/gen
Module Name:src Committed By: wiz Date: Sun Sep 1 19:36:09 UTC 2019 Modified Files: src/lib/libc/gen: exec.3 Log Message: Remove superfluous Pp. To generate a diff of this commit: cvs rdiff -u -r1.30 -r1.31 src/lib/libc/gen/exec.3 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/lib/libc/gen/exec.3 diff -u src/lib/libc/gen/exec.3:1.30 src/lib/libc/gen/exec.3:1.31 --- src/lib/libc/gen/exec.3:1.30 Sun Sep 1 19:33:45 2019 +++ src/lib/libc/gen/exec.3 Sun Sep 1 19:36:09 2019 @@ -1,4 +1,4 @@ -.\" $NetBSD: exec.3,v 1.30 2019/09/01 19:33:45 sevan Exp $ +.\" $NetBSD: exec.3,v 1.31 2019/09/01 19:36:09 wiz Exp $ .\" .\" Copyright (c) 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -278,7 +278,6 @@ and .Fn execvp conform to .St -p1003.1-90 . -.Pp .Sh HISTORY The .Fn exec
CVS commit: [netbsd-9] src/doc
Module Name:src Committed By: martin Date: Sun Sep 1 19:35:17 UTC 2019 Modified Files: src/doc [netbsd-9]: CHANGES-9.0 Log Message: Tickets #166 and #167 To generate a diff of this commit: cvs rdiff -u -r1.1.2.34 -r1.1.2.35 src/doc/CHANGES-9.0 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-9] src/doc
Module Name:src Committed By: martin Date: Sun Sep 1 19:35:17 UTC 2019 Modified Files: src/doc [netbsd-9]: CHANGES-9.0 Log Message: Tickets #166 and #167 To generate a diff of this commit: cvs rdiff -u -r1.1.2.34 -r1.1.2.35 src/doc/CHANGES-9.0 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-9.0 diff -u src/doc/CHANGES-9.0:1.1.2.34 src/doc/CHANGES-9.0:1.1.2.35 --- src/doc/CHANGES-9.0:1.1.2.34 Sun Sep 1 14:22:36 2019 +++ src/doc/CHANGES-9.0 Sun Sep 1 19:35:17 2019 @@ -1,4 +1,4 @@ -# $NetBSD: CHANGES-9.0,v 1.1.2.34 2019/09/01 14:22:36 martin Exp $ +# $NetBSD: CHANGES-9.0,v 1.1.2.35 2019/09/01 19:35:17 martin Exp $ A complete list of changes from the initial NetBSD 9.0 branch on 2019-07-30 until the 9.0 release: @@ -2641,3 +2641,15 @@ share/man/man1/cd.11.9,1.10 Improve formatting. [sevan, ticket #153] +share/man/man9/Makefile1.439 + + Fix editor mistake in rev. 1.438. + [oster, ticket #166] + +share/man/man9/copy.91.21 +share/man/man9/intro.91.25 +share/man/man9/uiomove.9 1.19 + + Fix cross-references in these man-pages. + [oster, ticket #167] +
CVS commit: [netbsd-9] src/share/man/man9
Module Name:src Committed By: martin Date: Sun Sep 1 19:34:16 UTC 2019 Modified Files: src/share/man/man9 [netbsd-9]: copy.9 intro.9 uiomove.9 Log Message: Pull up following revision(s) (requested by oster in ticket #167): share/man/man9/copy.9: revision 1.21 share/man/man9/intro.9: revision 1.25 share/man/man9/uiomove.9: revision 1.19 s/Xr store/Xr ustore/ to fix cross-references in these man-pages. To generate a diff of this commit: cvs rdiff -u -r1.20 -r1.20.6.1 src/share/man/man9/copy.9 cvs rdiff -u -r1.24 -r1.24.2.1 src/share/man/man9/intro.9 cvs rdiff -u -r1.18 -r1.18.8.1 src/share/man/man9/uiomove.9 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-9] src/share/man/man9
Module Name:src Committed By: martin Date: Sun Sep 1 19:34:16 UTC 2019 Modified Files: src/share/man/man9 [netbsd-9]: copy.9 intro.9 uiomove.9 Log Message: Pull up following revision(s) (requested by oster in ticket #167): share/man/man9/copy.9: revision 1.21 share/man/man9/intro.9: revision 1.25 share/man/man9/uiomove.9: revision 1.19 s/Xr store/Xr ustore/ to fix cross-references in these man-pages. To generate a diff of this commit: cvs rdiff -u -r1.20 -r1.20.6.1 src/share/man/man9/copy.9 cvs rdiff -u -r1.24 -r1.24.2.1 src/share/man/man9/intro.9 cvs rdiff -u -r1.18 -r1.18.8.1 src/share/man/man9/uiomove.9 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/share/man/man9/copy.9 diff -u src/share/man/man9/copy.9:1.20 src/share/man/man9/copy.9:1.20.6.1 --- src/share/man/man9/copy.9:1.20 Thu Feb 8 09:03:23 2018 +++ src/share/man/man9/copy.9 Sun Sep 1 19:34:16 2019 @@ -1,4 +1,4 @@ -.\" $NetBSD: copy.9,v 1.20 2018/02/08 09:03:23 dholland Exp $ +.\" $NetBSD: copy.9,v 1.20.6.1 2019/09/01 19:34:16 martin Exp $ .\" .\" Copyright (c) 1996, 2002 Jason R. Thorpe. .\" All rights reserved. @@ -177,4 +177,4 @@ if the string is longer than bytes. .Sh SEE ALSO .Xr fetch 9 , -.Xr store 9 +.Xr ustore 9 Index: src/share/man/man9/intro.9 diff -u src/share/man/man9/intro.9:1.24 src/share/man/man9/intro.9:1.24.2.1 --- src/share/man/man9/intro.9:1.24 Wed May 8 14:25:39 2019 +++ src/share/man/man9/intro.9 Sun Sep 1 19:34:16 2019 @@ -1,4 +1,4 @@ -.\" $NetBSD: intro.9,v 1.24 2019/05/08 14:25:39 isaki Exp $ +.\" $NetBSD: intro.9,v 1.24.2.1 2019/09/01 19:34:16 martin Exp $ .\" .\" Copyright (c) 1997, 2007 The NetBSD Foundation, Inc. .\" All rights reserved. @@ -322,7 +322,7 @@ See .Pp Store data to user-space. See -.Xr store 9 . +.Xr ustore 9 . .Pp Fetch data from user-space. See Index: src/share/man/man9/uiomove.9 diff -u src/share/man/man9/uiomove.9:1.18 src/share/man/man9/uiomove.9:1.18.8.1 --- src/share/man/man9/uiomove.9:1.18 Mon Jul 3 21:28:48 2017 +++ src/share/man/man9/uiomove.9 Sun Sep 1 19:34:16 2019 @@ -1,4 +1,4 @@ -.\" $NetBSD: uiomove.9,v 1.18 2017/07/03 21:28:48 wiz Exp $ +.\" $NetBSD: uiomove.9,v 1.18.8.1 2019/09/01 19:34:16 martin Exp $ .\" .\" Copyright (c) 1996 The NetBSD Foundation, Inc. .\" All rights reserved. @@ -151,4 +151,4 @@ is returned. .Sh SEE ALSO .Xr copy 9 , .Xr fetch 9 , -.Xr store 9 +.Xr ustore 9
CVS commit: src/lib/libc/gen
Module Name:src Committed By: sevan Date: Sun Sep 1 19:33:45 UTC 2019 Modified Files: src/lib/libc/gen: exec.3 Log Message: Document history of exec() Move statement on execlpe() & execvpe() to HISTORY section. To generate a diff of this commit: cvs rdiff -u -r1.29 -r1.30 src/lib/libc/gen/exec.3 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libc/gen
Module Name:src Committed By: sevan Date: Sun Sep 1 19:33:45 UTC 2019 Modified Files: src/lib/libc/gen: exec.3 Log Message: Document history of exec() Move statement on execlpe() & execvpe() to HISTORY section. To generate a diff of this commit: cvs rdiff -u -r1.29 -r1.30 src/lib/libc/gen/exec.3 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/lib/libc/gen/exec.3 diff -u src/lib/libc/gen/exec.3:1.29 src/lib/libc/gen/exec.3:1.30 --- src/lib/libc/gen/exec.3:1.29 Mon Sep 18 08:48:23 2017 +++ src/lib/libc/gen/exec.3 Sun Sep 1 19:33:45 2019 @@ -1,4 +1,4 @@ -.\" $NetBSD: exec.3,v 1.29 2017/09/18 08:48:23 wiz Exp $ +.\" $NetBSD: exec.3,v 1.30 2019/09/01 19:33:45 sevan Exp $ .\" .\" Copyright (c) 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -29,7 +29,7 @@ .\" .\" @(#)exec.3 8.3 (Berkeley) 1/24/94 .\" -.Dd September 26, 2014 +.Dd September 1, 2019 .Dt EXEC 3 .Os .Sh NAME @@ -279,6 +279,11 @@ and conform to .St -p1003.1-90 . .Pp +.Sh HISTORY +The +.Fn exec +function appeared in +.At v1 . The .Fn execlpe function appeared first in QNX and the
CVS commit: [netbsd-9] src/share/man/man9
Module Name:src Committed By: martin Date: Sun Sep 1 19:31:44 UTC 2019 Modified Files: src/share/man/man9 [netbsd-9]: Makefile Log Message: Pull up following revision(s) (requested by oster in ticket #166): share/man/man9/Makefile: revision 1.439 oops. i must have deleted the 'u' in 'ustore.9' when partially fixing the alphabeta ordering here. fixes build. To generate a diff of this commit: cvs rdiff -u -r1.437.2.1 -r1.437.2.2 src/share/man/man9/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-9] src/share/man/man9
Module Name:src Committed By: martin Date: Sun Sep 1 19:31:44 UTC 2019 Modified Files: src/share/man/man9 [netbsd-9]: Makefile Log Message: Pull up following revision(s) (requested by oster in ticket #166): share/man/man9/Makefile: revision 1.439 oops. i must have deleted the 'u' in 'ustore.9' when partially fixing the alphabeta ordering here. fixes build. To generate a diff of this commit: cvs rdiff -u -r1.437.2.1 -r1.437.2.2 src/share/man/man9/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/share/man/man9/Makefile diff -u src/share/man/man9/Makefile:1.437.2.1 src/share/man/man9/Makefile:1.437.2.2 --- src/share/man/man9/Makefile:1.437.2.1 Sun Sep 1 13:00:37 2019 +++ src/share/man/man9/Makefile Sun Sep 1 19:31:43 2019 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.437.2.1 2019/09/01 13:00:37 martin Exp $ +# $NetBSD: Makefile,v 1.437.2.2 2019/09/01 19:31:43 martin Exp $ # Makefile for section 9 (kernel function and variable) manual pages. @@ -53,14 +53,13 @@ MAN= accept_filter.9 accf_data.9 accf_ht SET.9 setbit.9 setjmp.9 shutdownhook_establish.9 \ signal.9 skpc.9 sockopt.9 softintr.9 spl.9 specificdata.9 \ spi.9 splraiseipl.9 \ - store.9 \ suspendsched.9 \ sysctl.9 sysmon_envsys.9 sysmon_pswitch.9 sysmon_taskq.9 tc.9 \ tcp_congctl.9 threadpool.9 timecounter.9 time_second.9 todr.9 \ ts2timo.9 tvtohz.9 \ ubc.9 ucas.9 ucom.9 ufetch.9 uiomove.9 \ usbd_status.9 usbdi.9 usbnet.9 \ - userret.9 \ + userret.9 ustore.9 \ uvm.9 uvm_hotplug.9 uvm_km.9 uvm_map.9 \ vattr.9 veriexec.9 vcons.9 vfs.9 vfs_hooks.9 vfsops.9 vfssubr.9 \ video.9 vme.9 vnfileops.9 vnode.9 vnodeops.9 vnsubr.9 vmem.9 \
CVS commit: src/doc
Module Name:src Committed By: roy Date: Sun Sep 1 19:29:33 UTC 2019 Modified Files: src/doc: CHANGES Log Message: Document recent inet6 changes. To generate a diff of this commit: cvs rdiff -u -r1.2575 -r1.2576 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.2575 src/doc/CHANGES:1.2576 --- src/doc/CHANGES:1.2575 Fri Aug 30 08:40:25 2019 +++ src/doc/CHANGES Sun Sep 1 19:29:33 2019 @@ -1,4 +1,4 @@ -# LIST OF CHANGES FROM LAST RELEASE: <$Revision: 1.2575 $> +# LIST OF CHANGES FROM LAST RELEASE: <$Revision: 1.2576 $> # # # [Note: This file does not mention every change made to the NetBSD source tree. @@ -32,3 +32,6 @@ Changes from NetBSD 9.0 to NetBSD 10.0: usbnet(9): Port kue(4) and upl(4). [mrg 20190818] boot(8): GPT and RAIDframe support for x86 bootstrap [manu 20190818] dhcpcd(8): Import dhcpcd-8.0.3 [roy 20190821] + inet6: Fix sending RTM_MISS for unresolvable addresses and restore + ND6_LLINFO_WAITDELETE so that any send at this point can + return EHOSTDOWN to match inet behaviour. [roy 20190901]
CVS commit: src/doc
Module Name:src Committed By: roy Date: Sun Sep 1 19:29:33 UTC 2019 Modified Files: src/doc: CHANGES Log Message: Document recent inet6 changes. To generate a diff of this commit: cvs rdiff -u -r1.2575 -r1.2576 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/lib/libc/compat-43
Module Name:src Committed By: sevan Date: Sun Sep 1 19:28:31 UTC 2019 Modified Files: src/lib/libc/compat-43: creat.3 Log Message: create was present in v1 https://www.bell-labs.com/usr/dmr/www/man21.pdf To generate a diff of this commit: cvs rdiff -u -r1.16 -r1.17 src/lib/libc/compat-43/creat.3 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/lib/libc/compat-43/creat.3 diff -u src/lib/libc/compat-43/creat.3:1.16 src/lib/libc/compat-43/creat.3:1.17 --- src/lib/libc/compat-43/creat.3:1.16 Thu Aug 7 16:42:39 2003 +++ src/lib/libc/compat-43/creat.3 Sun Sep 1 19:28:31 2019 @@ -26,9 +26,9 @@ .\" SUCH DAMAGE. .\" .\" from: @(#)creat.2 8.1 (Berkeley) 6/2/93 -.\" $NetBSD: creat.3,v 1.16 2003/08/07 16:42:39 agc Exp $ +.\" $NetBSD: creat.3,v 1.17 2019/09/01 19:28:31 sevan Exp $ .\" -.Dd June 2, 1993 +.Dd September 1, 2019 .Dt CREAT 3 .Os .Sh NAME @@ -62,4 +62,4 @@ function call conforms to The .Fn creat function call appeared in -.At v6 . +.At v1 .
CVS commit: src/lib/libc/compat-43
Module Name:src Committed By: sevan Date: Sun Sep 1 19:28:31 UTC 2019 Modified Files: src/lib/libc/compat-43: creat.3 Log Message: create was present in v1 https://www.bell-labs.com/usr/dmr/www/man21.pdf To generate a diff of this commit: cvs rdiff -u -r1.16 -r1.17 src/lib/libc/compat-43/creat.3 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/netinet6
Module Name:src Committed By: roy Date: Sun Sep 1 19:26:22 UTC 2019 Modified Files: src/sys/netinet6: nd6.c nd6.h Log Message: inet6: Re-introduce ND6_LLINFO_WAITDELETE so we can return EHOSTDOWN Once we've sent nd6_mmaxtries NS messages, send RTM_MISS and move to the ND6_LLINFO_WAITDELETE state rather than freeing the llentry right away. Wait for a probe cycle and then free the llentry. If a connection attempts to re-use the llentry during ND6_LLINFO_WAITDELETE, return EHOSTDOWN (or EHOSTUNREACH if a gateway) to match inet behaviour. Continue to ND6_LLINFO_INCOMPLETE and send another NS probe in hope of a reply. Rinse and repeat. This reverts part of nd6.c r1.14 - an 18 year old commit! To generate a diff of this commit: cvs rdiff -u -r1.262 -r1.263 src/sys/netinet6/nd6.c cvs rdiff -u -r1.86 -r1.87 src/sys/netinet6/nd6.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/netinet6
Module Name:src Committed By: roy Date: Sun Sep 1 19:26:22 UTC 2019 Modified Files: src/sys/netinet6: nd6.c nd6.h Log Message: inet6: Re-introduce ND6_LLINFO_WAITDELETE so we can return EHOSTDOWN Once we've sent nd6_mmaxtries NS messages, send RTM_MISS and move to the ND6_LLINFO_WAITDELETE state rather than freeing the llentry right away. Wait for a probe cycle and then free the llentry. If a connection attempts to re-use the llentry during ND6_LLINFO_WAITDELETE, return EHOSTDOWN (or EHOSTUNREACH if a gateway) to match inet behaviour. Continue to ND6_LLINFO_INCOMPLETE and send another NS probe in hope of a reply. Rinse and repeat. This reverts part of nd6.c r1.14 - an 18 year old commit! To generate a diff of this commit: cvs rdiff -u -r1.262 -r1.263 src/sys/netinet6/nd6.c cvs rdiff -u -r1.86 -r1.87 src/sys/netinet6/nd6.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sys/netinet6/nd6.c diff -u src/sys/netinet6/nd6.c:1.262 src/sys/netinet6/nd6.c:1.263 --- src/sys/netinet6/nd6.c:1.262 Sun Sep 1 18:54:38 2019 +++ src/sys/netinet6/nd6.c Sun Sep 1 19:26:21 2019 @@ -1,4 +1,4 @@ -/* $NetBSD: nd6.c,v 1.262 2019/09/01 18:54:38 roy Exp $ */ +/* $NetBSD: nd6.c,v 1.263 2019/09/01 19:26:21 roy Exp $ */ /* $KAME: nd6.c,v 1.279 2002/06/08 11:16:51 itojun Exp $ */ /* @@ -31,7 +31,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: nd6.c,v 1.262 2019/09/01 18:54:38 roy Exp $"); +__KERNEL_RCSID(0, "$NetBSD: nd6.c,v 1.263 2019/09/01 19:26:21 roy Exp $"); #ifdef _KERNEL_OPT #include "opt_net_mpsafe.h" @@ -480,9 +480,14 @@ nd6_llinfo_timer(void *arg) ndi = ND_IFINFO(ifp); switch (ln->ln_state) { + case ND6_LLINFO_WAITDELETE: + LLE_REMREF(ln); + nd6_free(ln, 0); + ln = NULL; + break; + case ND6_LLINFO_INCOMPLETE: - if (ln->ln_asked < nd6_mmaxtries) { - ln->ln_asked++; + if (ln->ln_asked++ < nd6_mmaxtries) { send_ns = true; break; } @@ -506,9 +511,17 @@ nd6_llinfo_timer(void *arg) sockaddr_in6_init(, taddr6, 0, 0, 0); rt_clonedmsg(RTM_MISS, sin6tosa(), NULL, ifp); - LLE_REMREF(ln); - nd6_free(ln, 0); - ln = NULL; + /* + * Move to the ND6_LLINFO_WAITDELETE state for another + * interval at which point the llentry will be freed + * unless it's attempted to be used again and we'll + * resend NS again, rinse and repeat. + */ + ln->ln_state = ND6_LLINFO_WAITDELETE; + if (ln->ln_asked == nd6_mmaxtries) + nd6_llinfo_settimer(ln, ndi->retrans * hz / 1000); + else + send_ns = true; break; case ND6_LLINFO_REACHABLE: @@ -2312,6 +2325,7 @@ nd6_resolve(struct ifnet *ifp, const str struct llentry *ln = NULL; bool created = false; const struct sockaddr_in6 *dst = satocsin6(_dst); + int error; /* discard the packet if IPv6 operation is disabled on the interface */ if ((ND_IFINFO(ifp)->flags & ND6_IFF_IFDISABLED)) { @@ -2406,7 +2420,8 @@ nd6_resolve(struct ifnet *ifp, const str * does not exceed nd6_maxqueuelen. When it exceeds nd6_maxqueuelen, * the oldest packet in the queue will be removed. */ - if (ln->ln_state == ND6_LLINFO_NOSTATE) + if (ln->ln_state == ND6_LLINFO_NOSTATE || + ln->ln_state == ND6_LLINFO_WAITDELETE) ln->ln_state = ND6_LLINFO_INCOMPLETE; if (ln->ln_hold) { struct mbuf *m_hold; @@ -2430,6 +2445,12 @@ nd6_resolve(struct ifnet *ifp, const str ln->ln_hold = m; } + if (ln->ln_asked >= nd6_mmaxtries) + error = (rt != NULL && rt->rt_flags & RTF_GATEWAY) ? + EHOSTUNREACH : EHOSTDOWN; + else + error = EWOULDBLOCK; + /* * If there has been no NS for the neighbor after entering the * INCOMPLETE state, send the first solicitation. @@ -2448,7 +2469,7 @@ nd6_resolve(struct ifnet *ifp, const str if (created) nd6_gc_neighbors(LLTABLE6(ifp), >sin6_addr); - return EWOULDBLOCK; + return error; } int Index: src/sys/netinet6/nd6.h diff -u src/sys/netinet6/nd6.h:1.86 src/sys/netinet6/nd6.h:1.87 --- src/sys/netinet6/nd6.h:1.86 Tue Mar 6 10:57:00 2018 +++ src/sys/netinet6/nd6.h Sun Sep 1 19:26:21 2019 @@ -1,4 +1,4 @@ -/* $NetBSD: nd6.h,v 1.86 2018/03/06 10:57:00 roy Exp $ */ +/* $NetBSD: nd6.h,v 1.87 2019/09/01 19:26:21 roy Exp $ */ /* $KAME: nd6.h,v 1.95 2002/06/08 11:31:06 itojun Exp $ */ /* @@ -38,14 +38,7 @@ #define ND6_LLINFO_PURGE -3 #define ND6_LLINFO_NOSTATE -2 -/* - * We don't need the WAITDELETE state any more, but we keep the definition - * in a comment line instead of removing it. This is necessary to avoid - * unintentionally reusing the value for another purpose, which might - * affect backward compatibility with old applications. - * (2711 jin...@kame.net) - */ -/* #define ND6_LLINFO_WAITDELETE -1 */ +#define ND6_LLINFO_WAITDELETE -1 #define ND6_LLINFO_INCOMPLETE 0 #define ND6_LLINFO_REACHABLE 1 #define ND6_LLINFO_STALE 2
CVS commit: src/lib/libc/sys
Module Name:src Committed By: sevan Date: Sun Sep 1 19:20:45 UTC 2019 Modified Files: src/lib/libc/sys: close.2 Log Message: Document history https://www.bell-labs.com/usr/dmr/www/man21.pdf To generate a diff of this commit: cvs rdiff -u -r1.17 -r1.18 src/lib/libc/sys/close.2 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/lib/libc/sys/close.2 diff -u src/lib/libc/sys/close.2:1.17 src/lib/libc/sys/close.2:1.18 --- src/lib/libc/sys/close.2:1.17 Tue Jun 1 16:14:10 2004 +++ src/lib/libc/sys/close.2 Sun Sep 1 19:20:45 2019 @@ -1,4 +1,4 @@ -.\" $NetBSD: close.2,v 1.17 2004/06/01 16:14:10 kleink Exp $ +.\" $NetBSD: close.2,v 1.18 2019/09/01 19:20:45 sevan Exp $ .\" .\" Copyright (c) 1980, 1991, 1993, 1994 .\" The Regents of the University of California. All rights reserved. @@ -29,7 +29,7 @@ .\" .\" @(#)close.2 8.2 (Berkeley) 4/19/94 .\" -.Dd April 19, 1994 +.Dd September 1, 2019 .Dt CLOSE 2 .Os .Sh NAME @@ -130,3 +130,8 @@ The .Fn close function conforms to .St -p1003.1-90 . +.Sh HISTORY +The +.Fn close +function appeared in +.At v1 .
CVS commit: src/lib/libc/sys
Module Name:src Committed By: sevan Date: Sun Sep 1 19:20:45 UTC 2019 Modified Files: src/lib/libc/sys: close.2 Log Message: Document history https://www.bell-labs.com/usr/dmr/www/man21.pdf To generate a diff of this commit: cvs rdiff -u -r1.17 -r1.18 src/lib/libc/sys/close.2 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libc/sys
Module Name:src Committed By: sevan Date: Sun Sep 1 19:16:43 UTC 2019 Modified Files: src/lib/libc/sys: chown.2 Log Message: Document history of chown(2) https://www.bell-labs.com/usr/dmr/www/man21.pdf To generate a diff of this commit: cvs rdiff -u -r1.36 -r1.37 src/lib/libc/sys/chown.2 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libc/sys
Module Name:src Committed By: sevan Date: Sun Sep 1 19:16:43 UTC 2019 Modified Files: src/lib/libc/sys: chown.2 Log Message: Document history of chown(2) https://www.bell-labs.com/usr/dmr/www/man21.pdf To generate a diff of this commit: cvs rdiff -u -r1.36 -r1.37 src/lib/libc/sys/chown.2 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/lib/libc/sys/chown.2 diff -u src/lib/libc/sys/chown.2:1.36 src/lib/libc/sys/chown.2:1.37 --- src/lib/libc/sys/chown.2:1.36 Tue Jul 30 12:38:16 2013 +++ src/lib/libc/sys/chown.2 Sun Sep 1 19:16:43 2019 @@ -1,4 +1,4 @@ -.\" $NetBSD: chown.2,v 1.36 2013/07/30 12:38:16 njoly Exp $ +.\" $NetBSD: chown.2,v 1.37 2019/09/01 19:16:43 sevan Exp $ .\" .\" Copyright (c) 1980, 1991, 1993, 1994 .\" The Regents of the University of California. All rights reserved. @@ -29,7 +29,7 @@ .\" .\" @(#)chown.2 8.4 (Berkeley) 4/19/94 .\" -.Dd July 30, 2013 +.Dd September 1, 2019 .Dt CHOWN 2 .Os .Sh NAME @@ -253,6 +253,10 @@ functions conform to .El .Sh HISTORY The +.Fn chown +function call appeared in +.At v1 . +The .Fn fchown function call appeared in .Bx 4.2 .
CVS commit: src/sbin/init
Module Name:src Committed By: wiz Date: Sun Sep 1 19:13:18 UTC 2019 Modified Files: src/sbin/init: init.8 Log Message: Remove superfluous Pp. To generate a diff of this commit: cvs rdiff -u -r1.61 -r1.62 src/sbin/init/init.8 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libc/sys
Module Name:src Committed By: sevan Date: Sun Sep 1 19:13:57 UTC 2019 Modified Files: src/lib/libc/sys: chmod.2 Log Message: Document history of chmod(2) https://www.bell-labs.com/usr/dmr/www/man21.pdf To generate a diff of this commit: cvs rdiff -u -r1.47 -r1.48 src/lib/libc/sys/chmod.2 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libc/sys
Module Name:src Committed By: sevan Date: Sun Sep 1 19:13:57 UTC 2019 Modified Files: src/lib/libc/sys: chmod.2 Log Message: Document history of chmod(2) https://www.bell-labs.com/usr/dmr/www/man21.pdf To generate a diff of this commit: cvs rdiff -u -r1.47 -r1.48 src/lib/libc/sys/chmod.2 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/lib/libc/sys/chmod.2 diff -u src/lib/libc/sys/chmod.2:1.47 src/lib/libc/sys/chmod.2:1.48 --- src/lib/libc/sys/chmod.2:1.47 Tue Oct 15 11:43:21 2013 +++ src/lib/libc/sys/chmod.2 Sun Sep 1 19:13:57 2019 @@ -1,4 +1,4 @@ -.\" $NetBSD: chmod.2,v 1.47 2013/10/15 11:43:21 njoly Exp $ +.\" $NetBSD: chmod.2,v 1.48 2019/09/01 19:13:57 sevan Exp $ .\" .\" Copyright (c) 1980, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -29,7 +29,7 @@ .\" .\" @(#)chmod.2 8.1 (Berkeley) 6/4/93 .\" -.Dd July 29, 2013 +.Dd September 1, 2019 .Dt CHMOD 2 .Os .Sh NAME @@ -288,6 +288,10 @@ function conforms to .St -p1003.1-2008 . .Sh HISTORY The +.Fn chmod +function call appeared in +.At v1 . +The .Fn fchmod function call appeared in
CVS commit: src/sbin/init
Module Name:src Committed By: wiz Date: Sun Sep 1 19:13:18 UTC 2019 Modified Files: src/sbin/init: init.8 Log Message: Remove superfluous Pp. To generate a diff of this commit: cvs rdiff -u -r1.61 -r1.62 src/sbin/init/init.8 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sbin/init/init.8 diff -u src/sbin/init/init.8:1.61 src/sbin/init/init.8:1.62 --- src/sbin/init/init.8:1.61 Sun Sep 1 18:51:27 2019 +++ src/sbin/init/init.8 Sun Sep 1 19:13:18 2019 @@ -1,4 +1,4 @@ -.\" $NetBSD: init.8,v 1.61 2019/09/01 18:51:27 sevan Exp $ +.\" $NetBSD: init.8,v 1.62 2019/09/01 19:13:18 wiz Exp $ .\" .\" Copyright (c) 1980, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -356,7 +356,6 @@ each time it is started. This is often caused by a ringing or noisy terminal line. .Em "Init will sleep for 10 seconds" , .Em "then continue trying to start the process" . -.Pp .It "some processes would not die; ps axl advised." A process is hung and could not be killed when the system was shutting down.
CVS commit: src/usr.bin/su
Module Name:src Committed By: wiz Date: Sun Sep 1 19:12:16 UTC 2019 Modified Files: src/usr.bin/su: su.1 Log Message: Remove superfluous Ns. To generate a diff of this commit: cvs rdiff -u -r1.53 -r1.54 src/usr.bin/su/su.1 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/usr.bin/su
Module Name:src Committed By: wiz Date: Sun Sep 1 19:12:16 UTC 2019 Modified Files: src/usr.bin/su: su.1 Log Message: Remove superfluous Ns. To generate a diff of this commit: cvs rdiff -u -r1.53 -r1.54 src/usr.bin/su/su.1 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/su/su.1 diff -u src/usr.bin/su/su.1:1.53 src/usr.bin/su/su.1:1.54 --- src/usr.bin/su/su.1:1.53 Sun Sep 1 18:37:44 2019 +++ src/usr.bin/su/su.1 Sun Sep 1 19:12:16 2019 @@ -26,7 +26,7 @@ .\" SUCH DAMAGE. .\" .\" from: @(#)su.1 8.2 (Berkeley) 4/18/94 -.\" $NetBSD: su.1,v 1.53 2019/09/01 18:37:44 sevan Exp $ +.\" $NetBSD: su.1,v 1.54 2019/09/01 19:12:16 wiz Exp $ .\" .Dd September 1, 2019 .Dt SU 1 @@ -45,8 +45,7 @@ .Nm .Op Fl dfKlm .Op Fl c Ar login-class -.Oo -.Ns : Ns Ar group +.Oo : Ns Ar group .Op Ar "shell arguments" .Oc .Sh DESCRIPTION
CVS commit: src/lib/libc/sys
Module Name:src Committed By: sevan Date: Sun Sep 1 19:11:41 UTC 2019 Modified Files: src/lib/libc/sys: chdir.2 Log Message: Document history of chdir(2) https://www.bell-labs.com/usr/dmr/www/man21.pdf To generate a diff of this commit: cvs rdiff -u -r1.22 -r1.23 src/lib/libc/sys/chdir.2 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/lib/libc/sys/chdir.2 diff -u src/lib/libc/sys/chdir.2:1.22 src/lib/libc/sys/chdir.2:1.23 --- src/lib/libc/sys/chdir.2:1.22 Tue Feb 5 13:36:59 2013 +++ src/lib/libc/sys/chdir.2 Sun Sep 1 19:11:41 2019 @@ -1,4 +1,4 @@ -.\" $NetBSD: chdir.2,v 1.22 2013/02/05 13:36:59 wiz Exp $ +.\" $NetBSD: chdir.2,v 1.23 2019/09/01 19:11:41 sevan Exp $ .\" .\" Copyright (c) 1980, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -29,7 +29,7 @@ .\" .\" @(#)chdir.2 8.2 (Berkeley) 12/11/93 .\" -.Dd February 5, 2013 +.Dd September 1, 2019 .Dt CHDIR 2 .Os .Sh NAME @@ -130,6 +130,10 @@ The function conforms to .St -p1003.1-90 . .Sh HISTORY +A +.Fn chdir +function call appeared in +.At v1 . The .Fn fchdir function call
CVS commit: src/lib/libc/sys
Module Name:src Committed By: sevan Date: Sun Sep 1 19:11:41 UTC 2019 Modified Files: src/lib/libc/sys: chdir.2 Log Message: Document history of chdir(2) https://www.bell-labs.com/usr/dmr/www/man21.pdf To generate a diff of this commit: cvs rdiff -u -r1.22 -r1.23 src/lib/libc/sys/chdir.2 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/usr.bin/mail
Module Name:src Committed By: wiz Date: Sun Sep 1 19:10:39 UTC 2019 Modified Files: src/usr.bin/mail: mail.1 Log Message: Remove superfluous Pp. To generate a diff of this commit: cvs rdiff -u -r1.66 -r1.67 src/usr.bin/mail/mail.1 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/mail/mail.1 diff -u src/usr.bin/mail/mail.1:1.66 src/usr.bin/mail/mail.1:1.67 --- src/usr.bin/mail/mail.1:1.66 Sun Sep 1 18:24:28 2019 +++ src/usr.bin/mail/mail.1 Sun Sep 1 19:10:39 2019 @@ -1,4 +1,4 @@ -.\" $NetBSD: mail.1,v 1.66 2019/09/01 18:24:28 sevan Exp $ +.\" $NetBSD: mail.1,v 1.67 2019/09/01 19:10:39 wiz Exp $ .\" .\" Copyright (c) 1980, 1990, 1993 .\" The Regents of the University of California. All rights reserved. @@ -61,7 +61,6 @@ is an intelligent mail processing system a command syntax reminiscent of .Xr \ 1 with lines replaced by messages. -.Pp .Bl -tag -width flag .It Fl a Attach @@ -1136,7 +1135,6 @@ Note: .Ic sort has no effect on the threading, sorting only on the heads of the threads if threads exist. -.Pp .It Ic source The .Ic source @@ -2238,7 +2236,6 @@ parts using (assuming it is installed) and add this support to .Ql multipart/alternative blocks: -.Pp .Bd -literal -offset indent set mime-body-text-html="+/usr/pkg/bin/lynx -force_html -dump -stdin" .Ed
CVS commit: src/usr.bin/mail
Module Name:src Committed By: wiz Date: Sun Sep 1 19:10:39 UTC 2019 Modified Files: src/usr.bin/mail: mail.1 Log Message: Remove superfluous Pp. To generate a diff of this commit: cvs rdiff -u -r1.66 -r1.67 src/usr.bin/mail/mail.1 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/share/man/man9
Module Name:src Committed By: wiz Date: Sun Sep 1 19:09:00 UTC 2019 Modified Files: src/share/man/man9: intro.9 Log Message: fetch(9) -> ufetch(9). Remove reference to unimplemented ppi(9). To generate a diff of this commit: cvs rdiff -u -r1.25 -r1.26 src/share/man/man9/intro.9 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/share/man/man9/intro.9 diff -u src/share/man/man9/intro.9:1.25 src/share/man/man9/intro.9:1.26 --- src/share/man/man9/intro.9:1.25 Sun Sep 1 17:50:32 2019 +++ src/share/man/man9/intro.9 Sun Sep 1 19:09:00 2019 @@ -1,4 +1,4 @@ -.\" $NetBSD: intro.9,v 1.25 2019/09/01 17:50:32 oster Exp $ +.\" $NetBSD: intro.9,v 1.26 2019/09/01 19:09:00 wiz Exp $ .\" .\" Copyright (c) 1997, 2007 The NetBSD Foundation, Inc. .\" All rights reserved. @@ -326,7 +326,7 @@ See .Pp Fetch data from user-space. See -.Xr fetch 9 . +.Xr ufetch 9 . .Pp Move data described by a struct uio. See @@ -495,10 +495,6 @@ Support for PCMCIA PC-Card devices. See .Xr pcmcia 9 . .Pp -User-space interface to ppbus parallel port. -See -.Xr ppi 9 . -.Pp Interface between low and high level radio drivers. See .Xr radio 9 .
CVS commit: src/share/man/man9
Module Name:src Committed By: wiz Date: Sun Sep 1 19:09:00 UTC 2019 Modified Files: src/share/man/man9: intro.9 Log Message: fetch(9) -> ufetch(9). Remove reference to unimplemented ppi(9). To generate a diff of this commit: cvs rdiff -u -r1.25 -r1.26 src/share/man/man9/intro.9 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/share/man/man9
Module Name:src Committed By: wiz Date: Sun Sep 1 19:08:23 UTC 2019 Modified Files: src/share/man/man9: copy.9 Log Message: fetch(9) -> ufetch(9) To generate a diff of this commit: cvs rdiff -u -r1.21 -r1.22 src/share/man/man9/copy.9 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/share/man/man9/copy.9 diff -u src/share/man/man9/copy.9:1.21 src/share/man/man9/copy.9:1.22 --- src/share/man/man9/copy.9:1.21 Sun Sep 1 17:50:32 2019 +++ src/share/man/man9/copy.9 Sun Sep 1 19:08:22 2019 @@ -1,4 +1,4 @@ -.\" $NetBSD: copy.9,v 1.21 2019/09/01 17:50:32 oster Exp $ +.\" $NetBSD: copy.9,v 1.22 2019/09/01 19:08:22 wiz Exp $ .\" .\" Copyright (c) 1996, 2002 Jason R. Thorpe. .\" All rights reserved. @@ -176,5 +176,5 @@ if the string is longer than .Fa len bytes. .Sh SEE ALSO -.Xr fetch 9 , +.Xr ufetch 9 , .Xr ustore 9
CVS commit: src/share/man/man9
Module Name:src Committed By: wiz Date: Sun Sep 1 19:08:36 UTC 2019 Modified Files: src/share/man/man9: uiomove.9 Log Message: fetch(9) -> ufetch(9). Remove superfluous Pp. To generate a diff of this commit: cvs rdiff -u -r1.19 -r1.20 src/share/man/man9/uiomove.9 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/share/man/man9/uiomove.9 diff -u src/share/man/man9/uiomove.9:1.19 src/share/man/man9/uiomove.9:1.20 --- src/share/man/man9/uiomove.9:1.19 Sun Sep 1 17:50:32 2019 +++ src/share/man/man9/uiomove.9 Sun Sep 1 19:08:35 2019 @@ -1,4 +1,4 @@ -.\" $NetBSD: uiomove.9,v 1.19 2019/09/01 17:50:32 oster Exp $ +.\" $NetBSD: uiomove.9,v 1.20 2019/09/01 19:08:35 wiz Exp $ .\" .\" Copyright (c) 1996 The NetBSD Foundation, Inc. .\" All rights reserved. @@ -67,7 +67,6 @@ A .Va struct uio typically describes data in motion. Several of the fields described below reflect that expectation. -.Pp .Bl -tag -width "uio_vmspace " .It Va uio_iov Pointer to array of @@ -150,5 +149,5 @@ If a bad address is encountered, is returned. .Sh SEE ALSO .Xr copy 9 , -.Xr fetch 9 , +.Xr ufetch 9 , .Xr ustore 9
CVS commit: src/share/man/man9
Module Name:src Committed By: wiz Date: Sun Sep 1 19:08:23 UTC 2019 Modified Files: src/share/man/man9: copy.9 Log Message: fetch(9) -> ufetch(9) To generate a diff of this commit: cvs rdiff -u -r1.21 -r1.22 src/share/man/man9/copy.9 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/share/man/man9
Module Name:src Committed By: wiz Date: Sun Sep 1 19:08:36 UTC 2019 Modified Files: src/share/man/man9: uiomove.9 Log Message: fetch(9) -> ufetch(9). Remove superfluous Pp. To generate a diff of this commit: cvs rdiff -u -r1.19 -r1.20 src/share/man/man9/uiomove.9 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/share/man/man5
Module Name:src Committed By: sevan Date: Sun Sep 1 19:04:59 UTC 2019 Modified Files: src/share/man/man5: utmp.5 Log Message: utmp(5) was present in v1 https://www.bell-labs.com/usr/dmr/www/man51.pdf Earliest version of wtmp I could find was in v3 https://minnie.tuhs.org/cgi-bin/utree.pl?file=V3/man/man5/wtmp.5 To generate a diff of this commit: cvs rdiff -u -r1.16 -r1.17 src/share/man/man5/utmp.5 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/share/man/man5/utmp.5 diff -u src/share/man/man5/utmp.5:1.16 src/share/man/man5/utmp.5:1.17 --- src/share/man/man5/utmp.5:1.16 Mon Mar 22 18:58:32 2010 +++ src/share/man/man5/utmp.5 Sun Sep 1 19:04:59 2019 @@ -1,4 +1,4 @@ -.\" $NetBSD: utmp.5,v 1.16 2010/03/22 18:58:32 joerg Exp $ +.\" $NetBSD: utmp.5,v 1.17 2019/09/01 19:04:59 sevan Exp $ .\" .\" Copyright (c) 1980, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -29,7 +29,7 @@ .\" .\" @(#)utmp.5 8.2 (Berkeley) 3/17/94 .\" -.Dd May 14, 2003 +.Dd September 1, 2019 .Dt UTMP 5 .Os .Sh NAME @@ -210,10 +210,12 @@ file. .Sh HISTORY A .Nm utmp -and +file format appeared in +.At v1 . +The .Nm wtmp file format appeared in -.At v6 . +.At v3 . The .Nm lastlog file format appeared in
CVS commit: src/share/man/man5
Module Name:src Committed By: sevan Date: Sun Sep 1 19:04:59 UTC 2019 Modified Files: src/share/man/man5: utmp.5 Log Message: utmp(5) was present in v1 https://www.bell-labs.com/usr/dmr/www/man51.pdf Earliest version of wtmp I could find was in v3 https://minnie.tuhs.org/cgi-bin/utree.pl?file=V3/man/man5/wtmp.5 To generate a diff of this commit: cvs rdiff -u -r1.16 -r1.17 src/share/man/man5/utmp.5 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/share/man/man5
Module Name:src Committed By: sevan Date: Sun Sep 1 18:57:05 UTC 2019 Modified Files: src/share/man/man5: passwd.5 Log Message: passwd(5) was in v1 https://www.bell-labs.com/usr/dmr/www/man51.pdf To generate a diff of this commit: cvs rdiff -u -r1.33 -r1.34 src/share/man/man5/passwd.5 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/share/man/man5/passwd.5 diff -u src/share/man/man5/passwd.5:1.33 src/share/man/man5/passwd.5:1.34 --- src/share/man/man5/passwd.5:1.33 Mon Jul 3 21:30:59 2017 +++ src/share/man/man5/passwd.5 Sun Sep 1 18:57:05 2019 @@ -1,4 +1,4 @@ -.\" $NetBSD: passwd.5,v 1.33 2017/07/03 21:30:59 wiz Exp $ +.\" $NetBSD: passwd.5,v 1.34 2019/09/01 18:57:05 sevan Exp $ .\" .\" Copyright (c) 1988, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -52,7 +52,7 @@ .\" .\" @(#)passwd.5 8.1 (Berkeley) 6/5/93 .\" -.Dd April 5, 2012 +.Dd September 1, 2019 .Dt PASSWD 5 .Os .Sh NAME @@ -401,7 +401,7 @@ BEGIN { FS = ":"} A .Nm file format appeared in -.At v6 . +.At v1 . .Pp The .Tn NIS
CVS commit: src/share/man/man5
Module Name:src Committed By: sevan Date: Sun Sep 1 18:57:05 UTC 2019 Modified Files: src/share/man/man5: passwd.5 Log Message: passwd(5) was in v1 https://www.bell-labs.com/usr/dmr/www/man51.pdf To generate a diff of this commit: cvs rdiff -u -r1.33 -r1.34 src/share/man/man5/passwd.5 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys
Module Name:src Committed By: roy Date: Sun Sep 1 18:54:38 UTC 2019 Modified Files: src/sys/net: rtsock.c src/sys/netinet6: nd6.c nd6_nbr.c Log Message: inet6: Send RTM_MISS when we fail to resolve an address. Takes the same approach as when adding a new address - we no longer announce the new lladdr right away but we announce the result. This will either be RTM_ADD or RTM_MISS. RTM_DELETE is only sent if we have a lladdr assigned OR gc'ed. This results in less messages via route(4) and tells us when a new lladdr has been added (RTM_ADD), changed (RTM_CHANGE), deleted (RTM_DELETED) or has failed to been resolved (RTM_MISS). The latter case can be interpreted as unreachable. To generate a diff of this commit: cvs rdiff -u -r1.251 -r1.252 src/sys/net/rtsock.c cvs rdiff -u -r1.261 -r1.262 src/sys/netinet6/nd6.c cvs rdiff -u -r1.171 -r1.172 src/sys/netinet6/nd6_nbr.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/rtsock.c diff -u src/sys/net/rtsock.c:1.251 src/sys/net/rtsock.c:1.252 --- src/sys/net/rtsock.c:1.251 Thu Aug 22 21:14:45 2019 +++ src/sys/net/rtsock.c Sun Sep 1 18:54:38 2019 @@ -1,4 +1,4 @@ -/* $NetBSD: rtsock.c,v 1.251 2019/08/22 21:14:45 roy Exp $ */ +/* $NetBSD: rtsock.c,v 1.252 2019/09/01 18:54:38 roy Exp $ */ /* * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project. @@ -61,7 +61,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: rtsock.c,v 1.251 2019/08/22 21:14:45 roy Exp $"); +__KERNEL_RCSID(0, "$NetBSD: rtsock.c,v 1.252 2019/09/01 18:54:38 roy Exp $"); #ifdef _KERNEL_OPT #include "opt_inet.h" @@ -152,21 +152,21 @@ rt_clonedmsg(int type, const struct sock /* Mimic flags exactly */ #define RTF_LLINFO 0x400 #define RTF_CLONED 0x2000 - int flags = RTF_HOST | RTF_DONE | RTF_LLINFO | RTF_CLONED; + int flags = RTF_DONE; union { struct sockaddr sa; struct sockaddr_storage ss; struct sockaddr_dl sdl; } u; - uint8_t namelen = strlen(ifp->if_xname); - uint8_t addrlen = ifp->if_addrlen; - if (type != RTM_DELETE) + if (type != RTM_MISS) + flags |= RTF_HOST | RTF_CLONED | RTF_LLINFO; + if (type == RTM_ADD || type == RTM_CHANGE) flags |= RTF_UP; memset(, 0, sizeof(info)); info.rti_info[RTAX_DST] = dst; sockaddr_dl_init(, sizeof(u.ss), ifp->if_index, ifp->if_type, - NULL, namelen, lladdr, addrlen); + NULL, 0, lladdr, ifp->if_addrlen); info.rti_info[RTAX_GATEWAY] = rt_missmsg(type, , flags, 0); Index: src/sys/netinet6/nd6.c diff -u src/sys/netinet6/nd6.c:1.261 src/sys/netinet6/nd6.c:1.262 --- src/sys/netinet6/nd6.c:1.261 Sat Aug 31 01:49:45 2019 +++ src/sys/netinet6/nd6.c Sun Sep 1 18:54:38 2019 @@ -1,4 +1,4 @@ -/* $NetBSD: nd6.c,v 1.261 2019/08/31 01:49:45 roy Exp $ */ +/* $NetBSD: nd6.c,v 1.262 2019/09/01 18:54:38 roy Exp $ */ /* $KAME: nd6.c,v 1.279 2002/06/08 11:16:51 itojun Exp $ */ /* @@ -31,7 +31,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: nd6.c,v 1.261 2019/08/31 01:49:45 roy Exp $"); +__KERNEL_RCSID(0, "$NetBSD: nd6.c,v 1.262 2019/09/01 18:54:38 roy Exp $"); #ifdef _KERNEL_OPT #include "opt_net_mpsafe.h" @@ -461,6 +461,8 @@ nd6_llinfo_timer(void *arg) struct nd_ifinfo *ndi = NULL; bool send_ns = false; const struct in6_addr *daddr6 = NULL; + const struct in6_addr *taddr6 = >r_l3addr.addr6; + struct sockaddr_in6 sin6; SOFTNET_KERNEL_LOCK_UNLESS_NET_MPSAFE(); @@ -472,7 +474,6 @@ nd6_llinfo_timer(void *arg) goto out; } - ifp = ln->lle_tbl->llt_ifp; KASSERT(ifp != NULL); @@ -483,29 +484,33 @@ nd6_llinfo_timer(void *arg) if (ln->ln_asked < nd6_mmaxtries) { ln->ln_asked++; send_ns = true; - } else { - struct mbuf *m = ln->ln_hold; - if (m) { -struct mbuf *m0; + break; + } -/* - * assuming every packet in ln_hold has - * the same IP header - */ -m0 = m->m_nextpkt; -m->m_nextpkt = NULL; -ln->ln_hold = m0; -clear_llinfo_pqueue(ln); - } - LLE_REMREF(ln); - nd6_free(ln, 0); - ln = NULL; - if (m != NULL) { -icmp6_error2(m, ICMP6_DST_UNREACH, -ICMP6_DST_UNREACH_ADDR, 0, ifp); - } + if (ln->ln_hold) { + struct mbuf *m = ln->ln_hold, *m0; + + /* + * assuming every packet in ln_hold has + * the same IP header + */ + m0 = m->m_nextpkt; + m->m_nextpkt = NULL; + ln->ln_hold = m0; + clear_llinfo_pqueue(ln); + + icmp6_error2(m, ICMP6_DST_UNREACH, + ICMP6_DST_UNREACH_ADDR, 0, ifp); } + + sockaddr_in6_init(, taddr6, 0, 0, 0); + rt_clonedmsg(RTM_MISS, sin6tosa(), NULL, ifp); + + LLE_REMREF(ln); + nd6_free(ln, 0); + ln = NULL; break; + case ND6_LLINFO_REACHABLE: if (!ND6_LLINFO_PERMANENT(ln)) { ln->ln_state = ND6_LLINFO_STALE; @@ -550,7 +555,6 @@ nd6_llinfo_timer(void *arg) if (send_ns) { struct in6_addr src, *psrc; - const struct in6_addr *taddr6 = >r_l3addr.addr6; nd6_llinfo_settimer(ln, ndi->retrans * hz / 1000); psrc =
CVS commit: src/sys
Module Name:src Committed By: roy Date: Sun Sep 1 18:54:38 UTC 2019 Modified Files: src/sys/net: rtsock.c src/sys/netinet6: nd6.c nd6_nbr.c Log Message: inet6: Send RTM_MISS when we fail to resolve an address. Takes the same approach as when adding a new address - we no longer announce the new lladdr right away but we announce the result. This will either be RTM_ADD or RTM_MISS. RTM_DELETE is only sent if we have a lladdr assigned OR gc'ed. This results in less messages via route(4) and tells us when a new lladdr has been added (RTM_ADD), changed (RTM_CHANGE), deleted (RTM_DELETED) or has failed to been resolved (RTM_MISS). The latter case can be interpreted as unreachable. To generate a diff of this commit: cvs rdiff -u -r1.251 -r1.252 src/sys/net/rtsock.c cvs rdiff -u -r1.261 -r1.262 src/sys/netinet6/nd6.c cvs rdiff -u -r1.171 -r1.172 src/sys/netinet6/nd6_nbr.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.