CVS commit: src/share/misc
Module Name:src Committed By: leot Date: Fri Feb 12 08:56:04 UTC 2021 Modified Files: src/share/misc: acronyms.comp Log Message: Add HOTP and TOTP To generate a diff of this commit: cvs rdiff -u -r1.320 -r1.321 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.320 src/share/misc/acronyms.comp:1.321 --- src/share/misc/acronyms.comp:1.320 Sat Jan 30 19:20:44 2021 +++ src/share/misc/acronyms.comp Fri Feb 12 08:56:04 2021 @@ -1,4 +1,4 @@ -$NetBSD: acronyms.comp,v 1.320 2021/01/30 19:20:44 jakllsch Exp $ +$NetBSD: acronyms.comp,v 1.321 2021/02/12 08:56:04 leot Exp $ 3WHS three-way handshake 8VSB 8-state vestigial side band modulation AA anti-aliasing @@ -683,6 +683,7 @@ HLL high-level language HMA high memory area HMI human-machine interface HOOD hierarchical object oriented design +HOTP HMAC-based one time password HP Hewlett-Packard HPC high performance computing HPD hot plug detection @@ -1638,6 +1639,7 @@ TOFU trust on first use TOS terms of service TOS trusted operating system TOS type of service +TOTP time-based one time password TP transaction processing TPI tracks per inch TPM transactions per minute
CVS commit: src/share/misc
Module Name:src Committed By: leot Date: Sun Oct 18 10:17:09 UTC 2020 Modified Files: src/share/misc: acronyms.comp Log Message: Add PBR and VBR >From Rocky Hotas, thanks! To generate a diff of this commit: cvs rdiff -u -r1.313 -r1.314 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.313 src/share/misc/acronyms.comp:1.314 --- src/share/misc/acronyms.comp:1.313 Sun Oct 4 19:04:48 2020 +++ src/share/misc/acronyms.comp Sun Oct 18 10:17:09 2020 @@ -1,4 +1,4 @@ -$NetBSD: acronyms.comp,v 1.313 2020/10/04 19:04:48 nia Exp $ +$NetBSD: acronyms.comp,v 1.314 2020/10/18 10:17:09 leot Exp $ 3WHS three-way handshake 8VSB 8-state vestigial side band modulation AA anti-aliasing @@ -1154,6 +1154,7 @@ PATA parallel ATA PAX portable archive exchange PBE pending break encoding PBE programming by example +PBR partition boot record PC personal computer PC program counter PCB printed circuit board @@ -1714,6 +1715,7 @@ VA virtual address VA volt-ampere VAX virtual address extension VB Visual Basic +VBR volume boot record VCA variable-gain amplifier VCC common collector voltage VCCP virtual chassis control protocol
CVS commit: src/libexec/httpd
Module Name:src Committed By: leot Date: Tue Aug 25 20:02:33 UTC 2020 Modified Files: src/libexec/httpd: printenv.lua Log Message: Fix a typo in a comment To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/libexec/httpd/printenv.lua Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/libexec/httpd/printenv.lua diff -u src/libexec/httpd/printenv.lua:1.3 src/libexec/httpd/printenv.lua:1.4 --- src/libexec/httpd/printenv.lua:1.3 Mon Dec 7 03:11:48 2015 +++ src/libexec/httpd/printenv.lua Tue Aug 25 20:02:33 2020 @@ -1,10 +1,10 @@ --- $NetBSD: printenv.lua,v 1.3 2015/12/07 03:11:48 kamil Exp $ +-- $NetBSD: printenv.lua,v 1.4 2020/08/25 20:02:33 leot Exp $ -- this small Lua script demonstrates the use of Lua in (bozo)httpd -- it will simply output the "environment" -- Keep in mind that bozohttpd forks for each request when started in --- daemon mode, you can set global veriables here, but they will have +-- daemon mode, you can set global variables here, but they will have -- the same value on each invocation. You can not keep state between -- two calls.
CVS commit: src/share/misc
Module Name:src Committed By: leot Date: Tue Jul 28 14:35:34 UTC 2020 Modified Files: src/share/misc: acronyms.comp Log Message: Add TSV To generate a diff of this commit: cvs rdiff -u -r1.308 -r1.309 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.308 src/share/misc/acronyms.comp:1.309 --- src/share/misc/acronyms.comp:1.308 Sat Jul 11 13:04:29 2020 +++ src/share/misc/acronyms.comp Tue Jul 28 14:35:34 2020 @@ -1,4 +1,4 @@ -$NetBSD: acronyms.comp,v 1.308 2020/07/11 13:04:29 nia Exp $ +$NetBSD: acronyms.comp,v 1.309 2020/07/28 14:35:34 leot Exp $ 3WHS three-way handshake 8VSB 8-state vestigial side band modulation AA anti-aliasing @@ -1646,6 +1646,7 @@ TSP Tunnel Setup Protocol TSP time synchronization protocol TSP traveling salesman problem TSS task state segment +TSV tab-separated values TTL time to live TTL transistor-transistor logic TTM translation table maps
CVS commit: src/share/man/man5
Module Name:src Committed By: leot Date: Wed Jul 15 17:55:34 UTC 2020 Modified Files: src/share/man/man5: rc.conf.5 Log Message: Document unbound and unbound_chrootdir. To generate a diff of this commit: cvs rdiff -u -r1.184 -r1.185 src/share/man/man5/rc.conf.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/rc.conf.5 diff -u src/share/man/man5/rc.conf.5:1.184 src/share/man/man5/rc.conf.5:1.185 --- src/share/man/man5/rc.conf.5:1.184 Wed Jul 15 16:52:48 2020 +++ src/share/man/man5/rc.conf.5 Wed Jul 15 17:55:34 2020 @@ -1,4 +1,4 @@ -.\" $NetBSD: rc.conf.5,v 1.184 2020/07/15 16:52:48 jruoho Exp $ +.\" $NetBSD: rc.conf.5,v 1.185 2020/07/15 17:55:34 leot Exp $ .\" .\" Copyright (c) 1996 Matthew R. Green .\" All rights reserved. @@ -1184,6 +1184,19 @@ only one machine running both should hav .Fl M flag given to .Xr timed 8 . +.It Sy unbound +Boolean value. +Runs +.Xr unbound 8 . +.It Sy unbound_chrootdir +A string. +If non-blank and +.Sy unbound +is true, run +.Xr unbound 8 +.Xr chroot 2 Ns ed +to +.Sy unbound_chrootdir . .El .Ss Routing daemons .Bl -tag -width net_interfaces
CVS commit: src/share/man/man5
Module Name:src Committed By: leot Date: Wed Jul 15 17:46:06 UTC 2020 Modified Files: src/share/man/man5: mk.conf.5 Log Message: MKBSDTAR is yes by default To generate a diff of this commit: cvs rdiff -u -r1.79 -r1.80 src/share/man/man5/mk.conf.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/mk.conf.5 diff -u src/share/man/man5/mk.conf.5:1.79 src/share/man/man5/mk.conf.5:1.80 --- src/share/man/man5/mk.conf.5:1.79 Mon Sep 16 12:57:10 2019 +++ src/share/man/man5/mk.conf.5 Wed Jul 15 17:46:06 2020 @@ -1,4 +1,4 @@ -.\" $NetBSD: mk.conf.5,v 1.79 2019/09/16 12:57:10 gson Exp $ +.\" $NetBSD: mk.conf.5,v 1.80 2020/07/15 17:46:06 leot Exp $ .\" .\" Copyright (c) 1999-2003 The NetBSD Foundation, Inc. .\" All rights reserved. @@ -27,7 +27,7 @@ .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE .\" POSSIBILITY OF SUCH DAMAGE. .\" -.Dd September 16, 2019 +.Dd July 15, 2020 .Dt MK.CONF 5 .Os .\" turn off hyphenation @@ -256,7 +256,7 @@ If .Dq no , .Xr pax 1 based frontends are used. -.DFLTn +.DFLTy . .It Sy MKCATPAGES .YorN
CVS commit: src/games/fortune/datfiles
Module Name:src Committed By: leot Date: Sun Jun 7 15:41:03 UTC 2020 Modified Files: src/games/fortune/datfiles: netbsd-tips Log Message: Recommend using `pkg_admin {fetch-pkg-vulnerabilities,audit}' instead of {download-vulnerability-list,audit-packages}. To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/games/fortune/datfiles/netbsd-tips Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/games/fortune/datfiles/netbsd-tips diff -u src/games/fortune/datfiles/netbsd-tips:1.7 src/games/fortune/datfiles/netbsd-tips:1.8 --- src/games/fortune/datfiles/netbsd-tips:1.7 Sun Jun 7 15:37:04 2020 +++ src/games/fortune/datfiles/netbsd-tips Sun Jun 7 15:41:03 2020 @@ -35,11 +35,11 @@ You can view your non-default Postfix se To report about installed packages with known vulnerabilities, fetch the latest pkg-vulnerabilities file as the superuser with: - download-vulnerability-list + pkg_admin fetch-pkg-vulnerabilities And then run: - audit-packages + pkg_admin audit % The following shows an example of temporarily adding 10MB more swap space for virtual memory:
CVS commit: src/games/fortune/datfiles
Module Name:src Committed By: leot Date: Sun Jun 7 15:37:04 UTC 2020 Modified Files: src/games/fortune/datfiles: netbsd-tips Log Message: Properly quote printf string Noticed by Ottavio Caruso on #netbsd@Freenode, thanks! To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/games/fortune/datfiles/netbsd-tips Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/games/fortune/datfiles/netbsd-tips diff -u src/games/fortune/datfiles/netbsd-tips:1.6 src/games/fortune/datfiles/netbsd-tips:1.7 --- src/games/fortune/datfiles/netbsd-tips:1.6 Sun Sep 2 16:08:12 2018 +++ src/games/fortune/datfiles/netbsd-tips Sun Jun 7 15:37:04 2020 @@ -51,7 +51,7 @@ space for virtual memory: If your console ever gets broken, you can try resetting it to its initial state with: - printf "\033c + printf "\033c" % If you installed a package, but don't know what the software is called or what executables to run, use pkg_info with the -L switch
CVS commit: src/share/man/man7
Module Name:src Committed By: leot Date: Tue May 12 10:20:16 UTC 2020 Modified Files: src/share/man/man7: hier.7 Log Message: Remove a reference to /etc/netstart It was removed in rc.d era and no longer honored (except by newbtconf(8)). Noticed by Ottavio Caruso on #netbsd@Freenode, thanks! To generate a diff of this commit: cvs rdiff -u -r1.139 -r1.140 src/share/man/man7/hier.7 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/man7/hier.7 diff -u src/share/man/man7/hier.7:1.139 src/share/man/man7/hier.7:1.140 --- src/share/man/man7/hier.7:1.139 Sat Apr 4 15:32:42 2020 +++ src/share/man/man7/hier.7 Tue May 12 10:20:16 2020 @@ -1,4 +1,4 @@ -.\" $NetBSD: hier.7,v 1.139 2020/04/04 15:32:42 jdolecek Exp $ +.\" $NetBSD: hier.7,v 1.140 2020/05/12 10:20:16 leot Exp $ .\" .\" Copyright (c) 1990, 1993, 1994 .\" The Regents of the University of California. All rights reserved. @@ -29,7 +29,7 @@ .\" .\" @(#)hier.7 8.5 (Berkeley) 6/1/94 .\" -.Dd January 10, 2020 +.Dd May 12, 2020 .Dt HIER 7 .Os .Sh NAME @@ -255,8 +255,6 @@ configuration files and databases. .It Pa netgroup Network groups; see .Xr netgroup 5 . -.It Pa netstart -Network startup script . .It Pa networks Network name database; see .Xr networks 5 .
CVS commit: src/doc
Module Name:src Committed By: leot Date: Sun Apr 12 17:49:00 UTC 2020 Modified Files: src/doc: HACKS Log Message: Hack removed in src/external/bsd/nvi/usr.bin/nvi/Makefile,-r1.21 It is no longer needed, per PR bin/54656. To generate a diff of this commit: cvs rdiff -u -r1.200 -r1.201 src/doc/HACKS Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/doc/HACKS diff -u src/doc/HACKS:1.200 src/doc/HACKS:1.201 --- src/doc/HACKS:1.200 Sat Apr 4 16:25:17 2020 +++ src/doc/HACKS Sun Apr 12 17:49:00 2020 @@ -1,4 +1,4 @@ -# $NetBSD: HACKS,v 1.200 2020/04/04 16:25:17 jdolecek Exp $ +# $NetBSD: HACKS,v 1.201 2020/04/12 17:49:00 leot Exp $ # # This file is intended to document workarounds for currently unsolved # (mostly) compiler bugs. @@ -900,14 +900,6 @@ file /cvsroot/src/external/mit/xorg/lib/ descr gallium does not compile. kcah -port aarch64 -hack compile ex_filter.c in vi with -O0 -cdate Mon Oct 28 14:39:35 EDT 2019 -who christos -file /cvsroot/src/external/bsd/nvi/usr.bin/nvi/Makefile 1.20 -descr ":%! sort" core-dumps, tm is NULL but was not NULL on entry. -kcah - port sh3 hack compile parse.c in battlestar with -Wno-restrict cdate Mon Oct 28 14:39:35 EDT 2019
CVS commit: src/share/misc
Module Name:src Committed By: leot Date: Thu Mar 26 18:28:09 UTC 2020 Modified Files: src/share/misc: acronyms.comp Log Message: Add HPD >From Rocky Hotas, thanks! To generate a diff of this commit: cvs rdiff -u -r1.299 -r1.300 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.299 src/share/misc/acronyms.comp:1.300 --- src/share/misc/acronyms.comp:1.299 Wed Feb 26 23:38:08 2020 +++ src/share/misc/acronyms.comp Thu Mar 26 18:28:09 2020 @@ -1,4 +1,4 @@ -$NetBSD: acronyms.comp,v 1.299 2020/02/26 23:38:08 sevan Exp $ +$NetBSD: acronyms.comp,v 1.300 2020/03/26 18:28:09 leot Exp $ 3WHS three-way handshake 8VSB 8-state vestigial side band modulation AA anti-aliasing @@ -668,6 +668,7 @@ HMI human-machine interface HOOD hierarchical object oriented design HP Hewlett-Packard HPC high performance computing +HPD hot plug detection HPET high precision event timer HSM hardware security module HSM hierarchical storage management
CVS commit: src/share/misc
Module Name:src Committed By: leot Date: Thu Mar 26 18:25:32 UTC 2020 Modified Files: src/share/misc: acronyms Log Message: Add TLDW >From Rocky Hotas, thanks! To generate a diff of this commit: cvs rdiff -u -r1.297 -r1.298 src/share/misc/acronyms 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 diff -u src/share/misc/acronyms:1.297 src/share/misc/acronyms:1.298 --- src/share/misc/acronyms:1.297 Mon Feb 17 17:16:51 2020 +++ src/share/misc/acronyms Thu Mar 26 18:25:32 2020 @@ -1,4 +1,4 @@ -$NetBSD: acronyms,v 1.297 2020/02/17 17:16:51 fcambus Exp $ +$NetBSD: acronyms,v 1.298 2020/03/26 18:25:32 leot Exp $ 10Q thank you 10X thanks 1337 elite ("leet") @@ -548,6 +548,7 @@ TLA three letter acronym TLA true love always TLC tender loving care TLDR too long, didn't read +TLDW too long, didn't watch TM trademark TM trust me TMA too many abbreviations
CVS commit: src/sbin/mount_msdos
Module Name:src Committed By: leot Date: Wed Feb 12 09:43:19 UTC 2020 Modified Files: src/sbin/mount_msdos: mount_msdos.8 Log Message: Fix a thinko Reported by qjsgkem via #netbsd-code, thanks! To generate a diff of this commit: cvs rdiff -u -r1.40 -r1.41 src/sbin/mount_msdos/mount_msdos.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/mount_msdos/mount_msdos.8 diff -u src/sbin/mount_msdos/mount_msdos.8:1.40 src/sbin/mount_msdos/mount_msdos.8:1.41 --- src/sbin/mount_msdos/mount_msdos.8:1.40 Tue Oct 11 16:10:03 2016 +++ src/sbin/mount_msdos/mount_msdos.8 Wed Feb 12 09:43:19 2020 @@ -1,4 +1,4 @@ -.\" $NetBSD: mount_msdos.8,v 1.40 2016/10/11 16:10:03 sevan Exp $ +.\" $NetBSD: mount_msdos.8,v 1.41 2020/02/12 09:43:19 leot Exp $ .\" .\" Copyright (c) 1993, 1994 Christopher G. Demetriou .\" All rights reserved. @@ -32,7 +32,7 @@ .\" .\" <> .\" -.Dd October 11, 2016 +.Dd February 12, 2020 .Dt MOUNT_MSDOS 8 .Os .Sh NAME @@ -203,7 +203,7 @@ in and rewritten entirely by .Nx 1.0 . .Sh AUTHORS -Initial implimintation as +Initial implementation as .Nm mount_pcfs was written by .An -nosplit
CVS commit: src/usr.bin/env
Module Name:src Committed By: leot Date: Sat Feb 8 11:10:08 UTC 2020 Modified Files: src/usr.bin/env: env.1 Log Message: Fix a typo (extra `s') To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.15 src/usr.bin/env/env.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/env/env.1 diff -u src/usr.bin/env/env.1:1.14 src/usr.bin/env/env.1:1.15 --- src/usr.bin/env/env.1:1.14 Sat Feb 8 11:02:07 2020 +++ src/usr.bin/env/env.1 Sat Feb 8 11:10:08 2020 @@ -1,4 +1,4 @@ -.\" $NetBSD: env.1,v 1.14 2020/02/08 11:02:07 kamil Exp $ +.\" $NetBSD: env.1,v 1.15 2020/02/08 11:10:08 leot Exp $ .\" .\" Copyright (c) 1980, 1990 The Regents of the University of California. .\" All rights reserved. @@ -30,7 +30,7 @@ .\" SUCH DAMAGE. .\" .\" from: @(#)printenv.1 6.7 (Berkeley) 7/28/91 -.\" $NetBSD: env.1,v 1.14 2020/02/08 11:02:07 kamil Exp $ +.\" $NetBSD: env.1,v 1.15 2020/02/08 11:10:08 leot Exp $ .\" .Dd February 8, 2020 .Dt ENV 1 @@ -158,7 +158,7 @@ The .Fl u and .Fl 0 -optionss first appeared in +options first appeared in .Nx 10 . .Sh BUGS .Nm
CVS commit: src/doc
Module Name:src Committed By: leot Date: Sun Jan 19 11:29:42 UTC 2020 Modified Files: src/doc: CHANGES Log Message: Fix a typo To generate a diff of this commit: cvs rdiff -u -r1.2637 -r1.2638 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.2637 src/doc/CHANGES:1.2638 --- src/doc/CHANGES:1.2637 Sun Jan 19 06:57:39 2020 +++ src/doc/CHANGES Sun Jan 19 11:29:42 2020 @@ -1,4 +1,4 @@ -# LIST OF CHANGES FROM LAST RELEASE: <$Revision: 1.2637 $> +# LIST OF CHANGES FROM LAST RELEASE: <$Revision: 1.2638 $> # # # [Note: This file does not mention every change made to the NetBSD source tree. @@ -99,4 +99,4 @@ Changes from NetBSD 9.0 to NetBSD 10.0: [mrg 20201114] uyurex(4): Removed from the tree. [maya 20200117] strip(4): Removed from the tree. [thorpej 20200118] - hippi and esh(4): Removed from the trere. [thorpej 20200118] + hippi and esh(4): Removed from the tree. [thorpej 20200118]
CVS commit: src/share/misc
Module Name:src Committed By: leot Date: Fri Jan 10 16:18:22 UTC 2020 Modified Files: src/share/misc: acronyms Log Message: Add WP >From Rocky Hotas, thanks! To generate a diff of this commit: cvs rdiff -u -r1.291 -r1.292 src/share/misc/acronyms 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 diff -u src/share/misc/acronyms:1.291 src/share/misc/acronyms:1.292 --- src/share/misc/acronyms:1.291 Mon Dec 23 23:31:18 2019 +++ src/share/misc/acronyms Fri Jan 10 16:18:21 2020 @@ -1,4 +1,4 @@ -$NetBSD: acronyms,v 1.291 2019/12/23 23:31:18 sevan Exp $ +$NetBSD: acronyms,v 1.292 2020/01/10 16:18:21 leot Exp $ 10Q thank you 10X thanks 1337 elite ("leet") @@ -601,6 +601,7 @@ WIBNI wouldn't it be nice if WIP work in progress WMNC watch me not care WOMBAT waste of money, brain, and time +WP well played WRR weighted round robin WRT with respect to WTB {waiting,want,willing} to buy
CVS commit: src/lib/libc/termios
Module Name:src Committed By: leot Date: Thu Dec 19 16:12:21 UTC 2019 Modified Files: src/lib/libc/termios: tcgetsid.3 Log Message: tcgetsid() is defined in , not or . To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/lib/libc/termios/tcgetsid.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/termios/tcgetsid.3 diff -u src/lib/libc/termios/tcgetsid.3:1.5 src/lib/libc/termios/tcgetsid.3:1.6 --- src/lib/libc/termios/tcgetsid.3:1.5 Thu Aug 7 16:44:13 2003 +++ src/lib/libc/termios/tcgetsid.3 Thu Dec 19 16:12:21 2019 @@ -1,4 +1,4 @@ -.\" $NetBSD: tcgetsid.3,v 1.5 2003/08/07 16:44:13 agc Exp $ +.\" $NetBSD: tcgetsid.3,v 1.6 2019/12/19 16:12:21 leot Exp $ .\" .\" Copyright (c) 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -29,7 +29,7 @@ .\" .\" @(#)tcgetpgrp.3 8.1 (Berkeley) 6/4/93 .\" -.Dd February 13, 1998 +.Dd December 19, 2019 .Dt TCGETSID 3 .Os .Sh NAME @@ -38,8 +38,7 @@ .Sh LIBRARY .Lb libc .Sh SYNOPSIS -.In sys/types.h -.In unistd.h +.In termios.h .Ft pid_t .Fn tcgetsid "int fd" .Sh DESCRIPTION
CVS commit: src
Module Name:src Committed By: leot Date: Wed May 8 14:03:58 UTC 2019 Modified Files: src: BUILDING src/doc: BUILDING.mdoc Log Message: Fix a typo Reported by Tobias Ulmer via netbsd-docs@ ML, thanks! To generate a diff of this commit: cvs rdiff -u -r1.134 -r1.135 src/BUILDING cvs rdiff -u -r1.125 -r1.126 src/doc/BUILDING.mdoc Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/BUILDING diff -u src/BUILDING:1.134 src/BUILDING:1.135 --- src/BUILDING:1.134 Sun Jul 29 20:53:41 2018 +++ src/BUILDING Wed May 8 14:03:57 2019 @@ -206,7 +206,7 @@ CONFIGURATION Directory containing sources of externally added programs and libraries. If specified, must be an absolute path. - Default: NETBSDRCDIR/../extsrc, if that exists; otherwise + Default: NETBSDSRCDIR/../extsrc, if that exists; otherwise /usr/extsrc. MAKECONFThe name of the make(1) configuration file. Only settable in @@ -461,7 +461,7 @@ CONFIGURATION must be an absolute path. The main modular Xorg source is found in X11SRCDIR/external/mit. - Default: NETBSDRCDIR/../xsrc, if that exists; otherwise + Default: NETBSDSRCDIR/../xsrc, if that exists; otherwise /usr/xsrc. "make" variables for full builds Index: src/doc/BUILDING.mdoc diff -u src/doc/BUILDING.mdoc:1.125 src/doc/BUILDING.mdoc:1.126 --- src/doc/BUILDING.mdoc:1.125 Sun Jul 29 20:53:29 2018 +++ src/doc/BUILDING.mdoc Wed May 8 14:03:57 2019 @@ -1,4 +1,4 @@ -.\" $NetBSD: BUILDING.mdoc,v 1.125 2018/07/29 20:53:29 sevan Exp $ +.\" $NetBSD: BUILDING.mdoc,v 1.126 2019/05/08 14:03:57 leot Exp $ .\" .\" Copyright (c) 2001-2011 The NetBSD Foundation, Inc. .\" All rights reserved. @@ -430,7 +430,7 @@ Directory containing sources of external and libraries. If specified, must be an absolute path. .DFLT -.Sy NETBSDRCDIR Ns Pa /../extsrc , +.Sy NETBSDSRCDIR Ns Pa /../extsrc , if that exists; otherwise .Pa /usr/extsrc . . @@ -814,7 +814,7 @@ If specified, must be an absolute path. The main modular Xorg source is found in .Sy X11SRCDIR Ns Pa /external/mit . .DFLT -.Sy NETBSDRCDIR Ns Pa /../xsrc , +.Sy NETBSDSRCDIR Ns Pa /../xsrc , if that exists; otherwise .Pa /usr/xsrc . .
CVS commit: src/etc/rc.d
Module Name:src Committed By: leot Date: Fri Apr 19 18:36:25 UTC 2019 Modified Files: src/etc/rc.d: npf Log Message: Do not start npf again at reboot (it is started via npf_boot) To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/etc/rc.d/npf Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/etc/rc.d/npf diff -u src/etc/rc.d/npf:1.3 src/etc/rc.d/npf:1.4 --- src/etc/rc.d/npf:1.3 Thu Nov 1 06:06:14 2012 +++ src/etc/rc.d/npf Fri Apr 19 18:36:25 2019 @@ -1,6 +1,6 @@ #!/bin/sh # -# $NetBSD: npf,v 1.3 2012/11/01 06:06:14 mrg Exp $ +# $NetBSD: npf,v 1.4 2019/04/19 18:36:25 leot Exp $ # # Public Domain. # @@ -36,7 +36,11 @@ npf_start() echo "Enabling NPF." npf_cfg_check /sbin/npfctl reload - /sbin/npfctl start + + # The npf_boot script has enabled npf already. + if [ "$autoboot" != "yes" ]; then + /sbin/npfctl start + fi } npf_stop()
CVS commit: src/share/misc
Module Name:src Committed By: leot Date: Fri Mar 8 08:47:18 UTC 2019 Modified Files: src/share/misc: acronyms Log Message: Add SGTM To generate a diff of this commit: cvs rdiff -u -r1.278 -r1.279 src/share/misc/acronyms 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 diff -u src/share/misc/acronyms:1.278 src/share/misc/acronyms:1.279 --- src/share/misc/acronyms:1.278 Sun Feb 24 07:39:33 2019 +++ src/share/misc/acronyms Fri Mar 8 08:47:17 2019 @@ -1,4 +1,4 @@ -$NetBSD: acronyms,v 1.278 2019/02/24 07:39:33 pgoyette Exp $ +$NetBSD: acronyms,v 1.279 2019/03/08 08:47:17 leot Exp $ 10Q thank you 10X thanks 1337 elite ("leet") @@ -475,6 +475,7 @@ SCNR sorry, could not resist SEP someone else's problem SERP search engine results page SFAICT so far as I can tell +SGTM sounds good to me SHID slaps head in disgust SIMCA sitting in my chair amused SITD still in the dark
CVS commit: src/doc
Module Name:src Committed By: leot Date: Sun Jan 6 18:56:52 UTC 2019 Modified Files: src/doc: CHANGES Log Message: Adjust year in latest acpi(4) entry To generate a diff of this commit: cvs rdiff -u -r1.2484 -r1.2485 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.2484 src/doc/CHANGES:1.2485 --- src/doc/CHANGES:1.2484 Sat Jan 5 21:49:45 2019 +++ src/doc/CHANGES Sun Jan 6 18:56:52 2019 @@ -1,4 +1,4 @@ -# LIST OF CHANGES FROM LAST RELEASE: <$Revision: 1.2484 $> +# LIST OF CHANGES FROM LAST RELEASE: <$Revision: 1.2485 $> # # # [Note: This file does not mention every change made to the NetBSD source tree. @@ -286,5 +286,5 @@ Changes from NetBSD 8.0 to NetBSD 9.0: services(5), protocols(5): Pull iana-generated services and protocols [christos 20190103] wpa: Import wpa_supplicant and hostapd 2.7. [christos 20190104] - acpi(4): Updated ACPICA to 20181213. [christos 20180104] + acpi(4): Updated ACPICA to 20181213. [christos 20190104] tmux(1): Imported 2.8. [christos 20190104]
CVS commit: src/libexec/httpd
Module Name:src Committed By: leot Date: Sat Dec 15 12:52:37 UTC 2018 Modified Files: src/libexec/httpd: CHANGES bozohttpd.c Log Message: Document last changes and bump version to 20181215 Suggested by , thanks! (Possible mistakes are mine though!) To generate a diff of this commit: cvs rdiff -u -r1.31 -r1.32 src/libexec/httpd/CHANGES cvs rdiff -u -r1.106 -r1.107 src/libexec/httpd/bozohttpd.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/libexec/httpd/CHANGES diff -u src/libexec/httpd/CHANGES:1.31 src/libexec/httpd/CHANGES:1.32 --- src/libexec/httpd/CHANGES:1.31 Tue Dec 4 02:52:42 2018 +++ src/libexec/httpd/CHANGES Sat Dec 15 12:52:36 2018 @@ -1,4 +1,12 @@ -$NetBSD: CHANGES,v 1.31 2018/12/04 02:52:42 mrg Exp $ +$NetBSD: CHANGES,v 1.32 2018/12/15 12:52:36 leot Exp $ + +changes in bozohttpd 20181215: + o avoid .htpasswd exposure to authenticated users. reported by JP, + from l...@netbsd.org + o avoid possible null dereference when receiving a big request that + timeout. reported by m...@netbsd.org, from l...@netbsd.org + o fix handling of -T option, from l...@netbsd.org + o cleanups and portability improvements, from m...@netbsd.org changes in bozohttpd 20181204: o change directory indexing to use html tables. from Index: src/libexec/httpd/bozohttpd.c diff -u src/libexec/httpd/bozohttpd.c:1.106 src/libexec/httpd/bozohttpd.c:1.107 --- src/libexec/httpd/bozohttpd.c:1.106 Sat Dec 15 12:43:24 2018 +++ src/libexec/httpd/bozohttpd.c Sat Dec 15 12:52:36 2018 @@ -1,4 +1,4 @@ -/* $NetBSD: bozohttpd.c,v 1.106 2018/12/15 12:43:24 leot Exp $ */ +/* $NetBSD: bozohttpd.c,v 1.107 2018/12/15 12:52:36 leot Exp $ */ /* $eterna: bozohttpd.c,v 1.178 2011/11/18 09:21:15 mrg Exp $ */ @@ -109,7 +109,7 @@ #define INDEX_HTML "index.html" #endif #ifndef SERVER_SOFTWARE -#define SERVER_SOFTWARE "bozohttpd/20181125" +#define SERVER_SOFTWARE "bozohttpd/20181215" #endif #ifndef PUBLIC_HTML #define PUBLIC_HTML "public_html"
CVS commit: src/libexec/httpd
Module Name:src Committed By: leot Date: Sat Dec 15 12:43:24 UTC 2018 Modified Files: src/libexec/httpd: bozohttpd.c Log Message: Fix handling of bozo_set_timeout() timeouts (and `-T' option parsing) To generate a diff of this commit: cvs rdiff -u -r1.105 -r1.106 src/libexec/httpd/bozohttpd.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/libexec/httpd/bozohttpd.c diff -u src/libexec/httpd/bozohttpd.c:1.105 src/libexec/httpd/bozohttpd.c:1.106 --- src/libexec/httpd/bozohttpd.c:1.105 Sat Dec 15 12:39:22 2018 +++ src/libexec/httpd/bozohttpd.c Sat Dec 15 12:43:24 2018 @@ -1,4 +1,4 @@ -/* $NetBSD: bozohttpd.c,v 1.105 2018/12/15 12:39:22 leot Exp $ */ +/* $NetBSD: bozohttpd.c,v 1.106 2018/12/15 12:43:24 leot Exp $ */ /* $eterna: bozohttpd.c,v 1.178 2011/11/18 09:21:15 mrg Exp $ */ @@ -398,7 +398,7 @@ int bozo_set_timeout(bozohttpd_t *httpd, bozoprefs_t *prefs, const char *target, const char *val) { - const char *cur, *timeouts[] = { + const char **cur, *timeouts[] = { "initial timeout", "header timeout", "request timeout", @@ -408,9 +408,9 @@ bozo_set_timeout(bozohttpd_t *httpd, boz const size_t minlen = 1; size_t len = strlen(target); - for (cur = timeouts[0]; len >= minlen && *cur; cur++) { - if (strncmp(target, cur, len) == 0) { - bozo_set_pref(httpd, prefs, cur, val); + for (cur = timeouts; len >= minlen && *cur; cur++) { + if (strncmp(target, *cur, len) == 0) { + bozo_set_pref(httpd, prefs, *cur, val); return 0; } }
CVS commit: src/libexec/httpd
Module Name:src Committed By: leot Date: Sat Dec 15 12:39:22 UTC 2018 Modified Files: src/libexec/httpd: bozohttpd.c Log Message: Avoid .htpasswd exposure to authenticated users when .htpasswd is in the slashdir too. Problem reported by JP via tech-security@ and discussed with , thanks! To generate a diff of this commit: cvs rdiff -u -r1.104 -r1.105 src/libexec/httpd/bozohttpd.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/libexec/httpd/bozohttpd.c diff -u src/libexec/httpd/bozohttpd.c:1.104 src/libexec/httpd/bozohttpd.c:1.105 --- src/libexec/httpd/bozohttpd.c:1.104 Sat Dec 15 09:28:27 2018 +++ src/libexec/httpd/bozohttpd.c Sat Dec 15 12:39:22 2018 @@ -1,4 +1,4 @@ -/* $NetBSD: bozohttpd.c,v 1.104 2018/12/15 09:28:27 leot Exp $ */ +/* $NetBSD: bozohttpd.c,v 1.105 2018/12/15 12:39:22 leot Exp $ */ /* $eterna: bozohttpd.c,v 1.178 2011/11/18 09:21:15 mrg Exp $ */ @@ -1467,7 +1467,7 @@ check_bzredirect(bozo_httpreq_t *request } else if (basename == NULL) { strcpy(path, "."); strcpy(dir, ""); - basename = dir; + basename = request->hr_file + 1; } else { *basename++ = '\0'; strcpy(path, dir);
CVS commit: src/libexec/httpd
Module Name:src Committed By: leot Date: Sat Dec 15 09:28:27 UTC 2018 Modified Files: src/libexec/httpd: bozohttpd.c Log Message: Avoid possible NULL dereference when sending a big request that timeout. Problem reported by and reviewed by and , thanks! To generate a diff of this commit: cvs rdiff -u -r1.103 -r1.104 src/libexec/httpd/bozohttpd.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/libexec/httpd/bozohttpd.c diff -u src/libexec/httpd/bozohttpd.c:1.103 src/libexec/httpd/bozohttpd.c:1.104 --- src/libexec/httpd/bozohttpd.c:1.103 Sat Dec 15 02:03:24 2018 +++ src/libexec/httpd/bozohttpd.c Sat Dec 15 09:28:27 2018 @@ -1,4 +1,4 @@ -/* $NetBSD: bozohttpd.c,v 1.103 2018/12/15 02:03:24 maya Exp $ */ +/* $NetBSD: bozohttpd.c,v 1.104 2018/12/15 09:28:27 leot Exp $ */ /* $eterna: bozohttpd.c,v 1.178 2011/11/18 09:21:15 mrg Exp $ */ @@ -2260,7 +2260,8 @@ bozo_http_error(bozohttpd_t *httpd, int if (request && request->hr_allow) bozo_printf(httpd, "Allow: %s\r\n", request->hr_allow); /* RFC 7231 (HTTP/1.1) 6.5.7 */ - if (code == 408 && request->hr_proto == httpd->consts.http_11) + if (code == 408 && request && + request->hr_proto == httpd->consts.http_11) bozo_printf(httpd, "Connection: close\r\n"); bozo_printf(httpd, "\r\n"); /* According to the RFC 2616 sec. 9.4 HEAD method MUST NOT return a
CVS commit: src/distrib/notes
Module Name:src Committed By: leot Date: Sun Jun 24 09:38:49 UTC 2018 Modified Files: src/distrib/notes/acorn32: contents src/distrib/notes/alpha: contents src/distrib/notes/amd64: contents src/distrib/notes/amiga: contents src/distrib/notes/arc: contents src/distrib/notes/atari: contents src/distrib/notes/bebox: contents src/distrib/notes/cats: contents src/distrib/notes/common: contents src/distrib/notes/emips: contents src/distrib/notes/evbarm: contents src/distrib/notes/evbppc: contents src/distrib/notes/ews4800mips: contents src/distrib/notes/hp300: contents src/distrib/notes/hpcarm: contents src/distrib/notes/hpcmips: contents src/distrib/notes/hpcsh: contents src/distrib/notes/hppa: contents src/distrib/notes/i386: contents src/distrib/notes/landisk: contents src/distrib/notes/mac68k: contents src/distrib/notes/macppc: contents src/distrib/notes/mmeye: contents src/distrib/notes/mvme68k: contents src/distrib/notes/news68k: contents src/distrib/notes/newsmips: contents src/distrib/notes/next68k: contents src/distrib/notes/ofppc: contents src/distrib/notes/pmax: contents src/distrib/notes/prep: contents src/distrib/notes/rs6000: contents src/distrib/notes/sandpoint: contents src/distrib/notes/sgimips: contents src/distrib/notes/shark: contents src/distrib/notes/sparc: contents src/distrib/notes/sparc64: contents src/distrib/notes/sun2: contents src/distrib/notes/sun3: contents src/distrib/notes/vax: contents src/distrib/notes/x68k: contents Log Message: Fix a typo To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/distrib/notes/acorn32/contents cvs rdiff -u -r1.17 -r1.18 src/distrib/notes/alpha/contents cvs rdiff -u -r1.6 -r1.7 src/distrib/notes/amd64/contents cvs rdiff -u -r1.21 -r1.22 src/distrib/notes/amiga/contents cvs rdiff -u -r1.3 -r1.4 src/distrib/notes/arc/contents cvs rdiff -u -r1.21 -r1.22 src/distrib/notes/atari/contents cvs rdiff -u -r1.3 -r1.4 src/distrib/notes/bebox/contents cvs rdiff -u -r1.3 -r1.4 src/distrib/notes/cats/contents cvs rdiff -u -r1.173 -r1.174 src/distrib/notes/common/contents cvs rdiff -u -r1.3 -r1.4 src/distrib/notes/emips/contents cvs rdiff -u -r1.3 -r1.4 src/distrib/notes/evbarm/contents cvs rdiff -u -r1.4 -r1.5 src/distrib/notes/evbppc/contents cvs rdiff -u -r1.3 -r1.4 src/distrib/notes/ews4800mips/contents cvs rdiff -u -r1.18 -r1.19 src/distrib/notes/hp300/contents cvs rdiff -u -r1.4 -r1.5 src/distrib/notes/hpcarm/contents cvs rdiff -u -r1.11 -r1.12 src/distrib/notes/hpcmips/contents cvs rdiff -u -r1.4 -r1.5 src/distrib/notes/hpcsh/contents cvs rdiff -u -r1.3 -r1.4 src/distrib/notes/hppa/contents cvs rdiff -u -r1.30 -r1.31 src/distrib/notes/i386/contents cvs rdiff -u -r1.4 -r1.5 src/distrib/notes/landisk/contents cvs rdiff -u -r1.21 -r1.22 src/distrib/notes/mac68k/contents cvs rdiff -u -r1.13 -r1.14 src/distrib/notes/macppc/contents cvs rdiff -u -r1.4 -r1.5 src/distrib/notes/mmeye/contents cvs rdiff -u -r1.14 -r1.15 src/distrib/notes/mvme68k/contents cvs rdiff -u -r1.7 -r1.8 src/distrib/notes/news68k/contents cvs rdiff -u -r1.3 -r1.4 src/distrib/notes/newsmips/contents cvs rdiff -u -r1.8 -r1.9 src/distrib/notes/next68k/contents cvs rdiff -u -r1.4 -r1.5 src/distrib/notes/ofppc/contents cvs rdiff -u -r1.18 -r1.19 src/distrib/notes/pmax/contents cvs rdiff -u -r1.3 -r1.4 src/distrib/notes/prep/contents cvs rdiff -u -r1.3 -r1.4 src/distrib/notes/rs6000/contents cvs rdiff -u -r1.3 -r1.4 src/distrib/notes/sandpoint/contents cvs rdiff -u -r1.3 -r1.4 src/distrib/notes/sgimips/contents cvs rdiff -u -r1.3 -r1.4 src/distrib/notes/shark/contents cvs rdiff -u -r1.22 -r1.23 src/distrib/notes/sparc/contents cvs rdiff -u -r1.6 -r1.7 src/distrib/notes/sparc64/contents cvs rdiff -u -r1.3 -r1.4 src/distrib/notes/sun2/contents cvs rdiff -u -r1.17 -r1.18 src/distrib/notes/sun3/contents cvs rdiff -u -r1.12 -r1.13 src/distrib/notes/vax/contents cvs rdiff -u -r1.18 -r1.19 src/distrib/notes/x68k/contents Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/distrib/notes/acorn32/contents diff -u src/distrib/notes/acorn32/contents:1.3 src/distrib/notes/acorn32/contents:1.4 --- src/distrib/notes/acorn32/contents:1.3 Sun Jun 24 09:17:58 2018 +++ src/distrib/notes/acorn32/contents Sun Jun 24 09:38:45 2018 @@ -1,4 +1,4 @@ -.\" $NetBSD: contents,v 1.3 2018/06/24 09:17:58 martin Exp $ +.\" $NetBSD: contents,v 1.4 2018/06/24 09:38:45 leot Exp $ .\" .\" Copyright (c) 1999-2005 The NetBSD Foundation, Inc. .\" All rights reserved. @@ -143,7 +143,7 @@ system call and library manual pages. .It Sy debug This distribution set contains debug information for all base sy
CVS commit: src/usr.bin/tr
Module Name:src Committed By: leot Date: Sat May 26 11:20:31 UTC 2018 Modified Files: src/usr.bin/tr: str.c Log Message: Do not accept invalid octal character values (>= 0400). This also avoid possible stack corruption (e.g. previously `tr -s '\400'' or similars lead to them). Reviewed and thanks to ! To generate a diff of this commit: cvs rdiff -u -r1.29 -r1.30 src/usr.bin/tr/str.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/usr.bin/tr/str.c diff -u src/usr.bin/tr/str.c:1.29 src/usr.bin/tr/str.c:1.30 --- src/usr.bin/tr/str.c:1.29 Sun Aug 11 01:54:35 2013 +++ src/usr.bin/tr/str.c Sat May 26 11:20:30 2018 @@ -1,4 +1,4 @@ -/* $NetBSD: str.c,v 1.29 2013/08/11 01:54:35 dholland Exp $ */ +/* $NetBSD: str.c,v 1.30 2018/05/26 11:20:30 leot Exp $ */ /*- * Copyright (c) 1991, 1993 @@ -34,7 +34,7 @@ #if 0 static char sccsid[] = "@(#)str.c 8.2 (Berkeley) 4/28/95"; #endif -__RCSID("$NetBSD: str.c,v 1.29 2013/08/11 01:54:35 dholland Exp $"); +__RCSID("$NetBSD: str.c,v 1.30 2018/05/26 11:20:30 leot Exp $"); #endif /* not lint */ #include @@ -417,6 +417,8 @@ backslash(STR *s) } if (cnt) { /* We saw digits, so return their value */ + if (val >= OOBCH) + errx(1, "Invalid octal character value"); return val; } if (ch == '\0') {
CVS commit: src/doc
Module Name:src Committed By: leot Date: Sun Apr 8 10:56:05 UTC 2018 Modified Files: src/doc: CHANGES Log Message: Delete a leading space (` '). Noticed via `NetBSD Code Changes' RSS feed that merged the last two news entries. To generate a diff of this commit: cvs rdiff -u -r1.2376 -r1.2377 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.2376 src/doc/CHANGES:1.2377 --- src/doc/CHANGES:1.2376 Sat Apr 7 22:41:55 2018 +++ src/doc/CHANGES Sun Apr 8 10:56:05 2018 @@ -1,4 +1,4 @@ -# LIST OF CHANGES FROM LAST RELEASE: <$Revision: 1.2376 $> +# LIST OF CHANGES FROM LAST RELEASE: <$Revision: 1.2377 $> # # # [Note: This file does not mention every change made to the NetBSD source tree. @@ -138,4 +138,4 @@ Changes from NetBSD 8.0 to NetBSD 9.0: ntp: Import ntp 4.2.8p10. [christos 20180406] acpi(4): Updated ACPICA to 20180313. [christos 20180407] dhcp: Import version 4.4.1 (move to MPL). [christos 20180407] - bind: Import version 9.10.7. [christos 20180407] + bind: Import version 9.10.7. [christos 20180407]
CVS commit: src
Module Name:src Committed By: leot Date: Fri Feb 16 10:05:22 UTC 2018 Modified Files: src: BUILDING Log Message: regen To generate a diff of this commit: cvs rdiff -u -r1.130 -r1.131 src/BUILDING Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/BUILDING diff -u src/BUILDING:1.130 src/BUILDING:1.131 --- src/BUILDING:1.130 Fri Dec 29 03:05:13 2017 +++ src/BUILDING Fri Feb 16 10:05:22 2018 @@ -877,7 +877,7 @@ BUILDING MACHINE/MACHINE_ARCH pairs, and then exits. The -m or -a options (or both) may be used to specify glob patterns that will be used to narrow the list of results; for example, - "build.sh -m 'evm*' -a '*arm*' list-arch" will list all + "build.sh -m 'evb*' -a '*arm*' list-arch" will list all known MACHINE/MACHINE_ARCH values in which either MACHINE or ALIAS matches the pattern `evb*', and MACHINE_ARCH matches the pattern `*arm*'.
CVS commit: src/doc
Module Name:src Committed By: leot Date: Fri Feb 16 10:05:01 UTC 2018 Modified Files: src/doc: BUILDING.mdoc Log Message: Fix a typo. Pointed out by aalm in #NetBSD@Freenode. To generate a diff of this commit: cvs rdiff -u -r1.123 -r1.124 src/doc/BUILDING.mdoc Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/doc/BUILDING.mdoc diff -u src/doc/BUILDING.mdoc:1.123 src/doc/BUILDING.mdoc:1.124 --- src/doc/BUILDING.mdoc:1.123 Fri Dec 29 03:04:56 2017 +++ src/doc/BUILDING.mdoc Fri Feb 16 10:05:01 2018 @@ -1,4 +1,4 @@ -.\" $NetBSD: BUILDING.mdoc,v 1.123 2017/12/29 03:04:56 sevan Exp $ +.\" $NetBSD: BUILDING.mdoc,v 1.124 2018/02/16 10:05:01 leot Exp $ .\" .\" Copyright (c) 2001-2011 The NetBSD Foundation, Inc. .\" All rights reserved. @@ -1630,7 +1630,7 @@ or options (or both) may be used to specify glob patterns that will be used to narrow the list of results; for example, -.Dq Li build.sh -m 'evm*' -a '*arm*' list-arch +.Dq Li build.sh -m 'evb*' -a '*arm*' list-arch will list all known .Sy MACHINE Ns No / Ns Sy MACHINE_ARCH values in which either
CVS commit: src/usr.sbin/npf/npfctl
Module Name:src Committed By: leot Date: Sun Dec 10 20:45:26 UTC 2017 Modified Files: src/usr.sbin/npf/npfctl: todo Log Message: Fix a typo To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14 src/usr.sbin/npf/npfctl/todo Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/usr.sbin/npf/npfctl/todo diff -u src/usr.sbin/npf/npfctl/todo:1.13 src/usr.sbin/npf/npfctl/todo:1.14 --- src/usr.sbin/npf/npfctl/todo:1.13 Sun Dec 10 20:30:45 2017 +++ src/usr.sbin/npf/npfctl/todo Sun Dec 10 20:45:26 2017 @@ -2,7 +2,7 @@ -- have a way to use npflog to log packets to syslog We have npfd that logs to a file -- have a way to match dropped packets to rules - We keep this information now and we pass it to nplog using the OpenBSD + We keep this information now and we pass it to npflog using the OpenBSD pflog format. -- have a way to list the active nat sessions Use "npfctl list"
CVS commit: src/usr.bin/calendar/calendars
Module Name:src Committed By: leot Date: Sat Dec 9 23:16:27 UTC 2017 Modified Files: src/usr.bin/calendar/calendars: calendar.birthday Log Message: Fix a typo. (or, `Emily Dickinson' - the American poet - was born on the same date) To generate a diff of this commit: cvs rdiff -u -r1.26 -r1.27 src/usr.bin/calendar/calendars/calendar.birthday 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/calendar/calendars/calendar.birthday diff -u src/usr.bin/calendar/calendars/calendar.birthday:1.26 src/usr.bin/calendar/calendars/calendar.birthday:1.27 --- src/usr.bin/calendar/calendars/calendar.birthday:1.26 Mon Feb 15 20:58:02 2016 +++ src/usr.bin/calendar/calendars/calendar.birthday Sat Dec 9 23:16:27 2017 @@ -253,7 +253,7 @@ 12/05 Walt (Walter Elias) Disney born in Chicago, 1901 12/08 Horace (Quintus Horatius Flaccus) born in Venosa (Italy), 65 BC 12/08 James (Grover) Thurber born in Columbus, Ohio, 1894 -12/10 Emily Dickenson born, 1830 +12/10 Emily Dickinson born, 1830 12/12 E.G. Robinson born, 1893 12/14 George Washington dies, 1799 12/17 William Safire (Safir) born, 1929
CVS commit: src/share/man/man7
Module Name:src Committed By: leot Date: Wed Jul 26 15:32:09 UTC 2017 Modified Files: src/share/man/man7: release.7 Log Message: Document xetc.tgz installation set. Thanks to for the review! To generate a diff of this commit: cvs rdiff -u -r1.37 -r1.38 src/share/man/man7/release.7 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/man7/release.7 diff -u src/share/man/man7/release.7:1.37 src/share/man/man7/release.7:1.38 --- src/share/man/man7/release.7:1.37 Mon Jul 3 21:30:59 2017 +++ src/share/man/man7/release.7 Wed Jul 26 15:32:09 2017 @@ -1,4 +1,4 @@ -.\" $NetBSD: release.7,v 1.37 2017/07/03 21:30:59 wiz Exp $ +.\" $NetBSD: release.7,v 1.38 2017/07/26 15:32:09 leot Exp $ .\" .\" Copyright (c) 1997, 2000, 2005 The NetBSD Foundation, Inc. .\" All rights reserved. @@ -27,7 +27,7 @@ .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE .\" POSSIBILITY OF SUCH DAMAGE. .\" -.Dd November 3, 2014 +.Dd July 26, 2017 .Dt RELEASE 7 .Os .Sh NAME @@ -314,6 +314,8 @@ all related programs, and their manual p .It Sy xbase.tgz This set includes the base X11 distribution, including manual pages and excluding everything contained in the other X11 sets. +.It Sy xetc.tgz +This set includes X11 configuration files. .It Sy xcomp.tgz This set includes the X11 include files and static X11 libraries. .It Sy xfont.tgz
CVS commit: src/distrib/sets/lists/debug
Module Name:src Committed By: leot Date: Sun May 21 22:34:34 UTC 2017 Modified Files: src/distrib/sets/lists/debug: mi Log Message: Adjust for MKCRYPTO_RC5 removal (fixes MKDEBUGLIB=yes build). OK To generate a diff of this commit: cvs rdiff -u -r1.210 -r1.211 src/distrib/sets/lists/debug/mi Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/distrib/sets/lists/debug/mi diff -u src/distrib/sets/lists/debug/mi:1.210 src/distrib/sets/lists/debug/mi:1.211 --- src/distrib/sets/lists/debug/mi:1.210 Sun May 21 15:28:37 2017 +++ src/distrib/sets/lists/debug/mi Sun May 21 22:34:34 2017 @@ -1,4 +1,4 @@ -# $NetBSD: mi,v 1.210 2017/05/21 15:28:37 riastradh Exp $ +# $NetBSD: mi,v 1.211 2017/05/21 22:34:34 leot Exp $ ./etc/mtree/set.debug comp-sys-root ./usr/lib comp-sys-usr compatdir ./usr/lib/i18n/libBIG5_g.a comp-c-debuglib debuglib,compatfile @@ -45,7 +45,7 @@ ./usr/lib/libcrypto_g.acomp-c-debuglib debuglib,compatfile ./usr/lib/libcrypto_idea_g.a comp-obsolete obsolete,compatfile ./usr/lib/libcrypto_mdc2_g.a comp-obsolete obsolete,compatfile -./usr/lib/libcrypto_rc5_g.a comp-obsolete debuglib,compatfile +./usr/lib/libcrypto_rc5_g.a comp-obsolete obsolete,compatfile ./usr/lib/libctf_g.acomp-c-debuglib debuglib,compatfile,ctf ./usr/lib/libcurses_g.acomp-c-debuglib debuglib,compatfile ./usr/lib/libdes_g.acomp-c-debuglib debuglib,compatfile
CVS commit: src/games/wargames
Module Name:src Committed By: leot Date: Sun May 21 16:47:27 UTC 2017 Modified Files: src/games/wargames: wargames.sh Log Message: Permit Prof. Steven Falcon [sic] to play hals_end(6) (or, more seriously: also permit games that contain underscores to be invoked via wargames(6)) To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/games/wargames/wargames.sh Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/games/wargames/wargames.sh diff -u src/games/wargames/wargames.sh:1.4 src/games/wargames/wargames.sh:1.5 --- src/games/wargames/wargames.sh:1.4 Wed Sep 19 04:54:06 2001 +++ src/games/wargames/wargames.sh Sun May 21 16:47:26 2017 @@ -1,5 +1,5 @@ #!/bin/sh - -# $NetBSD: wargames.sh,v 1.4 2001/09/19 04:54:06 lukem Exp $ +# $NetBSD: wargames.sh,v 1.5 2017/05/21 16:47:26 leot Exp $ # # Copyright (c) 1985, 1993 # The Regents of the University of California. All rights reserved. @@ -37,7 +37,7 @@ echo -n "Would you like to play a game? " read x -x=`echo $x | sed 's/[^a-z0-9]//g'` +x=`echo $x | sed 's/[^a-z0-9_]//g'` if [ -f /usr/games/$x ] ; then tput cl
CVS commit: src/share/misc
Module Name:src Committed By: leot Date: Mon Mar 13 11:50:06 UTC 2017 Modified Files: src/share/misc: acronyms.comp Log Message: Add UB (undefined behavior) Seen in several commit messages To generate a diff of this commit: cvs rdiff -u -r1.177 -r1.178 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.177 src/share/misc/acronyms.comp:1.178 --- src/share/misc/acronyms.comp:1.177 Tue Mar 7 16:40:16 2017 +++ src/share/misc/acronyms.comp Mon Mar 13 11:50:06 2017 @@ -1,4 +1,4 @@ -$NetBSD: acronyms.comp,v 1.177 2017/03/07 16:40:16 dholland Exp $ +$NetBSD: acronyms.comp,v 1.178 2017/03/13 11:50:06 leot Exp $ 3WHS three-way handshake 8VSB 8-state vestigial side band modulation AA anti-aliasing @@ -1323,6 +1323,7 @@ UAC user {access,account} control UAF use-after-free UART universal asynchronous receiver/transmitter UAT user acceptance testing +UB undefined behavior UC uncacheable UCS uniform-cost search UDMA ultra DMA
CVS commit: src/usr.bin/look
Module Name:src Committed By: leot Date: Tue Feb 21 09:23:31 UTC 2017 Modified Files: src/usr.bin/look: look.c Log Message: Properly check mmap(2) return value. We can end up with a segmentation fault if the user does not provide a regular file as look(1) file argument. Kindly reviewed by To generate a diff of this commit: cvs rdiff -u -r1.16 -r1.17 src/usr.bin/look/look.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/usr.bin/look/look.c diff -u src/usr.bin/look/look.c:1.16 src/usr.bin/look/look.c:1.17 --- src/usr.bin/look/look.c:1.16 Thu Feb 23 22:57:53 2012 +++ src/usr.bin/look/look.c Tue Feb 21 09:23:31 2017 @@ -1,4 +1,4 @@ -/* $NetBSD: look.c,v 1.16 2012/02/23 22:57:53 joerg Exp $ */ +/* $NetBSD: look.c,v 1.17 2017/02/21 09:23:31 leot Exp $ */ /*- * Copyright (c) 1991, 1993 @@ -42,7 +42,7 @@ __COPYRIGHT("@(#) Copyright (c) 1991, 19 #if 0 static char sccsid[] = "@(#)look.c 8.2 (Berkeley) 5/4/95"; #endif -__RCSID("$NetBSD: look.c,v 1.16 2012/02/23 22:57:53 joerg Exp $"); +__RCSID("$NetBSD: look.c,v 1.17 2017/02/21 09:23:31 leot Exp $"); #endif /* not lint */ /* @@ -147,7 +147,7 @@ main(int argc, char *argv[]) err(2, "%s", file); } if ((front = mmap(NULL, len, - PROT_READ, MAP_FILE|MAP_SHARED, fd, (off_t)0)) == NULL) + PROT_READ, MAP_FILE|MAP_SHARED, fd, (off_t)0)) == MAP_FAILED) err(2, "%s", file); back = front + len; exit(look(string, front, back));
CVS commit: src/doc/roadmaps
Module Name:src Committed By: leot Date: Fri Jan 13 10:44:27 UTC 2017 Modified Files: src/doc/roadmaps: desktop Log Message: Fix a typo To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/doc/roadmaps/desktop Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/doc/roadmaps/desktop diff -u src/doc/roadmaps/desktop:1.2 src/doc/roadmaps/desktop:1.3 --- src/doc/roadmaps/desktop:1.2 Fri Jan 13 10:41:16 2017 +++ src/doc/roadmaps/desktop Fri Jan 13 10:44:27 2017 @@ -1,4 +1,4 @@ -$NetBSD: desktop,v 1.2 2017/01/13 10:41:16 leot Exp $ +$NetBSD: desktop,v 1.3 2017/01/13 10:44:27 leot Exp $ NetBSD Desktop Roadmap == @@ -277,7 +277,7 @@ all that much different either) are base number of properties that are not consistent with the Unix philosophy or design model. -First, Unix is about files, and like or or not, files in Unix are +First, Unix is about files, and like it or not, files in Unix are organized in a hierarchical namespace. The Windows-like desktops, like Windows, provide a file manager as an afterthought and the desktop workspace itself has no notion of current directory, no notion of
CVS commit: src/doc/roadmaps
Module Name:src Committed By: leot Date: Fri Jan 13 10:41:16 UTC 2017 Modified Files: src/doc/roadmaps: desktop Log Message: Fix a typo in a year (s/2007/2017/) To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/doc/roadmaps/desktop Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/doc/roadmaps/desktop diff -u src/doc/roadmaps/desktop:1.1 src/doc/roadmaps/desktop:1.2 --- src/doc/roadmaps/desktop:1.1 Fri Jan 13 10:17:18 2017 +++ src/doc/roadmaps/desktop Fri Jan 13 10:41:16 2017 @@ -1,4 +1,4 @@ -$NetBSD: desktop,v 1.1 2017/01/13 10:17:18 dholland Exp $ +$NetBSD: desktop,v 1.2 2017/01/13 10:41:16 leot Exp $ NetBSD Desktop Roadmap == @@ -85,7 +85,7 @@ Explanations It's embarrassing that in 2016 we were still shipping twm as the default window system config. Heck, it was embarrassing in 2006. The work needed to move to ctwm has been largely done (by youri) and at -least some of it committed, but this still (as of January 2007) isn't +least some of it committed, but this still (as of January 2017) isn't enabled by default. - As of January 2017 nobody is actively working on this.
CVS commit: src/sys/dev/pci
Module Name:src Committed By: leot Date: Thu Dec 29 19:22:51 UTC 2016 Modified Files: src/sys/dev/pci: if_alcreg.h Log Message: Do not access `sc' directly via the CSR_{READ,WRITE}_[124] macros. Patch provided by Amol via PR kern/51708. ok To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/sys/dev/pci/if_alcreg.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/dev/pci/if_alcreg.h diff -u src/sys/dev/pci/if_alcreg.h:1.5 src/sys/dev/pci/if_alcreg.h:1.6 --- src/sys/dev/pci/if_alcreg.h:1.5 Tue Nov 24 23:30:04 2015 +++ src/sys/dev/pci/if_alcreg.h Thu Dec 29 19:22:51 2016 @@ -1,4 +1,4 @@ -/* $NetBSD: if_alcreg.h,v 1.5 2015/11/24 23:30:04 leot Exp $ */ +/* $NetBSD: if_alcreg.h,v 1.6 2016/12/29 19:22:51 leot Exp $ */ /* $OpenBSD: if_alcreg.h,v 1.1 2009/08/08 09:31:13 kevlo Exp $ */ /*- * Copyright (c) 2009, Pyun YongHyeon @@ -1488,15 +1488,15 @@ struct alc_softc { /* Register access macros. */ #define CSR_WRITE_4(_sc, reg, val) \ - bus_space_write_4((sc)->sc_mem_bt, (sc)->sc_mem_bh, (reg), (val)) + bus_space_write_4((_sc)->sc_mem_bt, (_sc)->sc_mem_bh, (reg), (val)) #define CSR_WRITE_2(_sc, reg, val) \ - bus_space_write_2((sc)->sc_mem_bt, (sc)->sc_mem_bh, (reg), (val)) + bus_space_write_2((_sc)->sc_mem_bt, (_sc)->sc_mem_bh, (reg), (val)) #define CSR_WRITE_1(_sc, reg, val) \ - bus_space_write_1((sc)->sc_mem_bt, (sc)->sc_mem_bh, (reg), (val)) + bus_space_write_1((_sc)->sc_mem_bt, (_sc)->sc_mem_bh, (reg), (val)) #define CSR_READ_2(_sc, reg) \ - bus_space_read_2((sc)->sc_mem_bt, (sc)->sc_mem_bh, (reg)) + bus_space_read_2((_sc)->sc_mem_bt, (_sc)->sc_mem_bh, (reg)) #define CSR_READ_4(_sc, reg) \ - bus_space_read_4((sc)->sc_mem_bt, (sc)->sc_mem_bh, (reg)) + bus_space_read_4((_sc)->sc_mem_bt, (_sc)->sc_mem_bh, (reg)) #define ALC_RXCHAIN_RESET(_sc) \ do { \
CVS commit: src/external/bsd/top/dist
Module Name:src Committed By: leot Date: Wed Dec 28 18:16:30 UTC 2016 Modified Files: src/external/bsd/top/dist: top.1.in Log Message: Document the `p' command in "interactive mode" that filters processes by pid. While here add date to the `.TH' macro 3rd argument. Reviewed by and thanks to To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/external/bsd/top/dist/top.1.in Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/external/bsd/top/dist/top.1.in diff -u src/external/bsd/top/dist/top.1.in:1.8 src/external/bsd/top/dist/top.1.in:1.9 --- src/external/bsd/top/dist/top.1.in:1.8 Sat Jan 23 22:10:44 2016 +++ src/external/bsd/top/dist/top.1.in Wed Dec 28 18:16:30 2016 @@ -4,7 +4,7 @@ .nr D @DEFAULT_DELAY@ .nr L @HAVE_GETOPT_LONG@ .nr K @ENABLE_KILL@ -.TH TOP 1 Local +.TH TOP 1 "December 28, 2016" .UC 4 .SH NAME top \- display and update information about the top cpu processes @@ -301,6 +301,11 @@ but usually include: \*(lqcpu\*(rq, \*( .B P Sort by CPU usage. Shorthand for \*(lqo cpu\*(rq. .TP +.B p +Display only process with the specified pid (prompt for process id). +If the pid specified is simply \*(lq-1\*(rq, then all processes are +displayed. +.TP .B q Quit .IR top.
CVS commit: src/external/bsd/top/dist/machine
Module Name:src Committed By: leot Date: Mon Dec 26 12:46:32 UTC 2016 Modified Files: src/external/bsd/top/dist/machine: m_netbsd.c Log Message: Implement the `c' command in "interactive mode" that displays only commands that match a specified string. Reviewed by and thanks to To generate a diff of this commit: cvs rdiff -u -r1.18 -r1.19 src/external/bsd/top/dist/machine/m_netbsd.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/external/bsd/top/dist/machine/m_netbsd.c diff -u src/external/bsd/top/dist/machine/m_netbsd.c:1.18 src/external/bsd/top/dist/machine/m_netbsd.c:1.19 --- src/external/bsd/top/dist/machine/m_netbsd.c:1.18 Sun Oct 20 03:02:27 2013 +++ src/external/bsd/top/dist/machine/m_netbsd.c Mon Dec 26 12:46:31 2016 @@ -1,4 +1,4 @@ -/* $NetBSD: m_netbsd.c,v 1.18 2013/10/20 03:02:27 christos Exp $ */ +/* $NetBSD: m_netbsd.c,v 1.19 2016/12/26 12:46:31 leot Exp $ */ /* * top - a top users display for Unix @@ -37,12 +37,12 @@ * Andrew Doran * * - * $Id: m_netbsd.c,v 1.18 2013/10/20 03:02:27 christos Exp $ + * $Id: m_netbsd.c,v 1.19 2016/12/26 12:46:31 leot Exp $ */ #include #ifndef lint -__RCSID("$NetBSD: m_netbsd.c,v 1.18 2013/10/20 03:02:27 christos Exp $"); +__RCSID("$NetBSD: m_netbsd.c,v 1.19 2016/12/26 12:46:31 leot Exp $"); #endif #include @@ -587,6 +587,7 @@ get_proc_info(struct system_info *si, st int show_idle; int show_system; int show_uid; + char *show_command; static struct handle handle; @@ -626,6 +627,7 @@ get_proc_info(struct system_info *si, st show_idle = sel->idle; show_system = sel->system; show_uid = sel->uid != -1; + show_command = sel->command; /* count up process states and get pointers to interesting procs */ total_procs = 0; @@ -646,9 +648,12 @@ get_proc_info(struct system_info *si, st if (pp->p_stat != LSZOMB && (show_idle || (pp->p_pctcpu != 0) || (pp->p_stat == LSRUN || pp->p_stat == LSONPROC)) && - (!show_uid || pp->p_ruid == (uid_t)sel->uid)) { -*prefp++ = pp; -active_procs++; + (!show_uid || pp->p_ruid == (uid_t)sel->uid) && + (!show_command || + strstr(get_command(sel, pp), + show_command) != NULL)) { + *prefp++ = pp; + active_procs++; } } } @@ -685,6 +690,7 @@ get_lwp_info(struct system_info *si, str int show_idle; int show_system; int show_uid; + char *show_command; static struct handle handle; @@ -736,6 +742,7 @@ get_lwp_info(struct system_info *si, str show_idle = sel->idle; show_system = sel->system; show_uid = sel->uid != -1; + show_command = sel->command; /* count up thread states and get pointers to interesting threads */ total_lwps = 0; @@ -758,9 +765,12 @@ get_lwp_info(struct system_info *si, str if (lp->l_stat != LSZOMB && (show_idle || (lp->l_pctcpu != 0) || (lp->l_stat == LSRUN || lp->l_stat == LSONPROC)) && - (!show_uid || uid_from_thread(lp) == sel->uid)) { -*lrefp++ = lp; -active_lwps++; + (!show_uid || uid_from_thread(lp) == sel->uid) && + (!show_command || + strstr(get_command(sel, proc_from_thread(lp)), + show_command) != NULL)) { + *lrefp++ = lp; + active_lwps++; } } }
CVS commit: src/include
Module Name:src Committed By: leot Date: Thu Mar 10 18:53:48 UTC 2016 Modified Files: src/include: string.h Log Message: strndup() is part of XSI from The Open Group Base Specification Issue 7 and had a similar history of stpcpy(), stpncpy() and strnlen(). Make it visible under XOPEN_SOURCE>=700 too (not just _NETBSD_SOURCE). ok dholland@ To generate a diff of this commit: cvs rdiff -u -r1.49 -r1.50 src/include/string.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/include/string.h diff -u src/include/string.h:1.49 src/include/string.h:1.50 --- src/include/string.h:1.49 Wed Sep 24 18:16:36 2014 +++ src/include/string.h Thu Mar 10 18:53:48 2016 @@ -1,4 +1,4 @@ -/* $NetBSD: string.h,v 1.49 2014/09/24 18:16:36 christos Exp $ */ +/* $NetBSD: string.h,v 1.50 2016/03/10 18:53:48 leot Exp $ */ /*- * Copyright (c) 1990, 1993 @@ -83,6 +83,7 @@ char *strdup(const char *); defined(_NETBSD_SOURCE) char *stpcpy(char * __restrict, const char * __restrict); char *stpncpy(char * __restrict, const char * __restrict, size_t); +char *strndup(const char *, size_t); size_t strnlen(const char *, size_t); #ifndef __STRSIGNAL_DECLARED #define __STRSIGNAL_DECLARED @@ -101,7 +102,6 @@ size_t strlcat(char *, const char *, si size_t strlcpy(char *, const char *, size_t); char *strsep(char **, const char *); char *stresep(char **, const char *, int); -char *strndup(const char *, size_t); char *strnstr(const char *, const char *, size_t); void *memrchr(const void *, int, size_t); void *explicit_memset(void *, int, size_t);
CVS commit: src/sys/dev/usb
Module Name:src Committed By: leot Date: Thu Dec 10 14:31:46 UTC 2015 Modified Files: src/sys/dev/usb: usbdevs.h usbdevs_data.h Log Message: regen (sorted the RTL8188CU_3 devid) To generate a diff of this commit: cvs rdiff -u -r1.698 -r1.699 src/sys/dev/usb/usbdevs.h cvs rdiff -u -r1.699 -r1.700 src/sys/dev/usb/usbdevs_data.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/dev/usb/usbdevs.h diff -u src/sys/dev/usb/usbdevs.h:1.698 src/sys/dev/usb/usbdevs.h:1.699 --- src/sys/dev/usb/usbdevs.h:1.698 Thu Dec 10 14:26:40 2015 +++ src/sys/dev/usb/usbdevs.h Thu Dec 10 14:31:46 2015 @@ -1,10 +1,10 @@ -/* $NetBSD: usbdevs.h,v 1.698 2015/12/10 14:26:40 leot Exp $ */ +/* $NetBSD: usbdevs.h,v 1.699 2015/12/10 14:31:46 leot Exp $ */ /* * THIS FILE AUTOMATICALLY GENERATED. DO NOT EDIT. * * generated from: - * NetBSD: usbdevs,v 1.706 2015/12/10 14:24:25 leot Exp + * NetBSD: usbdevs,v 1.707 2015/12/10 14:30:56 leot Exp */ /* @@ -2738,8 +2738,8 @@ #define USB_PRODUCT_REALTEK_RTL8188RU_3 0x817f /* RTL8188RU */ #define USB_PRODUCT_REALTEK_RTL8187 0x8187 /* RTL8187 */ #define USB_PRODUCT_REALTEK_RTL8187B_0 0x8189 /* RTL8187B */ -#define USB_PRODUCT_REALTEK_RTL8188CU_3 0x8191 /* RTL8188CU */ #define USB_PRODUCT_REALTEK_RTL8188CUS 0x818a /* RTL8188CUS */ +#define USB_PRODUCT_REALTEK_RTL8188CU_3 0x8191 /* RTL8188CU */ #define USB_PRODUCT_REALTEK_RTL8187B_1 0x8197 /* RTL8187B */ #define USB_PRODUCT_REALTEK_RTL8187B_2 0x8198 /* RTL8187B */ #define USB_PRODUCT_REALTEK_RTL8712 0x8712 /* RTL8712 */ Index: src/sys/dev/usb/usbdevs_data.h diff -u src/sys/dev/usb/usbdevs_data.h:1.699 src/sys/dev/usb/usbdevs_data.h:1.700 --- src/sys/dev/usb/usbdevs_data.h:1.699 Thu Dec 10 14:26:40 2015 +++ src/sys/dev/usb/usbdevs_data.h Thu Dec 10 14:31:46 2015 @@ -1,10 +1,10 @@ -/* $NetBSD: usbdevs_data.h,v 1.699 2015/12/10 14:26:40 leot Exp $ */ +/* $NetBSD: usbdevs_data.h,v 1.700 2015/12/10 14:31:46 leot Exp $ */ /* * THIS FILE AUTOMATICALLY GENERATED. DO NOT EDIT. * * generated from: - * NetBSD: usbdevs,v 1.706 2015/12/10 14:24:25 leot Exp + * NetBSD: usbdevs,v 1.707 2015/12/10 14:30:56 leot Exp */ /* @@ -3678,10 +3678,10 @@ static const uint16_t usb_products[] = { 8445, 0, USB_VENDOR_REALTEK, USB_PRODUCT_REALTEK_RTL8187B_0, 16118, 0, - USB_VENDOR_REALTEK, USB_PRODUCT_REALTEK_RTL8188CU_3, - 5075, 0, USB_VENDOR_REALTEK, USB_PRODUCT_REALTEK_RTL8188CUS, 7124, 0, + USB_VENDOR_REALTEK, USB_PRODUCT_REALTEK_RTL8188CU_3, + 5075, 0, USB_VENDOR_REALTEK, USB_PRODUCT_REALTEK_RTL8187B_1, 16118, 0, USB_VENDOR_REALTEK, USB_PRODUCT_REALTEK_RTL8187B_2,
CVS commit: src/sys/dev/usb
Module Name:src Committed By: leot Date: Thu Dec 10 14:30:56 UTC 2015 Modified Files: src/sys/dev/usb: usbdevs Log Message: whoops, sort the RTL8188CU_3. To generate a diff of this commit: cvs rdiff -u -r1.706 -r1.707 src/sys/dev/usb/usbdevs Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sys/dev/usb/usbdevs diff -u src/sys/dev/usb/usbdevs:1.706 src/sys/dev/usb/usbdevs:1.707 --- src/sys/dev/usb/usbdevs:1.706 Thu Dec 10 14:24:25 2015 +++ src/sys/dev/usb/usbdevs Thu Dec 10 14:30:56 2015 @@ -1,4 +1,4 @@ -$NetBSD: usbdevs,v 1.706 2015/12/10 14:24:25 leot Exp $ +$NetBSD: usbdevs,v 1.707 2015/12/10 14:30:56 leot Exp $ /* * Copyright (c) 1998-2004 The NetBSD Foundation, Inc. @@ -2731,8 +2731,8 @@ product REALTEK RTL8188CE_1 0x817e RTL81 product REALTEK RTL8188RU_3 0x817f RTL8188RU product REALTEK RTL8187 0x8187 RTL8187 product REALTEK RTL8187B_0 0x8189 RTL8187B -product REALTEK RTL8188CU_3 0x8191 RTL8188CU product REALTEK RTL8188CUS 0x818a RTL8188CUS +product REALTEK RTL8188CU_3 0x8191 RTL8188CU product REALTEK RTL8187B_1 0x8197 RTL8187B product REALTEK RTL8187B_2 0x8198 RTL8187B product REALTEK RTL8712 0x8712 RTL8712
CVS commit: src/sys/dev/usb
Module Name:src Committed By: leot Date: Thu Dec 10 14:28:04 UTC 2015 Modified Files: src/sys/dev/usb: if_urtwn.c Log Message: Add support for Realtek RTL8188CU_3. To generate a diff of this commit: cvs rdiff -u -r1.38 -r1.39 src/sys/dev/usb/if_urtwn.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sys/dev/usb/if_urtwn.c diff -u src/sys/dev/usb/if_urtwn.c:1.38 src/sys/dev/usb/if_urtwn.c:1.39 --- src/sys/dev/usb/if_urtwn.c:1.38 Sun Mar 8 14:56:06 2015 +++ src/sys/dev/usb/if_urtwn.c Thu Dec 10 14:28:04 2015 @@ -1,4 +1,4 @@ -/* $NetBSD: if_urtwn.c,v 1.38 2015/03/08 14:56:06 christos Exp $ */ +/* $NetBSD: if_urtwn.c,v 1.39 2015/12/10 14:28:04 leot Exp $ */ /* $OpenBSD: if_urtwn.c,v 1.42 2015/02/10 23:25:46 mpi Exp $ */ /*- @@ -23,7 +23,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: if_urtwn.c,v 1.38 2015/03/08 14:56:06 christos Exp $"); +__KERNEL_RCSID(0, "$NetBSD: if_urtwn.c,v 1.39 2015/12/10 14:28:04 leot Exp $"); #ifdef _KERNEL_OPT #include "opt_inet.h" @@ -162,6 +162,7 @@ static const struct urtwn_dev { URTWN_DEV(REALTEK, RTL8188CU_0), URTWN_DEV(REALTEK, RTL8188CU_1), URTWN_DEV(REALTEK, RTL8188CU_2), + URTWN_DEV(REALTEK, RTL8188CU_3), URTWN_DEV(REALTEK, RTL8188CU_COMBO), URTWN_DEV(REALTEK, RTL8188CUS), URTWN_DEV(REALTEK, RTL8188RU),
CVS commit: src/sys/dev/usb
Module Name:src Committed By: leot Date: Thu Dec 10 14:26:40 UTC 2015 Modified Files: src/sys/dev/usb: usbdevs.h usbdevs_data.h Log Message: regen (+REALTEK RTL8188CU_3) To generate a diff of this commit: cvs rdiff -u -r1.697 -r1.698 src/sys/dev/usb/usbdevs.h cvs rdiff -u -r1.698 -r1.699 src/sys/dev/usb/usbdevs_data.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/dev/usb/usbdevs.h diff -u src/sys/dev/usb/usbdevs.h:1.697 src/sys/dev/usb/usbdevs.h:1.698 --- src/sys/dev/usb/usbdevs.h:1.697 Mon Dec 7 14:40:23 2015 +++ src/sys/dev/usb/usbdevs.h Thu Dec 10 14:26:40 2015 @@ -1,10 +1,10 @@ -/* $NetBSD: usbdevs.h,v 1.697 2015/12/07 14:40:23 christos Exp $ */ +/* $NetBSD: usbdevs.h,v 1.698 2015/12/10 14:26:40 leot Exp $ */ /* * THIS FILE AUTOMATICALLY GENERATED. DO NOT EDIT. * * generated from: - * NetBSD: usbdevs,v 1.705 2015/12/07 14:40:03 christos Exp + * NetBSD: usbdevs,v 1.706 2015/12/10 14:24:25 leot Exp */ /* @@ -2738,6 +2738,7 @@ #define USB_PRODUCT_REALTEK_RTL8188RU_3 0x817f /* RTL8188RU */ #define USB_PRODUCT_REALTEK_RTL8187 0x8187 /* RTL8187 */ #define USB_PRODUCT_REALTEK_RTL8187B_0 0x8189 /* RTL8187B */ +#define USB_PRODUCT_REALTEK_RTL8188CU_3 0x8191 /* RTL8188CU */ #define USB_PRODUCT_REALTEK_RTL8188CUS 0x818a /* RTL8188CUS */ #define USB_PRODUCT_REALTEK_RTL8187B_1 0x8197 /* RTL8187B */ #define USB_PRODUCT_REALTEK_RTL8187B_2 0x8198 /* RTL8187B */ Index: src/sys/dev/usb/usbdevs_data.h diff -u src/sys/dev/usb/usbdevs_data.h:1.698 src/sys/dev/usb/usbdevs_data.h:1.699 --- src/sys/dev/usb/usbdevs_data.h:1.698 Mon Dec 7 14:40:23 2015 +++ src/sys/dev/usb/usbdevs_data.h Thu Dec 10 14:26:40 2015 @@ -1,10 +1,10 @@ -/* $NetBSD: usbdevs_data.h,v 1.698 2015/12/07 14:40:23 christos Exp $ */ +/* $NetBSD: usbdevs_data.h,v 1.699 2015/12/10 14:26:40 leot Exp $ */ /* * THIS FILE AUTOMATICALLY GENERATED. DO NOT EDIT. * * generated from: - * NetBSD: usbdevs,v 1.705 2015/12/07 14:40:03 christos Exp + * NetBSD: usbdevs,v 1.706 2015/12/10 14:24:25 leot Exp */ /* @@ -3678,6 +3678,8 @@ static const uint16_t usb_products[] = { 8445, 0, USB_VENDOR_REALTEK, USB_PRODUCT_REALTEK_RTL8187B_0, 16118, 0, + USB_VENDOR_REALTEK, USB_PRODUCT_REALTEK_RTL8188CU_3, + 5075, 0, USB_VENDOR_REALTEK, USB_PRODUCT_REALTEK_RTL8188CUS, 7124, 0, USB_VENDOR_REALTEK, USB_PRODUCT_REALTEK_RTL8187B_1, @@ -5380,7 +5382,7 @@ static const char usb_words[] = { "." "USB2.0\0" /* 6 refs @ 5053 */ "WL54\0" /* 1 refs @ 5060 */ "RTL8192CU\0" /* 24 refs @ 5065 */ - "RTL8188CU\0" /* 20 refs @ 5075 */ + "RTL8188CU\0" /* 21 refs @ 5075 */ "XX10\0" /* 1 refs @ 5085 */ "BWU613\0" /* 1 refs @ 5090 */ "HWU54DM\0" /* 1 refs @ 5097 */
CVS commit: src/sys/dev/usb
Module Name:src Committed By: leot Date: Thu Dec 10 14:24:25 UTC 2015 Modified Files: src/sys/dev/usb: usbdevs Log Message: + REALTEK RTL8188CU_3 To generate a diff of this commit: cvs rdiff -u -r1.705 -r1.706 src/sys/dev/usb/usbdevs Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sys/dev/usb/usbdevs diff -u src/sys/dev/usb/usbdevs:1.705 src/sys/dev/usb/usbdevs:1.706 --- src/sys/dev/usb/usbdevs:1.705 Mon Dec 7 14:40:03 2015 +++ src/sys/dev/usb/usbdevs Thu Dec 10 14:24:25 2015 @@ -1,4 +1,4 @@ -$NetBSD: usbdevs,v 1.705 2015/12/07 14:40:03 christos Exp $ +$NetBSD: usbdevs,v 1.706 2015/12/10 14:24:25 leot Exp $ /* * Copyright (c) 1998-2004 The NetBSD Foundation, Inc. @@ -2731,6 +2731,7 @@ product REALTEK RTL8188CE_1 0x817e RTL81 product REALTEK RTL8188RU_3 0x817f RTL8188RU product REALTEK RTL8187 0x8187 RTL8187 product REALTEK RTL8187B_0 0x8189 RTL8187B +product REALTEK RTL8188CU_3 0x8191 RTL8188CU product REALTEK RTL8188CUS 0x818a RTL8188CUS product REALTEK RTL8187B_1 0x8197 RTL8187B product REALTEK RTL8187B_2 0x8198 RTL8187B
CVS commit: src/sys/dev/pci
Module Name:src Committed By: leot Date: Tue Nov 24 23:30:04 UTC 2015 Modified Files: src/sys/dev/pci: if_alc.c if_alcreg.h Log Message: Add NetBSD RCS Id. To generate a diff of this commit: cvs rdiff -u -r1.16 -r1.17 src/sys/dev/pci/if_alc.c cvs rdiff -u -r1.4 -r1.5 src/sys/dev/pci/if_alcreg.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/dev/pci/if_alc.c diff -u src/sys/dev/pci/if_alc.c:1.16 src/sys/dev/pci/if_alc.c:1.17 --- src/sys/dev/pci/if_alc.c:1.16 Tue Nov 24 20:13:12 2015 +++ src/sys/dev/pci/if_alc.c Tue Nov 24 23:30:04 2015 @@ -1,3 +1,4 @@ +/* $NetBSD: if_alc.c,v 1.17 2015/11/24 23:30:04 leot Exp $ */ /* $OpenBSD: if_alc.c,v 1.1 2009/08/08 09:31:13 kevlo Exp $ */ /*- * Copyright (c) 2009, Pyun YongHyeon Index: src/sys/dev/pci/if_alcreg.h diff -u src/sys/dev/pci/if_alcreg.h:1.4 src/sys/dev/pci/if_alcreg.h:1.5 --- src/sys/dev/pci/if_alcreg.h:1.4 Tue Sep 8 08:24:42 2015 +++ src/sys/dev/pci/if_alcreg.h Tue Nov 24 23:30:04 2015 @@ -1,3 +1,4 @@ +/* $NetBSD: if_alcreg.h,v 1.5 2015/11/24 23:30:04 leot Exp $ */ /* $OpenBSD: if_alcreg.h,v 1.1 2009/08/08 09:31:13 kevlo Exp $ */ /*- * Copyright (c) 2009, Pyun YongHyeon
CVS commit: src/sys/fs/tmpfs
Module Name:src Committed By: leot Date: Thu Oct 29 16:19:44 UTC 2015 Modified Files: src/sys/fs/tmpfs: tmpfs_subr.c Log Message: Make sure that nde->td_node is NULL for asserts. Thanks and from Mindaugas Rasiukevicius. Fixes PR kern/50381. To generate a diff of this commit: cvs rdiff -u -r1.100 -r1.101 src/sys/fs/tmpfs/tmpfs_subr.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sys/fs/tmpfs/tmpfs_subr.c diff -u src/sys/fs/tmpfs/tmpfs_subr.c:1.100 src/sys/fs/tmpfs/tmpfs_subr.c:1.101 --- src/sys/fs/tmpfs/tmpfs_subr.c:1.100 Tue Jul 7 09:30:24 2015 +++ src/sys/fs/tmpfs/tmpfs_subr.c Thu Oct 29 16:19:44 2015 @@ -1,4 +1,4 @@ -/* $NetBSD: tmpfs_subr.c,v 1.100 2015/07/07 09:30:24 justin Exp $ */ +/* $NetBSD: tmpfs_subr.c,v 1.101 2015/10/29 16:19:44 leot Exp $ */ /* * Copyright (c) 2005-2013 The NetBSD Foundation, Inc. @@ -73,7 +73,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: tmpfs_subr.c,v 1.100 2015/07/07 09:30:24 justin Exp $"); +__KERNEL_RCSID(0, "$NetBSD: tmpfs_subr.c,v 1.101 2015/10/29 16:19:44 leot Exp $"); #include #include @@ -459,6 +459,7 @@ tmpfs_alloc_dirent(tmpfs_mount_t *tmp, c nde->td_namelen = len; memcpy(nde->td_name, name, len); nde->td_seq = TMPFS_DIRSEQ_NONE; + nde->td_node = NULL; /* for asserts */ *de = nde; return 0;
CVS commit: src/sys/dev/pci
Module Name:src Committed By: leot Date: Tue Sep 8 08:24:42 UTC 2015 Modified Files: src/sys/dev/pci: if_alc.c if_alcreg.h Log Message: Add some missing fixes to alc(4) to sync with the latest FreeBSD and OpenBSD alc(4)s. Fix a long standing bug in MAC statistics register access. One additional register was erroneously added in the MAC register set such that 7 TX statistics counters were wrong. (from OpenBSD, if_alc.c 1.29) Remove setting an initial assumed baudrate upon driver attach which is not necessarily correct, there might not even be a link when attaching. (from OpenBSD, if_alc.c 1.22) Add some missing bus_dmamap_sync()'s and sync the others with the FreeBSD code. (from OpenBSD, if_alc.c 1.21) Help with the watchdog timeouts seen when unplugging the cable from the alc(4) NIC while running or the NIC not working if the cable is not plugged in upon boot up. (from OpenBSD, if_alc.c 1.16) ok mrg@ To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.15 src/sys/dev/pci/if_alc.c cvs rdiff -u -r1.3 -r1.4 src/sys/dev/pci/if_alcreg.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/dev/pci/if_alc.c diff -u src/sys/dev/pci/if_alc.c:1.14 src/sys/dev/pci/if_alc.c:1.15 --- src/sys/dev/pci/if_alc.c:1.14 Mon Apr 13 16:33:25 2015 +++ src/sys/dev/pci/if_alc.c Tue Sep 8 08:24:42 2015 @@ -527,6 +527,9 @@ alc_mediastatus(struct ifnet *ifp, struc struct alc_softc *sc = ifp->if_softc; struct mii_data *mii = &sc->sc_miibus; + if ((ifp->if_flags & IFF_UP) == 0) + return; + mii_pollstat(mii); ifmr->ifm_status = mii->mii_media_status; ifmr->ifm_active = mii->mii_media_active; @@ -1405,7 +1408,6 @@ alc_attach(device_t parent, device_t sel ifp->if_start = alc_start; ifp->if_stop = alc_stop; ifp->if_watchdog = alc_watchdog; - ifp->if_baudrate = IF_Gbps(1); IFQ_SET_MAXLEN(&ifp->if_snd, ALC_TX_RING_CNT - 1); IFQ_SET_READY(&ifp->if_snd); strlcpy(ifp->if_xname, device_xname(sc->sc_dev), IFNAMSIZ); @@ -1959,6 +1961,10 @@ alc_start(struct ifnet *ifp) if ((ifp->if_flags & (IFF_RUNNING | IFF_OACTIVE)) != IFF_RUNNING) return; + if ((sc->alc_flags & ALC_FLAG_LINK) == 0) + return; + if (IFQ_IS_EMPTY(&ifp->if_snd)) + return; /* Reclaim transmitted frames. */ if (sc->alc_cdata.alc_tx_cnt >= ALC_TX_DESC_HIWAT) @@ -2021,9 +2027,7 @@ alc_watchdog(struct ifnet *ifp) printf("%s: watchdog timeout\n", device_xname(sc->sc_dev)); ifp->if_oerrors++; alc_init_backend(ifp, false); - - if (!IFQ_IS_EMPTY(&ifp->if_snd)) - alc_start(ifp); + alc_start(ifp); } static int @@ -2089,13 +2093,13 @@ alc_stats_clear(struct alc_softc *sc) if ((sc->alc_flags & ALC_FLAG_SMB_BUG) == 0) { bus_dmamap_sync(sc->sc_dmat, sc->alc_cdata.alc_smb_map, 0, sc->alc_cdata.alc_smb_map->dm_mapsize, - BUS_DMASYNC_POSTREAD); + BUS_DMASYNC_POSTREAD | BUS_DMASYNC_POSTWRITE); smb = sc->alc_rdata.alc_smb; /* Update done, clear. */ smb->updated = 0; bus_dmamap_sync(sc->sc_dmat, sc->alc_cdata.alc_smb_map, 0, sc->alc_cdata.alc_smb_map->dm_mapsize, - BUS_DMASYNC_PREWRITE); + BUS_DMASYNC_PREREAD | BUS_DMASYNC_PREWRITE); } else { for (reg = &sb.rx_frames, i = 0; reg <= &sb.rx_pkts_filtered; reg++) { @@ -2124,7 +2128,7 @@ alc_stats_update(struct alc_softc *sc) if ((sc->alc_flags & ALC_FLAG_SMB_BUG) == 0) { bus_dmamap_sync(sc->sc_dmat, sc->alc_cdata.alc_smb_map, 0, sc->alc_cdata.alc_smb_map->dm_mapsize, - BUS_DMASYNC_POSTREAD); + BUS_DMASYNC_POSTREAD | BUS_DMASYNC_POSTWRITE); smb = sc->alc_rdata.alc_smb; if (smb->updated == 0) return; @@ -2190,7 +2194,6 @@ alc_stats_update(struct alc_softc *sc) stat->tx_multi_colls += smb->tx_multi_colls; stat->tx_late_colls += smb->tx_late_colls; stat->tx_excess_colls += smb->tx_excess_colls; - stat->tx_abort += smb->tx_abort; stat->tx_underrun += smb->tx_underrun; stat->tx_desc_underrun += smb->tx_desc_underrun; stat->tx_lenerrs += smb->tx_lenerrs; @@ -2203,17 +2206,10 @@ alc_stats_update(struct alc_softc *sc) ifp->if_collisions += smb->tx_single_colls + smb->tx_multi_colls * 2 + smb->tx_late_colls + - smb->tx_abort * HDPX_CFG_RETRY_DEFAULT; + smb->tx_excess_colls * HDPX_CFG_RETRY_DEFAULT; - /* - * XXX - * tx_pkts_truncated counter looks suspicious. It constantly - * increments with no sign of Tx errors. This may indicate - * the counter name is not correct one so I've removed the - * counter in output errors. - */ - ifp->if_oerrors += smb->tx_abort + smb->tx_late_colls + - smb->tx_underrun; + ifp->if_oerrors += smb->tx_late_colls + smb->tx_excess_colls + + smb->tx_underrun + smb->tx_pkts_truncated; ifp->if_ipackets += smb->rx_frames; @@ -2226,7 +,8 @@ alc_stats_update(struct alc_softc *sc) /* Update done, clear. */ smb->updated = 0; bus_dmamap_sync(sc->sc_dmat, sc->alc_cdata.alc_smb_map, 0, - sc->alc_cdata.alc_smb_ma
CVS commit: src/distrib/notes/common
Module Name:src Committed By: leot Date: Thu Aug 13 13:21:04 UTC 2015 Modified Files: src/distrib/notes/common: main Log Message: Add myself. To generate a diff of this commit: cvs rdiff -u -r1.523 -r1.524 src/distrib/notes/common/main Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/distrib/notes/common/main diff -u src/distrib/notes/common/main:1.523 src/distrib/notes/common/main:1.524 --- src/distrib/notes/common/main:1.523 Wed Jul 8 08:48:19 2015 +++ src/distrib/notes/common/main Thu Aug 13 13:21:04 2015 @@ -1,4 +1,4 @@ -.\" $NetBSD: main,v 1.523 2015/07/08 08:48:19 kamil Exp $ +.\" $NetBSD: main,v 1.524 2015/08/13 13:21:04 leot Exp $ .\" .\" Copyright (c) 1999-2012 The NetBSD Foundation, Inc. .\" All rights reserved. @@ -1397,6 +1397,7 @@ If you're one of them, and would like to .It Ta Gr\('egoire Sutre Ta Mt gsu...@netbsd.org .It Ta Sergey Svishchev Ta Mt shatte...@netbsd.org .It Ta Robert Swindells Ta Mt r...@netbsd.org +.It Ta Leonardo Taccari Ta Mt l...@netbsd.org .It Ta Shin Takemura Ta Mt takem...@netbsd.org .It Ta TAMURA Kent Ta Mt k...@netbsd.org .It Ta Shin'ichiro TAYA Ta Mt t...@netbsd.org