CVS commit: src/sys/dev/mii

2020-07-07 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Tue Jul  7 08:35:16 UTC 2020

Modified Files:
src/sys/dev/mii: tlphy.c

Log Message:
- Call tlphy_auto correctly.
- It's not required to do busy-wait by mii_phy_auto(sc, 1). Now there is
 no any PHY driver which calls mii_phy_auto(sc, 1).


To generate a diff of this commit:
cvs rdiff -u -r1.69 -r1.70 src/sys/dev/mii/tlphy.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dev/mii

2020-07-07 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Tue Jul  7 08:44:12 UTC 2020

Modified Files:
src/sys/dev/mii: ciphy.c igphy.c mii_physubr.c miivar.h tlphy.c
urlphy.c

Log Message:
- Remove the waitfor argument from mii_phy_auto().
- Whitespace fix.


To generate a diff of this commit:
cvs rdiff -u -r1.39 -r1.40 src/sys/dev/mii/ciphy.c
cvs rdiff -u -r1.33 -r1.34 src/sys/dev/mii/igphy.c
cvs rdiff -u -r1.90 -r1.91 src/sys/dev/mii/mii_physubr.c
cvs rdiff -u -r1.71 -r1.72 src/sys/dev/mii/miivar.h
cvs rdiff -u -r1.70 -r1.71 src/sys/dev/mii/tlphy.c
cvs rdiff -u -r1.35 -r1.36 src/sys/dev/mii/urlphy.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dev/usb

2020-07-07 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Tue Jul  7 10:02:17 UTC 2020

Modified Files:
src/sys/dev/usb: uhci.c

Log Message:
KASSERT polling or holding sc_lock in a few more places.

kern/52569: Entering ddb using USB keyboard panics with "locking against myself"


To generate a diff of this commit:
cvs rdiff -u -r1.303 -r1.304 src/sys/dev/usb/uhci.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [netbsd-9] src

2020-07-07 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Tue Jul  7 10:29:06 UTC 2020

Modified Files:
src/distrib/sets/lists/man [netbsd-9]: mi
src/share/man/man4 [netbsd-9]: Makefile
src/sys/arch/amd64/conf [netbsd-9]: ALL GENERIC XEN3_DOM0
src/sys/arch/evbarm/conf [netbsd-9]: GENERIC64
src/sys/arch/i386/conf [netbsd-9]: ALL GENERIC
src/sys/dev/pci [netbsd-9]: files.pci pcidevs
src/sys/net [netbsd-9]: ethertypes.h
Added Files:
src/share/man/man4 [netbsd-9]: aq.4
src/sys/dev/pci [netbsd-9]: if_aq.c

Log Message:
Pull up following revision(s) (requested by jmcneill in ticket #980):

sys/dev/pci/if_aq.c: revision 1.4
sys/dev/pci/if_aq.c: revision 1.5
sys/arch/amd64/conf/GENERIC: revision 1.553
sys/dev/pci/files.pci: revision 1.419
sys/arch/amd64/conf/XEN3_DOM0: revision 1.170
sys/dev/pci/if_aq.c: revision 1.9
share/man/man4/Makefile: revision 1.693
sys/dev/pci/pcidevs: revision 1.1411
share/man/man4/aq.4: revision 1.1
share/man/man4/aq.4: revision 1.3
sys/arch/i386/conf/ALL: revision 1.479
share/man/man4/aq.4: revision 1.4
sys/dev/pci/if_aq.c: revision 1.10
sys/dev/pci/files.pci: revision 1.421
sys/dev/pci/if_aq.c: revision 1.11
sys/dev/pci/if_aq.c: revision 1.12
sys/dev/pci/if_aq.c: revision 1.13
sys/dev/pci/if_aq.c: revision 1.14
sys/dev/pci/if_aq.c: revision 1.15
sys/dev/pci/if_aq.c: revision 1.16
sys/dev/pci/pcidevs: revision 1.1408
sys/arch/amd64/conf/ALL: revision 1.135
sys/net/ethertypes.h: revision 1.19
sys/arch/i386/conf/GENERIC: revision 1.1218
distrib/sets/lists/man/mi: revision 1.1668
sys/dev/pci/if_aq.c: revision 1.1
sys/dev/pci/if_aq.c: revision 1.2
sys/dev/pci/pcidevs: revision 1.1395
sys/dev/pci/if_aq.c: revision 1.3
sys/arch/evbarm/conf/GENERIC64: revision 1.125

Add the ETHERTYPE_QINQ for 802.1ad VLAN stacking

add Aquantia AQC 10G network adapters
add support Aquantia AQC seriese 10G network adapters.

this driver is based on the FreeBSD version 
https://github.com/Aquantia/aqtion-freebsd ,
but drastically rewritten for NetBSD.

add aq(4)

 Add Aquantia AQC100, AQC100S and D100.

add support VLAN HW filter

set/clear IFF_OACTIVE flag only on txring 0

make counters per queue

support internal PHY temperature sensor

Found by kUBSan:
- Use unsigned to avoid undefined behavior in aq_hw_init().
- Cast to unsigned to avoid undefined behavior in aq_set_mac_addr().

fix descriptions of register map in comment

return the ifmedia active status correctly even while the link is not up after 
attach.
pointed out by msaitoh@. thanks.

On FIBRE devices, there are times when linkstat interrupt doesn't occur?
reported from Andrius V. thanks.
- use polling instead of linkstat interrupt when FIBRE
- add AQ_FORCE_POLL_LINKSTAT options (not by default)

sort product table, and tabify

add support AQC100S and D100.
not tested, but they are probably the same as the AQC100.


To generate a diff of this commit:
cvs rdiff -u -r1.1649.2.6 -r1.1649.2.7 src/distrib/sets/lists/man/mi
cvs rdiff -u -r1.680.2.4 -r1.680.2.5 src/share/man/man4/Makefile
cvs rdiff -u -r0 -r1.4.2.2 src/share/man/man4/aq.4
cvs rdiff -u -r1.120.2.3 -r1.120.2.4 src/sys/arch/amd64/conf/ALL
cvs rdiff -u -r1.531.2.9 -r1.531.2.10 src/sys/arch/amd64/conf/GENERIC
cvs rdiff -u -r1.167.2.2 -r1.167.2.3 src/sys/arch/amd64/conf/XEN3_DOM0
cvs rdiff -u -r1.103.2.12 -r1.103.2.13 src/sys/arch/evbarm/conf/GENERIC64
cvs rdiff -u -r1.469.2.2 -r1.469.2.3 src/sys/arch/i386/conf/ALL
cvs rdiff -u -r1.1208.2.4 -r1.1208.2.5 src/sys/arch/i386/conf/GENERIC
cvs rdiff -u -r1.413.2.1 -r1.413.2.2 src/sys/dev/pci/files.pci
cvs rdiff -u -r0 -r1.17.2.2 src/sys/dev/pci/if_aq.c
cvs rdiff -u -r1.1383.2.7 -r1.1383.2.8 src/sys/dev/pci/pcidevs
cvs rdiff -u -r1.18 -r1.18.42.1 src/sys/net/ethertypes.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [netbsd-9] src/sys/dev/pci

2020-07-07 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Tue Jul  7 10:31:09 UTC 2020

Modified Files:
src/sys/dev/pci [netbsd-9]: pcidevs.h pcidevs_data.h

Log Message:
regen


To generate a diff of this commit:
cvs rdiff -u -r1.1371.2.7 -r1.1371.2.8 src/sys/dev/pci/pcidevs.h
cvs rdiff -u -r1.1370.2.7 -r1.1370.2.8 src/sys/dev/pci/pcidevs_data.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [netbsd-9] src/usr.bin/m4

2020-07-07 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Tue Jul  7 10:40:46 UTC 2020

Modified Files:
src/usr.bin/m4 [netbsd-9]: extern.h m4.1 main.c trace.c

Log Message:
Pull up following revision(s) (requested by uwe in ticket #981):

usr.bin/m4/m4.1: revision 1.28
usr.bin/m4/m4.1: revision 1.29
usr.bin/m4/extern.h: revision 1.20
usr.bin/m4/main.c: revision 1.49
usr.bin/m4/m4.1: revision 1.30
usr.bin/m4/trace.c: revision 1.9
usr.bin/m4/main.c: revision 1.50

Try not to lose error output with --error-output.

Try to avoid the trap we set up ourselves while avoiding freopen(3).
When exit flushes and closes open streams it may close sfp first and
when it comes about to flush and close stderr, the descriptor is
already gone and we lose any buffered error output.  This actually
happens on some hosts, breaking --trace output used by autoconf.

Fix --error-output to be more like GNU m4.

GNU m4 --error-output is the same as -o despite the name.  It does NOT
affect warnings, error messages, and 'errprint' output so drop the
misguided bit of code that tried to freopen stderr without closing it
on failure.  Drop -e (which was our local invention) and make merge
--error-output with -o so that both set traceout.  Make trace_file()
preserve the old traceout on error and return error status so that the
caller can emit appropriate warning.

Do not yet support disabling tracing with an empty name, the rest of
the code is not ready, we don't do -o positionally and we don't have
`debugfile'.

Fix --error-output to be more like GNU m4.  It's a long version of -o.

Bump date for previous.

Use a date that is actually a real date.


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.19.18.1 src/usr.bin/m4/extern.h
cvs rdiff -u -r1.27 -r1.27.18.1 src/usr.bin/m4/m4.1
cvs rdiff -u -r1.48 -r1.48.2.1 src/usr.bin/m4/main.c
cvs rdiff -u -r1.8 -r1.8.34.1 src/usr.bin/m4/trace.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [netbsd-9] src/usr.bin/w

2020-07-07 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Tue Jul  7 10:43:00 UTC 2020

Modified Files:
src/usr.bin/w [netbsd-9]: w.c

Log Message:
Pull up following revision(s) (requested by kim in ticket #982):

usr.bin/w/w.c: revision 1.87

Don't overwrite host_buf as x might be pointing to wanted data in it


To generate a diff of this commit:
cvs rdiff -u -r1.84.2.1 -r1.84.2.2 src/usr.bin/w/w.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [netbsd-8] src/usr.bin/w

2020-07-07 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Tue Jul  7 10:44:11 UTC 2020

Modified Files:
src/usr.bin/w [netbsd-8]: w.c

Log Message:
Pull up following revision(s) (requested by kim in ticket #1565):

usr.bin/w/w.c: revision 1.87

Don't overwrite host_buf as x might be pointing to wanted data in it


To generate a diff of this commit:
cvs rdiff -u -r1.83.6.1 -r1.83.6.2 src/usr.bin/w/w.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [netbsd-9] src/sys/dev/pci

2020-07-07 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Tue Jul  7 10:46:27 UTC 2020

Modified Files:
src/sys/dev/pci [netbsd-9]: auixp.c

Log Message:
Pull up following revision(s) (requested by isaki in ticket #983):

sys/dev/pci/auixp.c: revision 1.50

Fix an argument passes to auixp_intr().

This is rest of rev 1.39 (split device_t/softc) in 2012.
Problem reported and tested by Riccardo Mottola.


To generate a diff of this commit:
cvs rdiff -u -r1.47.2.1 -r1.47.2.2 src/sys/dev/pci/auixp.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [netbsd-9] src/sys/arch/sun3/conf

2020-07-07 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Tue Jul  7 10:49:11 UTC 2020

Modified Files:
src/sys/arch/sun3/conf [netbsd-9]: DISKLESS DISKLESS3X GENERIC
GENERIC3X INSTALL INSTALL3X RAMDISK RAMDISK3X

Log Message:
Pull up following revision(s) (requested by tsutsui in ticket #984):

sys/arch/sun3/conf/DISKLESS3X: revision 1.61
sys/arch/sun3/conf/GENERIC3X: revision 1.135
sys/arch/sun3/conf/INSTALL3X: revision 1.61
sys/arch/sun3/conf/INSTALL: revision 1.62
sys/arch/sun3/conf/DISKLESS: revision 1.77
sys/arch/sun3/conf/GENERIC: revision 1.182
sys/arch/sun3/conf/RAMDISK3X: revision 1.44
sys/arch/sun3/conf/RAMDISK: revision 1.56

Use "-fno-unwind-tables" to shrink binaries more.

sun3 GENERIC -Os
   textdata bss dec hex filename
1762862   75292   93032 1931186  1d77b2 netbsd
sun3 GENERIC -Os -fno-unwind-tables
   textdata bss dec hex filename
1545726   75292   93032 1714050  1a2782 netbsd

GENERIC is tested on TME.


To generate a diff of this commit:
cvs rdiff -u -r1.76 -r1.76.4.1 src/sys/arch/sun3/conf/DISKLESS
cvs rdiff -u -r1.60 -r1.60.4.1 src/sys/arch/sun3/conf/DISKLESS3X \
src/sys/arch/sun3/conf/INSTALL3X
cvs rdiff -u -r1.181 -r1.181.2.1 src/sys/arch/sun3/conf/GENERIC
cvs rdiff -u -r1.134 -r1.134.2.1 src/sys/arch/sun3/conf/GENERIC3X
cvs rdiff -u -r1.61 -r1.61.4.1 src/sys/arch/sun3/conf/INSTALL
cvs rdiff -u -r1.55 -r1.55.4.1 src/sys/arch/sun3/conf/RAMDISK
cvs rdiff -u -r1.43 -r1.43.4.1 src/sys/arch/sun3/conf/RAMDISK3X

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/bsd/nvi/dist/vi

2020-07-07 Thread Rin Okuyama
Module Name:src
Committed By:   rin
Date:   Tue Jul  7 10:58:43 UTC 2020

Modified Files:
src/external/bsd/nvi/dist/vi: v_txt.c

Log Message:
PR bin/55468

Fix crash due to out-of-bounds access with Ctrl-W.

PR is only for nottywerase, but also fix ttywerase case, taken from
OpenBSD via nvi2:

http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.bin/vi/vi/v_txt.c#rev1.23
https://github.com/lichray/nvi2/commit/5d5365d3585f45651f9b4a366391798a91393337

Also, comment there is no worry for altwerase specific code, which
seems suspicious at a glance.

Reported by Azuma OKAMOTO.
Thanks for detailed explanation how to reproduce the problem!


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/external/bsd/nvi/dist/vi/v_txt.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [netbsd-9] src/sys/netinet

2020-07-07 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Tue Jul  7 11:00:54 UTC 2020

Modified Files:
src/sys/netinet [netbsd-9]: tcp_input.c

Log Message:
Pull up following revision(s) (requested by christos in ticket #985):

sys/netinet/tcp_input.c: revision 1.418

- always set both ip and ip6, otherwise a kernel assertion can be triggered
- move alignment early so that we do less work


To generate a diff of this commit:
cvs rdiff -u -r1.414.2.1 -r1.414.2.2 src/sys/netinet/tcp_input.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [netbsd-8] src/sys/netinet

2020-07-07 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Tue Jul  7 11:56:57 UTC 2020

Modified Files:
src/sys/netinet [netbsd-8]: tcp_input.c

Log Message:
Pull up following revision(s) (requested by christos in ticket #1566):

sys/netinet/tcp_input.c: revision 1.418 (via patch)

- always set both ip and ip6, otherwise a kernel assertion can be triggered
- move alignment early so that we do less work


To generate a diff of this commit:
cvs rdiff -u -r1.357.4.3 -r1.357.4.4 src/sys/netinet/tcp_input.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/postinstall

2020-07-07 Thread Simon Burge
Module Name:src
Committed By:   simonb
Date:   Tue Jul  7 12:01:21 UTC 2020

Modified Files:
src/usr.sbin/postinstall: postinstall.in

Log Message:
Sort missing IDs (users and groups) by the numeric ID.


To generate a diff of this commit:
cvs rdiff -u -r1.30 -r1.31 src/usr.sbin/postinstall/postinstall.in

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [netbsd-9] src/sys/dev/pci

2020-07-07 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Tue Jul  7 12:02:29 UTC 2020

Modified Files:
src/sys/dev/pci [netbsd-9]: if_aq.c

Log Message:
Also pull up more cosmetic revisions to minimize diffs with HEAD, requested
by jmcneill in ticket #980:

sys/dev/pci/if_aq.c 1.8,1.17

constify, remove duplicate ;


To generate a diff of this commit:
cvs rdiff -u -r1.17.2.2 -r1.17.2.3 src/sys/dev/pci/if_aq.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [netbsd-9] src/lib/libcurses

2020-07-07 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Tue Jul  7 12:43:51 UTC 2020

Modified Files:
src/lib/libcurses [netbsd-9]: ins_wch.c ins_wstr.c insch.c insstr.c

Log Message:
Pull up following revision(s) (requested by uwe in ticket #986):

lib/libcurses/insch.c: revision 1.26
lib/libcurses/ins_wch.c: revision 1.15
lib/libcurses/ins_wstr.c: revision 1.15
lib/libcurses/insstr.c: revision 1.8

mvwins*(WINDOW *win, ...) functions - call wins* on win, not stdscr.
>From Naman Jain in PR lib/55460.


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.14.2.1 src/lib/libcurses/ins_wch.c \
src/lib/libcurses/ins_wstr.c
cvs rdiff -u -r1.25 -r1.25.2.1 src/lib/libcurses/insch.c
cvs rdiff -u -r1.7 -r1.7.2.1 src/lib/libcurses/insstr.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [netbsd-8] src/lib/libcurses

2020-07-07 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Tue Jul  7 12:48:42 UTC 2020

Modified Files:
src/lib/libcurses [netbsd-8]: ins_wch.c ins_wstr.c insch.c insstr.c

Log Message:
Pull up following revision(s) (requested by uwe in ticket #1567):

lib/libcurses/insch.c: revision 1.26
lib/libcurses/ins_wch.c: revision 1.15
lib/libcurses/ins_wstr.c: revision 1.15
lib/libcurses/insstr.c: revision 1.8

mvwins*(WINDOW *win, ...) functions - call wins* on win, not stdscr.
>From Naman Jain in PR lib/55460.


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.11.4.1 src/lib/libcurses/ins_wch.c \
src/lib/libcurses/ins_wstr.c
cvs rdiff -u -r1.23 -r1.23.6.1 src/lib/libcurses/insch.c
cvs rdiff -u -r1.5 -r1.5.6.1 src/lib/libcurses/insstr.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [netbsd-9] src/lib/libcurses

2020-07-07 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Tue Jul  7 12:51:19 UTC 2020

Modified Files:
src/lib/libcurses [netbsd-9]: get_wch.c getch.c

Log Message:
Pull up following revision(s) (requested by uwe in ticket #987):

lib/libcurses/get_wch.c: revision 1.24
lib/libcurses/getch.c: revision 1.75

Pads are not to be automatically refreshed on input.

X/Open Curses says in the documentation for newpad():
  Automatic refreshes of pads (e.g., from scrolling or echoing of
  input) do not occur.

And in the documentation for get*():
  If the current or specified window is not a pad, and it has been
  moved or modified since the last refresh operation, then it will be
  refreshed before another character is read.

>From Michael Forney in PR lib/55457


To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.23.2.1 src/lib/libcurses/get_wch.c
cvs rdiff -u -r1.73 -r1.73.2.1 src/lib/libcurses/getch.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/powerpc/oea

2020-07-07 Thread Rin Okuyama
Module Name:src
Committed By:   rin
Date:   Tue Jul  7 13:57:20 UTC 2020

Modified Files:
src/sys/arch/powerpc/oea: ofw_rascons.c

Log Message:
rascons_init_rasops(): Initialize color palette only for macppc.
Fix build failure for ofppc.


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 src/sys/arch/powerpc/oea/ofw_rascons.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/bin/ls

2020-07-07 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Tue Jul  7 14:29:07 UTC 2020

Modified Files:
src/bin/ls: ls.c

Log Message:
Fix skipping of directories that begin with a '.' in -R mode.
It is not enough to avoid displaying the contents of the directory,
we need to set FTS_SKIP to avoid descending into any subdirs too.
Otherwise, if a ".foo" directory has a subdirectory "bar", ls will
descend into bar and display its contents. From Todd Miller


To generate a diff of this commit:
cvs rdiff -u -r1.76 -r1.77 src/bin/ls/ls.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys

2020-07-07 Thread Jason R Thorpe
Module Name:src
Committed By:   thorpej
Date:   Tue Jul  7 16:14:23 UTC 2020

Modified Files:
src/sys/arch/x86/x86: x86_autoconf.c
src/sys/dev/i2c: i2c.c i2cvar.h

Log Message:
whitelist -> permitlist


To generate a diff of this commit:
cvs rdiff -u -r1.82 -r1.83 src/sys/arch/x86/x86/x86_autoconf.c
cvs rdiff -u -r1.74 -r1.75 src/sys/dev/i2c/i2c.c
cvs rdiff -u -r1.19 -r1.20 src/sys/dev/i2c/i2cvar.h

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

2020-07-07 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Tue Jul  7 16:37:18 UTC 2020

Modified Files:
src/doc [netbsd-9]: CHANGES-9.1

Log Message:
Tickets #980 - #987


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.71 -r1.1.2.72 src/doc/CHANGES-9.1

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [netbsd-9] src/external/bsd/nvi/dist/vi

2020-07-07 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Tue Jul  7 19:50:12 UTC 2020

Modified Files:
src/external/bsd/nvi/dist/vi [netbsd-9]: v_txt.c

Log Message:
Pull up following revision(s) (requested by rin in ticket #988):

external/bsd/nvi/dist/vi/v_txt.c: revision 1.7

PR bin/55468

Fix crash due to out-of-bounds access with Ctrl-W.
PR is only for nottywerase, but also fix ttywerase case, taken from

OpenBSD via nvi2:
http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.bin/vi/vi/v_txt.c#rev1.23
https://github.com/lichray/nvi2/commit/5d5365d3585f45651f9b4a366391798a91393337

Also, comment there is no worry for altwerase specific code, which
seems suspicious at a glance.

Reported by Azuma OKAMOTO.

Thanks for detailed explanation how to reproduce the problem!


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.6.2.1 src/external/bsd/nvi/dist/vi/v_txt.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [netbsd-8] src/external/bsd/nvi/dist/vi

2020-07-07 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Tue Jul  7 19:55:23 UTC 2020

Modified Files:
src/external/bsd/nvi/dist/vi [netbsd-8]: v_txt.c

Log Message:
Pull up following revision(s) (requested by rin in ticket #1569):

external/bsd/nvi/dist/vi/v_txt.c: revision 1.7

PR bin/55468

Fix crash due to out-of-bounds access with Ctrl-W.
PR is only for nottywerase, but also fix ttywerase case, taken from

OpenBSD via nvi2:
http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.bin/vi/vi/v_txt.c#rev1.23
https://github.com/lichray/nvi2/commit/5d5365d3585f45651f9b4a366391798a91393337

Also, comment there is no worry for altwerase specific code, which
seems suspicious at a glance.

Reported by Azuma OKAMOTO.

Thanks for detailed explanation how to reproduce the problem!


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.4.22.1 src/external/bsd/nvi/dist/vi/v_txt.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [netbsd-8] src/doc

2020-07-07 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Tue Jul  7 19:58:25 UTC 2020

Modified Files:
src/doc [netbsd-8]: CHANGES-8.3

Log Message:
Tickets #1565, #1566, #1567, and #1569


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.17 -r1.1.2.18 src/doc/CHANGES-8.3

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [netbsd-9] src/usr.sbin/postinstall

2020-07-07 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Tue Jul  7 20:02:27 UTC 2020

Modified Files:
src/usr.sbin/postinstall [netbsd-9]: postinstall.in

Log Message:
Pull up following revision(s) (requested by simonb in ticket #989):

usr.sbin/postinstall/postinstall.in: revision 1.31

Sort missing IDs (users and groups) by the numeric ID.


To generate a diff of this commit:
cvs rdiff -u -r1.5.2.4 -r1.5.2.5 src/usr.sbin/postinstall/postinstall.in

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

2020-07-07 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Tue Jul  7 20:04:38 UTC 2020

Modified Files:
src/doc [netbsd-9]: CHANGES-9.1

Log Message:
Tickets #988 and #989


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.72 -r1.1.2.73 src/doc/CHANGES-9.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/sys_info

2020-07-07 Thread Jeremy C. Reed
Module Name:src
Committed By:   reed
Date:   Wed Jul  8 00:06:33 UTC 2020

Modified Files:
src/usr.bin/sys_info: README

Log Message:
Remove -a from example

(removed from script and manual in the 20170821 version)


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/usr.bin/sys_info/README

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/aarch64/aarch64

2020-07-07 Thread Ryo Shimizu
Module Name:src
Committed By:   ryo
Date:   Wed Jul  8 03:44:10 UTC 2020

Modified Files:
src/sys/arch/aarch64/aarch64: db_disasm.c

Log Message:
don't read memory directly.
In particular, userland memory may be unmapped at the time of reading.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/sys/arch/aarch64/aarch64/db_disasm.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/aarch64

2020-07-07 Thread Ryo Shimizu
Module Name:src
Committed By:   ryo
Date:   Wed Jul  8 03:45:13 UTC 2020

Modified Files:
src/sys/arch/aarch64/aarch64: db_disasm.c fault.c kobj_machdep.c trap.c
src/sys/arch/aarch64/include: db_machdep.h machdep.h

Log Message:
Determination of A64,A32,T32 for disasm is now done in strrdisasm() instead of 
the caller.
correctly disassemble by processor state if defined DEBUG_DUMP_ON_USERFAULT or 
DEBUG_DDB_ON_USERFAULT.


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/sys/arch/aarch64/aarch64/db_disasm.c
cvs rdiff -u -r1.13 -r1.14 src/sys/arch/aarch64/aarch64/fault.c
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/aarch64/aarch64/kobj_machdep.c
cvs rdiff -u -r1.30 -r1.31 src/sys/arch/aarch64/aarch64/trap.c
cvs rdiff -u -r1.9 -r1.10 src/sys/arch/aarch64/include/db_machdep.h
cvs rdiff -u -r1.13 -r1.14 src/sys/arch/aarch64/include/machdep.h

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/include/arm32

2020-07-07 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Wed Jul  8 06:54:57 UTC 2020

Modified Files:
src/sys/arch/arm/include/arm32: param.h

Log Message:
Whitespace


To generate a diff of this commit:
cvs rdiff -u -r1.30 -r1.31 src/sys/arch/arm/include/arm32/param.h

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/include/arm32

2020-07-07 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Wed Jul  8 06:58:33 UTC 2020

Modified Files:
src/sys/arch/arm/include/arm32: param.h

Log Message:
Define USPACE in terms of UPAGES (not the other way around) now that
NBPG is fixed at 4K


To generate a diff of this commit:
cvs rdiff -u -r1.31 -r1.32 src/sys/arch/arm/include/arm32/param.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.