CVS commit: src/bin/ps

2021-06-04 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Fri Jun  4 08:16:14 UTC 2021

Modified Files:
src/bin/ps: ps.1

Log Message:
Sort options in synopsis.


To generate a diff of this commit:
cvs rdiff -u -r1.111 -r1.112 src/bin/ps/ps.1

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



CVS commit: src/bin/ps

2021-06-04 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Fri Jun  4 08:17:53 UTC 2021

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

Log Message:
Sort options in usage.


To generate a diff of this commit:
cvs rdiff -u -r1.94 -r1.95 src/bin/ps/ps.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/audio

2021-06-04 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Fri Jun  4 08:57:05 UTC 2021

Modified Files:
src/sys/dev/audio: audio.c

Log Message:
audio(4): When closing /dev/audioN, drain before removing from list.

Previously, in revision 1.100, I factored the SLIST_REMOVE out of
audio_unlink and audio_close up into audioclose since it is now used
by /dev/audio, /dev/audioctl, and /dev/mixer alike.  But I didn't
realize that the order

1. audio_track_drain
2. SLIST_REMOVE from sc_files

was significant; it matters because audio_track_drain waits for
wakeups that are delivered by hardware interrupts only to files
listed in sc_files.

This also fixes a bug introduced with the audiobell -- it was missing
the SLIST_REMOVE altogether.

For now, duplicate the SLIST_REMOVE calls in a few more places --
this is suboptimal but I want to make sure the logic works before
factoring it all out to tidy up.


To generate a diff of this commit:
cvs rdiff -u -r1.102 -r1.103 src/sys/dev/audio/audio.c

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



CVS commit: src/sys/nfs

2021-06-04 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Fri Jun  4 10:44:59 UTC 2021

Modified Files:
src/sys/nfs: nfs.h nfs_export.c nfs_syscalls.c nfs_var.h

Log Message:
Add flag/command NFSSVC_REPLACEEXPORTSLIST to nfssvc(2) system call.

Works like NFSSVC_SETEXPORTSLIST but supports "mel_nexports > 1"
and will atomically update the complete exports list for a file system.


To generate a diff of this commit:
cvs rdiff -u -r1.78 -r1.79 src/sys/nfs/nfs.h
cvs rdiff -u -r1.62 -r1.63 src/sys/nfs/nfs_export.c
cvs rdiff -u -r1.162 -r1.163 src/sys/nfs/nfs_syscalls.c
cvs rdiff -u -r1.94 -r1.95 src/sys/nfs/nfs_var.h

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



CVS commit: src/usr.sbin/mountd

2021-06-04 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Fri Jun  4 10:46:01 UTC 2021

Modified Files:
src/usr.sbin/mountd: mountd.c

Log Message:
Restructure do_nfssvc() and simplify the left cases GT_HOST and GT_NET.

Add a helper add_export_arg() that emits a single export_args item and
does the IPv6 check.
Always use the path of the mount point for the export.


To generate a diff of this commit:
cvs rdiff -u -r1.134 -r1.135 src/usr.sbin/mountd/mountd.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

2021-06-04 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Fri Jun  4 10:46:11 UTC 2021

Modified Files:
src/sys/arch/m68k/conf: std.m68k
src/sys/arch/playstation2/conf: std.playstation2
src/sys/arch/sh3/conf: std.sh3
src/sys/arch/sparc/conf: std.sparc
src/sys/arch/vax/conf: std.vax

Log Message:
Sprinkle a few VMSWAP_DEFAULT_PLAINTEXT for architectures where we do not
have any spare cpu cycles to waste (encrypted swap still could be
enabled by the admin in /etc/sysctl.conf).


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/m68k/conf/std.m68k
cvs rdiff -u -r1.11 -r1.12 src/sys/arch/playstation2/conf/std.playstation2
cvs rdiff -u -r1.6 -r1.7 src/sys/arch/sh3/conf/std.sh3
cvs rdiff -u -r1.23 -r1.24 src/sys/arch/sparc/conf/std.sparc
cvs rdiff -u -r1.16 -r1.17 src/sys/arch/vax/conf/std.vax

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



CVS commit: src/usr.sbin/mountd

2021-06-04 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Fri Jun  4 10:46:57 UTC 2021

Modified Files:
src/usr.sbin/mountd: mountd.c

Log Message:
Change get_exportlist() to collect all exports and emit all
exports for a single mount in one call to nfssvc(2).

Should finally fix PR kern/5844 (NFS server sends "permission denied"
while mound re-read exports).


To generate a diff of this commit:
cvs rdiff -u -r1.135 -r1.136 src/usr.sbin/mountd/mountd.c

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



CVS commit: src/tests/fs/nfs

2021-06-04 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Fri Jun  4 10:48:07 UTC 2021

Modified Files:
src/tests/fs/nfs: t_mountd.c

Log Message:
Test "mountdhup" has to pass now.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/tests/fs/nfs/t_mountd.c

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



CVS commit: src/games/fortune/datfiles

2021-06-04 Thread Nia Alarie
Module Name:src
Committed By:   nia
Date:   Fri Jun  4 10:56:55 UTC 2021

Modified Files:
src/games/fortune/datfiles: netbsd-tips

Log Message:
add some tips


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 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.



CVS commit: src/games/fortune/datfiles

2021-06-04 Thread Nia Alarie
Module Name:src
Committed By:   nia
Date:   Fri Jun  4 11:18:31 UTC 2021

Modified Files:
src/games/fortune/datfiles: netbsd-tips

Log Message:
SIGINFO is a useful tip


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 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.



CVS commit: src/share/man/man8

2021-06-04 Thread Nia Alarie
Module Name:src
Committed By:   nia
Date:   Fri Jun  4 11:33:19 UTC 2021

Modified Files:
src/share/man/man8: afterboot.8

Log Message:
capitalization police, etc


To generate a diff of this commit:
cvs rdiff -u -r1.76 -r1.77 src/share/man/man8/afterboot.8

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



CVS commit: src/share/man/man8

2021-06-04 Thread Nia Alarie
Module Name:src
Committed By:   nia
Date:   Fri Jun  4 11:48:18 UTC 2021

Modified Files:
src/share/man/man8: afterboot.8

Log Message:
adjust layout of afterboot(8) to make things easier to find


To generate a diff of this commit:
cvs rdiff -u -r1.77 -r1.78 src/share/man/man8/afterboot.8

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



CVS commit: src/sbin/mount

2021-06-04 Thread Simon Burge
Module Name:src
Committed By:   simonb
Date:   Fri Jun  4 11:55:45 UTC 2021

Modified Files:
src/sbin/mount: mount.8 mount.c

Log Message:
Remove the warning about autoselecting nfs based on : or @.

Ok jmcneill@, mrg@.


To generate a diff of this commit:
cvs rdiff -u -r1.88 -r1.89 src/sbin/mount/mount.8
cvs rdiff -u -r1.103 -r1.104 src/sbin/mount/mount.c

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



CVS commit: src/share/man/man8

2021-06-04 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Fri Jun  4 11:56:47 UTC 2021

Modified Files:
src/share/man/man8: afterboot.8

Log Message:
Fix typo.


To generate a diff of this commit:
cvs rdiff -u -r1.78 -r1.79 src/share/man/man8/afterboot.8

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



CVS commit: src/share/man/man8

2021-06-04 Thread Nia Alarie
Module Name:src
Committed By:   nia
Date:   Fri Jun  4 12:12:02 UTC 2021

Modified Files:
src/share/man/man8: afterboot.8

Log Message:
re-order initial sections in the order a user is likely to be able
to address them. add a section on NPF. attempt to make various things
easier to find.


To generate a diff of this commit:
cvs rdiff -u -r1.79 -r1.80 src/share/man/man8/afterboot.8

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



CVS commit: src/share/man/man8

2021-06-04 Thread Nia Alarie
Module Name:src
Committed By:   nia
Date:   Fri Jun  4 12:29:33 UTC 2021

Modified Files:
src/share/man/man8: afterboot.8

Log Message:
remove empty anchor text


To generate a diff of this commit:
cvs rdiff -u -r1.80 -r1.81 src/share/man/man8/afterboot.8

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



CVS commit: src/share/man/man8

2021-06-04 Thread Nia Alarie
Module Name:src
Committed By:   nia
Date:   Fri Jun  4 12:43:14 UTC 2021

Modified Files:
src/share/man/man8: afterboot.8

Log Message:
actually, an anchor is needed so the period is appended


To generate a diff of this commit:
cvs rdiff -u -r1.81 -r1.82 src/share/man/man8/afterboot.8

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/aarch64/aarch64

2021-06-04 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Fri Jun  4 14:00:17 UTC 2021

Modified Files:
src/sys/arch/aarch64/aarch64 [netbsd-9]: aarch64_machdep.c

Log Message:
Pull up following revision(s) (requested by skrll in ticket #1278):

sys/arch/aarch64/aarch64/aarch64_machdep.c: revision 1.50
sys/arch/aarch64/aarch64/aarch64_machdep.c: revision 1.60
sys/arch/aarch64/aarch64/aarch64_machdep.c: revision 1.61

G/C

 -

More debug

 -

Two fixes for loading free pages into UVM

- Only consider a boot_physmem (inner loop) range that has its end
   (bp_end) after the bootconfig.dram (outer loop) range start (start).
   This was harmless as a later condition correctly checks there is only
   something to do if start < bp_end.

- Stop processing boot_physmem ranges if all the bootconfig.dram range has
   been passed to UVM.  This fixes a boot problem for simon@


To generate a diff of this commit:
cvs rdiff -u -r1.28.4.3 -r1.28.4.4 \
src/sys/arch/aarch64/aarch64/aarch64_machdep.c

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



CVS commit: src/tests/libexec/ld.elf_so/helper_ifunc_dso

2021-06-04 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Jun  4 15:37:48 UTC 2021

Modified Files:
src/tests/libexec/ld.elf_so/helper_ifunc_dso: h_helper_ifunc.c

Log Message:
PR/56230: Don't try to use ifunc with arm and oabi


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 \
src/tests/libexec/ld.elf_so/helper_ifunc_dso/h_helper_ifunc.c

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



CVS commit: src/distrib/common/bootimage

2021-06-04 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Fri Jun  4 17:09:36 UTC 2021

Modified Files:
src/distrib/common/bootimage: Makefile.bootimage

Log Message:
Check and remove a stale work file for UEFI images with incorrect size.

Fixes PR/56132 (build.sh target install-image fails in update-mode).


To generate a diff of this commit:
cvs rdiff -u -r1.26 -r1.27 src/distrib/common/bootimage/Makefile.bootimage

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



CVS commit: src/sys/arch/hp300/dev

2021-06-04 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Fri Jun  4 17:12:08 UTC 2021

Modified Files:
src/sys/arch/hp300/dev: rdvar.h

Log Message:
Consistently use #define as rdreg.h.


To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 src/sys/arch/hp300/dev/rdvar.h

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



CVS commit: src/usr.bin/xlint/common

2021-06-04 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Fri Jun  4 20:54:18 UTC 2021

Modified Files:
src/usr.bin/xlint/common: tyname.c

Log Message:
lint: fix typo in comment


To generate a diff of this commit:
cvs rdiff -u -r1.40 -r1.41 src/usr.bin/xlint/common/tyname.c

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



CVS commit: src/usr.bin/xlint/lint1

2021-06-04 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Fri Jun  4 21:12:10 UTC 2021

Modified Files:
src/usr.bin/xlint/lint1: ckgetopt.c

Log Message:
lint: fix function name in check for getopt

No functional change.


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/usr.bin/xlint/lint1/ckgetopt.c

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



CVS commit: src/bin/ps

2021-06-04 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Jun  4 22:39:41 UTC 2021

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

Log Message:
use parsenum like everywhere else in the code.


To generate a diff of this commit:
cvs rdiff -u -r1.95 -r1.96 src/bin/ps/ps.c

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



CVS commit: src/sbin/mount_chfs

2021-06-04 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Fri Jun  4 22:41:36 UTC 2021

Modified Files:
src/sbin/mount_chfs: mount_chfs.c mount_chfs.h

Log Message:
mount_chfs(8): Remove some vestiges of chewiefs name.

Add RCS id while here and nix some needless whitespace.

No functional change intended.

Patch from Andrius V.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sbin/mount_chfs/mount_chfs.c
cvs rdiff -u -r1.1 -r1.2 src/sbin/mount_chfs/mount_chfs.h

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



CVS commit: src/tests/lib/libcurses

2021-06-04 Thread Brett Lymn
Module Name:src
Committed By:   blymn
Date:   Fri Jun  4 23:07:39 UTC 2021

Modified Files:
src/tests/lib/libcurses: debug_test

Log Message:
Fix debug_test so it actually works and does not do damage
* disable blind clearing of /tmp.  The comment says this is needed for 
getwin/putwin
  those tests need to be looked at to correct this.
* remove invalid -I option from director arguments for now.
* fix paths to executables so debug_test will work with installed versions by 
default
  the previous version was using the src tree locations but basedir was wrong 
for that.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/tests/lib/libcurses/debug_test

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



CVS commit: src/sys/arch/x86/pci

2021-06-04 Thread NONAKA Kimihiro
Module Name:src
Committed By:   nonaka
Date:   Sat Jun  5 01:38:22 UTC 2021

Modified Files:
src/sys/arch/x86/pci: amdzentemp.c

Log Message:
amdzentemp(4): Add Zen 3 support.


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/sys/arch/x86/pci/amdzentemp.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/isa

2021-06-04 Thread NONAKA Kimihiro
Module Name:src
Committed By:   nonaka
Date:   Sat Jun  5 01:40:53 UTC 2021

Modified Files:
src/sys/dev/isa: itesio_isavar.h

Log Message:
Add IT8625 chip id.


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/sys/dev/isa/itesio_isavar.h

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



CVS commit: src/sys/dev/hpc

2021-06-04 Thread Rin Okuyama
Module Name:src
Committed By:   rin
Date:   Sat Jun  5 02:27:08 UTC 2021

Modified Files:
src/sys/dev/hpc: hpcfb.c

Log Message:
hpcfb_cnattach(): If fbconf == NULL, this is for early console output
(used for hpcmips/VR41xx machines), and wsdisplay_preattach() should be
used instead of wsdisplay_cnattach().

Fix KASSERT failure for double attach of wsdisplay, reported in port-mips.


To generate a diff of this commit:
cvs rdiff -u -r1.61 -r1.62 src/sys/dev/hpc/hpcfb.c

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



CVS commit: src/tests/lib/libcurses/check_files

2021-06-04 Thread Brett Lymn
Module Name:src
Committed By:   blymn
Date:   Sat Jun  5 06:11:09 UTC 2021

Modified Files:
src/tests/lib/libcurses/check_files: Makefile
Added Files:
src/tests/lib/libcurses/check_files: clear0.chk

Log Message:
Add new check file for the clear test.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/tests/lib/libcurses/check_files/Makefile
cvs rdiff -u -r0 -r1.1 src/tests/lib/libcurses/check_files/clear0.chk

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



CVS commit: src/tests/lib/libcurses/tests

2021-06-04 Thread Brett Lymn
Module Name:src
Committed By:   blymn
Date:   Sat Jun  5 06:13:37 UTC 2021

Modified Files:
src/tests/lib/libcurses/tests: clear

Log Message:
Decouple the clear test from the addstr test, they should not be linked
together because they are not really related.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/tests/lib/libcurses/tests/clear

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



CVS commit: src/tests/lib/libcurses

2021-06-04 Thread Brett Lymn
Module Name:src
Committed By:   blymn
Date:   Sat Jun  5 06:23:48 UTC 2021

Modified Files:
src/tests/lib/libcurses: chk_gen

Log Message:
Convert % into %% in input string so printf won't barf


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/tests/lib/libcurses/chk_gen

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



CVS commit: src/tests/fs/tmpfs

2021-06-04 Thread Andreas Gustafsson
Module Name:src
Committed By:   gson
Date:   Sat Jun  5 06:40:59 UTC 2021

Modified Files:
src/tests/fs/tmpfs: t_vnd.sh

Log Message:
Use the correct pathname when cleaning up the inner mount on test
failure.  Fixes the ATF crash reported in PR bin/56221, but not
the issue causing the test to fail in the first place.


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/tests/fs/tmpfs/t_vnd.sh

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