CVS commit: src/sys

2020-05-30 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Sat May 30 08:41:23 UTC 2020

Modified Files:
src/sys/arch/amd64/include: ptrace.h
src/sys/arch/i386/include: ptrace.h
src/sys/kern: sys_ptrace_common.c

Log Message:
Introduce PTRACE_REGS_ALIGN, and on x86, enforce a 16-byte alignment, due
to fpregs having fxsave which requires 16-byte alignment.

Reported-by: syzbot+f44d47e617ebf7fda...@syzkaller.appspotmail.com


To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 src/sys/arch/amd64/include/ptrace.h
cvs rdiff -u -r1.25 -r1.26 src/sys/arch/i386/include/ptrace.h
cvs rdiff -u -r1.82 -r1.83 src/sys/kern/sys_ptrace_common.c

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



CVS commit: src/sys/uvm

2020-05-30 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Sat May 30 08:50:31 UTC 2020

Modified Files:
src/sys/uvm: uvm_map.c

Log Message:
Avoid passing file paths in panic strings, this results in extra long
output that is annoying and that syzbot classifies as independent reports
due to the instances having different build paths.


To generate a diff of this commit:
cvs rdiff -u -r1.383 -r1.384 src/sys/uvm/uvm_map.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/pci

2020-05-30 Thread Jaromir Dolecek
Module Name:src
Committed By:   jdolecek
Date:   Sat May 30 10:27:29 UTC 2020

Modified Files:
src/sys/dev/pci: amdpm.c

Log Message:
remove #if 0'ed pci_conf_print() call


To generate a diff of this commit:
cvs rdiff -u -r1.41 -r1.42 src/sys/dev/pci/amdpm.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/pci

2020-05-30 Thread Jaromir Dolecek
Module Name:src
Committed By:   jdolecek
Date:   Sat May 30 10:43:46 UTC 2020

Modified Files:
src/sys/dev/pci: pci_subr.c

Log Message:
change pci_conf_print() to allocate memory for the regs dynamically
instead of on-stack


To generate a diff of this commit:
cvs rdiff -u -r1.223 -r1.224 src/sys/dev/pci/pci_subr.c

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



CVS commit: src/distrib/evbarm/installimage

2020-05-30 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Sat May 30 12:36:37 UTC 2020

Modified Files:
src/distrib/evbarm/installimage: Makefile

Log Message:
Make room for debug sets


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/distrib/evbarm/installimage/Makefile

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



CVS commit: src/sys/dev/dtv

2020-05-30 Thread Jaromir Dolecek
Module Name:src
Committed By:   jdolecek
Date:   Sat May 30 13:15:10 UTC 2020

Modified Files:
src/sys/dev/dtv: dtv_demux.c

Log Message:
allocate memory for dtv_ts_section using kmem_alloc() in dtv_demux_read(),
instead of on-stack

XXX compile-tested only


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/sys/dev/dtv/dtv_demux.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/ic

2020-05-30 Thread Jaromir Dolecek
Module Name:src
Committed By:   jdolecek
Date:   Sat May 30 13:23:14 UTC 2020

Modified Files:
src/sys/dev/ic: wdc.c

Log Message:
fix wdcprobe_with_reset() to avoid allocating big structures on stack


To generate a diff of this commit:
cvs rdiff -u -r1.301 -r1.302 src/sys/dev/ic/wdc.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/amd64/conf

2020-05-30 Thread Jaromir Dolecek
Module Name:src
Committed By:   jdolecek
Date:   Sat May 30 13:35:31 UTC 2020

Modified Files:
src/sys/arch/amd64/conf: ALL

Log Message:
add bwfm* at pci?, which is present in GENERIC


To generate a diff of this commit:
cvs rdiff -u -r1.151 -r1.152 src/sys/arch/amd64/conf/ALL

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



CVS commit: src/sys/dev

2020-05-30 Thread Jaromir Dolecek
Module Name:src
Committed By:   jdolecek
Date:   Sat May 30 13:41:58 UTC 2020

Modified Files:
src/sys/dev/ic: bwfm.c bwfmvar.h
src/sys/dev/pci: if_bwfm_pci.c
src/sys/dev/sdmmc: if_bwfm_sdio.c

Log Message:
constify, and make static where possible


To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 src/sys/dev/ic/bwfm.c
cvs rdiff -u -r1.8 -r1.9 src/sys/dev/ic/bwfmvar.h
cvs rdiff -u -r1.7 -r1.8 src/sys/dev/pci/if_bwfm_pci.c
cvs rdiff -u -r1.16 -r1.17 src/sys/dev/sdmmc/if_bwfm_sdio.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/ic

2020-05-30 Thread Jaromir Dolecek
Module Name:src
Committed By:   jdolecek
Date:   Sat May 30 14:03:08 UTC 2020

Modified Files:
src/sys/dev/ic: bwfm.c

Log Message:
reduce stack usage in bwfm_rx_event_cb(), can use KM_SLEEP because
this is called from workqueue handler (i.e. thread context)


To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 src/sys/dev/ic/bwfm.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/wsfb

2020-05-30 Thread Jaromir Dolecek
Module Name:src
Committed By:   jdolecek
Date:   Sat May 30 14:15:43 UTC 2020

Modified Files:
src/sys/dev/wsfb: genfb.c

Log Message:
reduce stack usage in genfb_calc_hsize()


To generate a diff of this commit:
cvs rdiff -u -r1.72 -r1.73 src/sys/dev/wsfb/genfb.c

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



CVS commit: src

2020-05-30 Thread Mindaugas Rasiukevicius
Module Name:src
Committed By:   rmind
Date:   Sat May 30 14:16:57 UTC 2020

Modified Files:
src/lib/libnpf: libnpf.3 npf.c npf.h
src/sys/net/npf: files.npf npf.c npf.h npf_alg.c npf_alg_icmp.c
npf_conf.c npf_conn.c npf_conn.h npf_conndb.c npf_connkey.c
npf_ctl.c npf_ext_log.c npf_ext_normalize.c npf_ext_rndblock.c
npf_handler.c npf_if.c npf_ifaddr.c npf_impl.h npf_inet.c
npf_mbuf.c npf_nat.c npf_os.c npf_params.c npf_portmap.c
npf_rproc.c npf_ruleset.c npf_sendpkt.c npf_state.c npf_state_tcp.c
npf_tableset.c npf_worker.c npfkern.h
src/usr.sbin/npf: npf-params.7
src/usr.sbin/npf/npfctl: Makefile npf.conf.5 npf_bpf_comp.c npf_build.c
npf_parse.y npf_scan.l npf_show.c npf_var.c npf_var.h npfctl.8
npfctl.c npfctl.h
src/usr.sbin/npf/npftest: npftest.c npftest.conf npftest.h
src/usr.sbin/npf/npftest/libnpftest: Makefile npf_mbuf_subr.c
npf_nat_test.c npf_state_test.c npf_test.h npf_test_subr.c
Added Files:
src/usr.sbin/npf/npfctl: npf_cmd.c
src/usr.sbin/npf/npftest/libnpftest: npf_gc_test.c
Removed Files:
src/usr.sbin/npf/npftest/libnpftest: npf_conn_test.c

Log Message:
Major NPF improvements (merge from upstream):

- Switch to the C11-style atomic primitives using atomic_loadstore(9).

- npfkern: introduce the 'state.key.interface' and 'state.key.direction'
  settings.  Users can now choose whether the connection state should be
  strictly per-interface or global at the configuration level.  Keep NAT
  logic to be always per-interface, though.

- npfkern: rewrite the G/C worker logic and make it self-tuning.

- npfkern and libnpf: multiple bug fixes; add param exporting; introduce
  more parameters.  Remove npf_nvlist_{copyin,copyout}() functions and
  refactor npfctl_load_nvlist() with others; add npfctl_run_op() to have
  a single entry point for operations.  Introduce npf_flow_t and clean up
  some code.

- npfctl: lots of fixes for the 'npfctl show' logic; make 'npfctl list'
  more informative; misc usability improvements and more user-friendly
  error messages.

- Amend and improve the manual pages.


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/lib/libnpf/libnpf.3
cvs rdiff -u -r1.48 -r1.49 src/lib/libnpf/npf.c
cvs rdiff -u -r1.38 -r1.39 src/lib/libnpf/npf.h
cvs rdiff -u -r1.22 -r1.23 src/sys/net/npf/files.npf \
src/sys/net/npf/npf_state.c
cvs rdiff -u -r1.42 -r1.43 src/sys/net/npf/npf.c
cvs rdiff -u -r1.62 -r1.63 src/sys/net/npf/npf.h
cvs rdiff -u -r1.21 -r1.22 src/sys/net/npf/npf_alg.c \
src/sys/net/npf/npf_sendpkt.c
cvs rdiff -u -r1.32 -r1.33 src/sys/net/npf/npf_alg_icmp.c
cvs rdiff -u -r1.16 -r1.17 src/sys/net/npf/npf_conf.c \
src/sys/net/npf/npf_ext_log.c
cvs rdiff -u -r1.31 -r1.32 src/sys/net/npf/npf_conn.c
cvs rdiff -u -r1.19 -r1.20 src/sys/net/npf/npf_conn.h \
src/sys/net/npf/npf_rproc.c
cvs rdiff -u -r1.8 -r1.9 src/sys/net/npf/npf_conndb.c \
src/sys/net/npf/npf_ext_rndblock.c
cvs rdiff -u -r1.1 -r1.2 src/sys/net/npf/npf_connkey.c
cvs rdiff -u -r1.59 -r1.60 src/sys/net/npf/npf_ctl.c
cvs rdiff -u -r1.9 -r1.10 src/sys/net/npf/npf_ext_normalize.c
cvs rdiff -u -r1.48 -r1.49 src/sys/net/npf/npf_handler.c
cvs rdiff -u -r1.12 -r1.13 src/sys/net/npf/npf_if.c
cvs rdiff -u -r1.6 -r1.7 src/sys/net/npf/npf_ifaddr.c
cvs rdiff -u -r1.80 -r1.81 src/sys/net/npf/npf_impl.h
cvs rdiff -u -r1.56 -r1.57 src/sys/net/npf/npf_inet.c
cvs rdiff -u -r1.23 -r1.24 src/sys/net/npf/npf_mbuf.c
cvs rdiff -u -r1.49 -r1.50 src/sys/net/npf/npf_nat.c
cvs rdiff -u -r1.17 -r1.18 src/sys/net/npf/npf_os.c
cvs rdiff -u -r1.2 -r1.3 src/sys/net/npf/npf_params.c
cvs rdiff -u -r1.4 -r1.5 src/sys/net/npf/npf_portmap.c \
src/sys/net/npf/npfkern.h
cvs rdiff -u -r1.50 -r1.51 src/sys/net/npf/npf_ruleset.c
cvs rdiff -u -r1.20 -r1.21 src/sys/net/npf/npf_state_tcp.c
cvs rdiff -u -r1.34 -r1.35 src/sys/net/npf/npf_tableset.c
cvs rdiff -u -r1.7 -r1.8 src/sys/net/npf/npf_worker.c
cvs rdiff -u -r1.3 -r1.4 src/usr.sbin/npf/npf-params.7
cvs rdiff -u -r1.14 -r1.15 src/usr.sbin/npf/npfctl/Makefile
cvs rdiff -u -r1.90 -r1.91 src/usr.sbin/npf/npfctl/npf.conf.5
cvs rdiff -u -r1.15 -r1.16 src/usr.sbin/npf/npfctl/npf_bpf_comp.c
cvs rdiff -u -r1.54 -r1.55 src/usr.sbin/npf/npfctl/npf_build.c
cvs rdiff -u -r0 -r1.1 src/usr.sbin/npf/npfctl/npf_cmd.c
cvs rdiff -u -r1.50 -r1.51 src/usr.sbin/npf/npfctl/npf_parse.y
cvs rdiff -u -r1.31 -r1.32 src/usr.sbin/npf/npfctl/npf_scan.l \
src/usr.sbin/npf/npfctl/npf_show.c
cvs rdiff -u -r1.12 -r1.13 src/usr.sbin/npf/npfctl/npf_var.c
cvs rdiff -u -r1.9 -r1.10 src/usr.sbin/npf/npfctl/npf_var.h
cvs rdiff -u -r1.24 -r1.25 src/usr.sbin/npf/npfctl/npfctl.8
cvs rdiff -u -r1.63 -r1.64 src/usr.sbin/npf/npfctl/npfctl.c
cvs rdiff -u -r1.52 -r1.53 src/usr.sbin/npf/npfctl/npfctl.h
cvs rdiff -u -r1.24 -r1.25 src/usr.sbin/npf/npftest/npftest.c
cvs rdiff -u -r1.8 -r1.9 src/usr.sbin/npf/npftest/npftest.conf
cvs 

CVS commit: src/sys/dev

2020-05-30 Thread Jaromir Dolecek
Module Name:src
Committed By:   jdolecek
Date:   Sat May 30 15:55:47 UTC 2020

Modified Files:
src/sys/dev/ic: bwfm.c bwfmvar.h
src/sys/dev/pci: if_bwfm_pci.c
src/sys/dev/sdmmc: if_bwfm_sdio.c

Log Message:
discussed with thorpej@, and it seems it's better to allocate the bss
alignment buffer statically (as part of softc) just to be sure to not
affect performance


To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.25 src/sys/dev/ic/bwfm.c
cvs rdiff -u -r1.9 -r1.10 src/sys/dev/ic/bwfmvar.h
cvs rdiff -u -r1.8 -r1.9 src/sys/dev/pci/if_bwfm_pci.c
cvs rdiff -u -r1.17 -r1.18 src/sys/dev/sdmmc/if_bwfm_sdio.c

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



CVS commit: src/lib/libterminfo

2020-05-30 Thread Roy Marples
Module Name:src
Committed By:   roy
Date:   Sat May 30 16:03:58 UTC 2020

Modified Files:
src/lib/libterminfo: curterm.c

Log Message:
terminfo: test strlcpy result against space free, not string length

riastradh@ yep, looks good.


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/lib/libterminfo/curterm.c

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



CVS commit: src/sys/kern

2020-05-30 Thread Jason R Thorpe
Module Name:src
Committed By:   thorpej
Date:   Sat May 30 16:12:56 UTC 2020

Modified Files:
src/sys/kern: core_elf32.c

Log Message:
coredump_note_elf{32,64}(): avoid allcating register state buffers on
the stack; they could be large.


To generate a diff of this commit:
cvs rdiff -u -r1.63 -r1.64 src/sys/kern/core_elf32.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/pci

2020-05-30 Thread Jason R Thorpe
Module Name:src
Committed By:   thorpej
Date:   Sat May 30 16:35:02 UTC 2020

Modified Files:
src/sys/dev/pci: if_gem_pci.c

Log Message:
gem_pci_attach(): avoid allocating a 2K buffer on the stack.


To generate a diff of this commit:
cvs rdiff -u -r1.50 -r1.51 src/sys/dev/pci/if_gem_pci.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/man9

2020-05-30 Thread Jaromir Dolecek
Module Name:src
Committed By:   jdolecek
Date:   Sat May 30 17:12:01 UTC 2020

Modified Files:
src/share/man/man9: malloc.9

Log Message:
remove M_SOFTDEP from list of supported malloc types, it's long gone

also remove M_PCB - while it is used by SCTP, it's actually not defined
anywhere

in fact add new NOTES section explaining that the malloc types are
actually not used on NetBSD


To generate a diff of this commit:
cvs rdiff -u -r1.55 -r1.56 src/share/man/man9/malloc.9

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



CVS commit: src/share/man/man9

2020-05-30 Thread Jaromir Dolecek
Module Name:src
Committed By:   jdolecek
Date:   Sat May 30 17:18:22 UTC 2020

Modified Files:
src/share/man/man9: malloc.9

Log Message:
slightly improve sentence, no need to 'Note' when in NOTES section


To generate a diff of this commit:
cvs rdiff -u -r1.56 -r1.57 src/share/man/man9/malloc.9

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-05-30 Thread Jonathan A. Kollasch
Module Name:src
Committed By:   jakllsch
Date:   Sat May 30 17:19:45 UTC 2020

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

Log Message:
aubtfwl(4): Use kmem_asprintf() for firmware file name creation.

A MAXPATHLEN+1 array of char on stack is "too much".


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/sys/dev/usb/aubtfwl.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/aarch64

2020-05-30 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Sat May 30 17:50:39 UTC 2020

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

Log Message:
sctlr_el1 and ctr_el0 are 64-bit registers


To generate a diff of this commit:
cvs rdiff -u -r1.45 -r1.46 src/sys/arch/aarch64/aarch64/cpu.c

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



CVS commit: src/sys/kern

2020-05-30 Thread Andrew Doran
Module Name:src
Committed By:   ad
Date:   Sat May 30 18:06:17 UTC 2020

Modified Files:
src/sys/kern: vfs_cache.c

Log Message:
cache_lookup_linked():

- If the lookup fails return with the same lock held.  There's no bug here
  because either parent or child's lock is sufficient to prevent both from
  disappearing into thin air, but may as well be correct.

- if FSCRED is passed in then skip the auth check.


To generate a diff of this commit:
cvs rdiff -u -r1.144 -r1.145 src/sys/kern/vfs_cache.c

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



CVS commit: src/common/lib/libc/hash/sha3

2020-05-30 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Sat May 30 18:40:28 UTC 2020

Modified Files:
src/common/lib/libc/hash/sha3: sha3.c

Log Message:
Merge updates from upstream to reduce stack usage of SHA3_Selftest.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/common/lib/libc/hash/sha3/sha3.c

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



CVS commit: src/sys/rump/librump/rumpkern

2020-05-30 Thread Andrew Doran
Module Name:src
Committed By:   ad
Date:   Sat May 30 19:16:53 UTC 2020

Modified Files:
src/sys/rump/librump/rumpkern: lwproc.c

Log Message:
Fix a lock order reversal that caused hangs.


To generate a diff of this commit:
cvs rdiff -u -r1.50 -r1.51 src/sys/rump/librump/rumpkern/lwproc.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-05-30 Thread Jaromir Dolecek
Module Name:src
Committed By:   jdolecek
Date:   Sat May 30 19:23:25 UTC 2020

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

Log Message:
catch up with changes - need bwfmreg.h before bwfmvar.h


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/sys/dev/usb/if_bwfm_usb.c

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



CVS commit: src/share/mk

2020-05-30 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat May 30 19:51:32 UTC 2020

Modified Files:
src/share/mk: bsd.lib.mk

Log Message:
Allow LIBISPRIVATE to build a pic version of itself for embedding into
other shared libraries.


To generate a diff of this commit:
cvs rdiff -u -r1.381 -r1.382 src/share/mk/bsd.lib.mk

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



CVS commit: src/sys

2020-05-30 Thread Andrew Doran
Module Name:src
Committed By:   ad
Date:   Sat May 30 20:16:14 UTC 2020

Modified Files:
src/sys/kern: vfs_cache.c vfs_lookup.c
src/sys/sys: namei.src

Log Message:
A couple of small changes to lookup that cut 5-10% system time from
"build.sh release" on my test system:

- Crossing mount points during lookup is slow because the set up for, and
  act of doing VFS_ROOT() is quite involved.  Use the name cache to help
  with this.  Cache an "impossible" zero-length name with covered vnodes,
  that points to the root of the file system mounted there.  Use it to cross
  mounts.  When cache_purge() is called on either of the vnodes involved the
  cache entry will disappear.  All of the needed calls for that are already
  in place (vnode reclaim, unmount, etc).

- In lookup_fastforward(), if the the last component has been found and the
  parent directory (searchdir) is not going to be returned, then don't get a
  reference to it.


To generate a diff of this commit:
cvs rdiff -u -r1.145 -r1.146 src/sys/kern/vfs_cache.c
cvs rdiff -u -r1.220 -r1.221 src/sys/kern/vfs_lookup.c
cvs rdiff -u -r1.57 -r1.58 src/sys/sys/namei.src

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



CVS commit: src/sys

2020-05-30 Thread Andrew Doran
Module Name:src
Committed By:   ad
Date:   Sat May 30 20:16:34 UTC 2020

Modified Files:
src/sys/rump/include/rump: rump_namei.h
src/sys/sys: namei.h

Log Message:
Regen.


To generate a diff of this commit:
cvs rdiff -u -r1.45 -r1.46 src/sys/rump/include/rump/rump_namei.h
cvs rdiff -u -r1.112 -r1.113 src/sys/sys/namei.h

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



CVS commit: src/sys/kern

2020-05-30 Thread Andrew Doran
Module Name:src
Committed By:   ad
Date:   Sat May 30 20:23:25 UTC 2020

Modified Files:
src/sys/kern: vfs_lookup.c

Log Message:
Fix merge error - adjust assertions.


To generate a diff of this commit:
cvs rdiff -u -r1.221 -r1.222 src/sys/kern/vfs_lookup.c

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



CVS commit: src

2020-05-30 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat May 30 20:47:59 UTC 2020

Modified Files:
src/distrib/sets/lists/base: mi shl.mi
src/distrib/sets/lists/comp: mi shl.mi
src/distrib/sets/lists/debug: mi shl.mi
src/etc/mtree: NetBSD.dist.base
src/external/mit/libuv/lib: Makefile
src/external/mpl/bind: Makefile.inc
src/external/mpl/bind/lib/libisc: Makefile
src/external/mpl/dhcp: Makefile.inc
src/share/mk: bsd.README bsd.prog.mk
Added Files:
src/external/mpl/bind/lib/libisc: isc.map

Log Message:
Make libuv private, requested by joerg@


To generate a diff of this commit:
cvs rdiff -u -r1.1245 -r1.1246 src/distrib/sets/lists/base/mi
cvs rdiff -u -r1.889 -r1.890 src/distrib/sets/lists/base/shl.mi
cvs rdiff -u -r1.2330 -r1.2331 src/distrib/sets/lists/comp/mi
cvs rdiff -u -r1.333 -r1.334 src/distrib/sets/lists/comp/shl.mi
cvs rdiff -u -r1.312 -r1.313 src/distrib/sets/lists/debug/mi
cvs rdiff -u -r1.250 -r1.251 src/distrib/sets/lists/debug/shl.mi
cvs rdiff -u -r1.216 -r1.217 src/etc/mtree/NetBSD.dist.base
cvs rdiff -u -r1.1 -r1.2 src/external/mit/libuv/lib/Makefile
cvs rdiff -u -r1.7 -r1.8 src/external/mpl/bind/Makefile.inc
cvs rdiff -u -r1.11 -r1.12 src/external/mpl/bind/lib/libisc/Makefile
cvs rdiff -u -r0 -r1.1 src/external/mpl/bind/lib/libisc/isc.map
cvs rdiff -u -r1.7 -r1.8 src/external/mpl/dhcp/Makefile.inc
cvs rdiff -u -r1.404 -r1.405 src/share/mk/bsd.README
cvs rdiff -u -r1.329 -r1.330 src/share/mk/bsd.prog.mk

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



CVS commit: src/external/mit/libuv/lib

2020-05-30 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat May 30 20:54:46 UTC 2020

Modified Files:
src/external/mit/libuv/lib: Makefile

Log Message:
Create pic lib and don't install pkgconfig file.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/external/mit/libuv/lib/Makefile

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



CVS commit: src/sys/net/npf

2020-05-30 Thread Mindaugas Rasiukevicius
Module Name:src
Committed By:   rmind
Date:   Sat May 30 20:54:54 UTC 2020

Modified Files:
src/sys/net/npf: npf_worker.c

Log Message:
npf_worker_sys{init,fini}: initialize/destroy the exit_cv condvar.


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/sys/net/npf/npf_worker.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/npf/npftest/libnpftest

2020-05-30 Thread Mindaugas Rasiukevicius
Module Name:src
Committed By:   rmind
Date:   Sat May 30 21:00:31 UTC 2020

Modified Files:
src/usr.sbin/npf/npftest/libnpftest: npf_test_subr.c

Log Message:
npftest -- npf_test_init(): add a workaround for NetBSD.


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 \
src/usr.sbin/npf/npftest/libnpftest/npf_test_subr.c

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



CVS commit: src/sys/dev/pci

2020-05-30 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Sat May 30 21:39:49 UTC 2020

Modified Files:
src/sys/dev/pci: if_rge.c

Log Message:
Initialise sc->sc_dev, otherwise unnamed interfaces show up and things go
downhill from there.


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

2020-05-30 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Sat May 30 22:01:05 UTC 2020

Modified Files:
src/sys/dev/pci: if_rge.c

Log Message:
Switch from printf to aprintf_error/normal


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/sys/dev/pci/if_rge.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/pci

2020-05-30 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Sat May 30 22:27:55 UTC 2020

Modified Files:
src/sys/dev/pci: if_rgereg.h

Log Message:
Use device_t for sc_dev


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sys/dev/pci/if_rgereg.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/pci

2020-05-30 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Sat May 30 22:39:41 UTC 2020

Modified Files:
src/sys/dev/pci: if_rge.c

Log Message:
Use device_xname() to access dv_xname


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/sys/dev/pci/if_rge.c

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



CVS commit: src/external/bsd/ntp/dist

2020-05-30 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Sat May 30 23:52:10 UTC 2020

Modified Files:
src/external/bsd/ntp/dist/include: ntp_config.h
src/external/bsd/ntp/dist/ntpd: ntp_config.c

Log Message:
Don't define psl as common symbol, move it into the only file using it.


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/external/bsd/ntp/dist/include/ntp_config.h
cvs rdiff -u -r1.23 -r1.24 src/external/bsd/ntp/dist/ntpd/ntp_config.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/acpi

2020-05-30 Thread Andrew Doran
Module Name:src
Committed By:   ad
Date:   Sun May 31 01:39:33 UTC 2020

Modified Files:
src/sys/dev/acpi: acpi_cpu_cstate.c

Log Message:
Disable read of the ACPI timer during idle, fixing performance degradation
observed with acpicpu.  C1 (MWAIT) is the deepest sleep currently enabled so
there should be no functional change.  Also, the computed nap time is run
through hztoms() which seems incorrect as the ACPI timer is running in the
MHz range.


To generate a diff of this commit:
cvs rdiff -u -r1.60 -r1.61 src/sys/dev/acpi/acpi_cpu_cstate.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

2020-05-30 Thread Simon Burge
Module Name:src
Committed By:   simonb
Date:   Sun May 31 04:56:35 UTC 2020

Modified Files:
src/sys/arch/evbmips/cavium: autoconf.c
src/sys/arch/evbmips/conf: ERLITE
src/sys/arch/mips/cavium: octeon1p_iobus.c
src/sys/arch/mips/cavium/dev: octeon_dwctwo.c octeon_gmx.c octeon_mpi.c
octeon_rnm.c octeon_uart.c
src/sys/arch/mips/conf: files.octeon

Log Message:
Clean up Cavium Octeon device names.  Rename devices from "octeon_foo"
to "octfoo" - this follows the naming conventions used by many other
MIPS CPUs.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/sys/arch/evbmips/cavium/autoconf.c
cvs rdiff -u -r1.24 -r1.25 src/sys/arch/evbmips/conf/ERLITE
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/mips/cavium/octeon1p_iobus.c
cvs rdiff -u -r1.9 -r1.10 src/sys/arch/mips/cavium/dev/octeon_dwctwo.c \
src/sys/arch/mips/cavium/dev/octeon_gmx.c
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/mips/cavium/dev/octeon_mpi.c
cvs rdiff -u -r1.7 -r1.8 src/sys/arch/mips/cavium/dev/octeon_rnm.c
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/mips/cavium/dev/octeon_uart.c
cvs rdiff -u -r1.4 -r1.5 src/sys/arch/mips/conf/files.octeon

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



CVS commit: src/usr.sbin/bta2dpd/bta2dpd

2020-05-30 Thread Nathanial Sloss
Module Name:src
Committed By:   nat
Date:   Sun May 31 06:17:24 UTC 2020

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

Log Message:
Avoid running of the end of the array if a file cannot be opened.

Found by plunky@.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/usr.sbin/bta2dpd/bta2dpd/bta2dpd.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/mips/cavium/dev

2020-05-30 Thread Simon Burge
Module Name:src
Committed By:   simonb
Date:   Sun May 31 06:23:49 UTC 2020

Removed Files:
src/sys/arch/mips/cavium/dev: octeon_tim.c octeon_timreg.h

Log Message:
Remove unused Timer Unit register definitions and stubs.  Can be
resurrected from the attic in the unlikely event we'll ever have
a driver for this device.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r0 src/sys/arch/mips/cavium/dev/octeon_tim.c \
src/sys/arch/mips/cavium/dev/octeon_timreg.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/mips

2020-05-30 Thread Simon Burge
Module Name:src
Committed By:   simonb
Date:   Sun May 31 06:27:06 UTC 2020

Modified Files:
src/sys/arch/mips/cavium: octeon_intr.c octeon_iobus.c octeonvar.h
src/sys/arch/mips/cavium/dev: if_cnmac.c if_cnmacvar.h octeon_asx.c
octeon_asxvar.h octeon_ciu.c octeon_fau.c octeon_fauvar.h
octeon_fpa.c octeon_fpavar.h octeon_gmx.c octeon_gmxvar.h
octeon_ipd.c octeon_ipdvar.h octeon_mpi.c octeon_mpivar.h
octeon_pci.c octeon_pip.c octeon_pipvar.h octeon_pko.c
octeon_pkovar.h octeon_pow.c octeon_powvar.h octeon_rnm.c
octeon_smi.c octeon_smivar.h
src/sys/arch/mips/conf: files.octeon

Log Message:
Rename all Cavium Octeon device driver functions, structs etc from
"octeon_foo" to "octfoo", except "octeon_eth" becomes "cnmac".


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/sys/arch/mips/cavium/octeon_intr.c
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/mips/cavium/octeon_iobus.c
cvs rdiff -u -r1.7 -r1.8 src/sys/arch/mips/cavium/octeonvar.h
cvs rdiff -u -r1.18 -r1.19 src/sys/arch/mips/cavium/dev/if_cnmac.c
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/mips/cavium/dev/if_cnmacvar.h \
src/sys/arch/mips/cavium/dev/octeon_asx.c \
src/sys/arch/mips/cavium/dev/octeon_asxvar.h \
src/sys/arch/mips/cavium/dev/octeon_ciu.c \
src/sys/arch/mips/cavium/dev/octeon_fau.c \
src/sys/arch/mips/cavium/dev/octeon_fauvar.h \
src/sys/arch/mips/cavium/dev/octeon_ipdvar.h \
src/sys/arch/mips/cavium/dev/octeon_mpivar.h \
src/sys/arch/mips/cavium/dev/octeon_pipvar.h \
src/sys/arch/mips/cavium/dev/octeon_pko.c
cvs rdiff -u -r1.4 -r1.5 src/sys/arch/mips/cavium/dev/octeon_fpa.c
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/mips/cavium/dev/octeon_fpavar.h \
src/sys/arch/mips/cavium/dev/octeon_gmxvar.h \
src/sys/arch/mips/cavium/dev/octeon_mpi.c \
src/sys/arch/mips/cavium/dev/octeon_pip.c \
src/sys/arch/mips/cavium/dev/octeon_powvar.h \
src/sys/arch/mips/cavium/dev/octeon_smivar.h
cvs rdiff -u -r1.10 -r1.11 src/sys/arch/mips/cavium/dev/octeon_gmx.c
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/mips/cavium/dev/octeon_ipd.c \
src/sys/arch/mips/cavium/dev/octeon_pci.c \
src/sys/arch/mips/cavium/dev/octeon_pkovar.h \
src/sys/arch/mips/cavium/dev/octeon_smi.c
cvs rdiff -u -r1.5 -r1.6 src/sys/arch/mips/cavium/dev/octeon_pow.c
cvs rdiff -u -r1.8 -r1.9 src/sys/arch/mips/cavium/dev/octeon_rnm.c
cvs rdiff -u -r1.5 -r1.6 src/sys/arch/mips/conf/files.octeon

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