CVS commit: src/sys/arch/aarch64

2020-05-14 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Thu May 14 07:59:03 UTC 2020

Modified Files:
src/sys/arch/aarch64/aarch64: pmap.c
src/sys/arch/aarch64/include: pmap.h

Log Message:
Use MUTEX_NODEBUG for PV locks as is commonly done.  OK ryo.


To generate a diff of this commit:
cvs rdiff -u -r1.72 -r1.73 src/sys/arch/aarch64/aarch64/pmap.c
cvs rdiff -u -r1.38 -r1.39 src/sys/arch/aarch64/include/pmap.h

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



CVS commit: src/sys/compat/linux/common

2020-05-14 Thread Rin Okuyama
Module Name:src
Committed By:   rin
Date:   Thu May 14 08:26:29 UTC 2020

Modified Files:
src/sys/compat/linux/common: linux_sched.c

Log Message:
Fix previous; specify lwpid for curlpw in the case of pid == 0.

For linux_sys_sched_setaffinity, pid == 0 means the current thread.
On the other hand, for our native sys_sched_setaffinity, lid == 0
means all lwp's that belong to the process.


To generate a diff of this commit:
cvs rdiff -u -r1.76 -r1.77 src/sys/compat/linux/common/linux_sched.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-14 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Thu May 14 08:34:20 UTC 2020

Modified Files:
src/bin/sh: eval.c parser.c
src/common/lib/libc/gen: radixtree.c
src/crypto/dist/ipsec-tools/src/racoon: ipsec_doi.c
src/crypto/external/bsd/netpgp/dist/src/libverify: libverify.c
src/games/snake/snake: snake.c
src/lib/libcrypt: crypt-argon2.c pw_gensalt.c
src/sbin/fsck_lfs: segwrite.c
src/sbin/gpt: restore.c
src/sbin/ifconfig: af_inet.c
src/sbin/mount_portal: pt_filter.c
src/sbin/newfs_udf: udf_create.c
src/sys/arch/arm/imx: if_enet.c imx7_usb.c
src/sys/arch/arm/marvell: armadaxp.c pci_machdep.c
src/sys/arch/arm/omap: ti_iic.c
src/sys/arch/arm/s3c2xx0: s3c2440_extint.c
src/sys/arch/arm/sunxi: sunxi_usbphy.c
src/sys/arch/arm/ti: ti_iic.c
src/sys/arch/i386/stand/lib: exec_multiboot2.c
src/sys/arch/mips/rmi: rmixl_firmware.h
src/sys/dev: md.c
src/sys/dev/pci: if_aq.c if_ixl.c mfii.c
src/sys/dev/usb: if_urtwreg.h
src/sys/stand/efiboot: efienv.c
src/tests/fs/vfs: t_rwtoro.c
src/tests/lib/libppath: t_ppath.c
src/tests/lib/libpthread: t_thrd.c
src/tests/lib/librt: t_sem.c
src/usr.sbin/bta2dpd/bta2dpd: avdtp.c
src/usr.sbin/installboot: evboards.c

Log Message:
Remove extra semicolon.


To generate a diff of this commit:
cvs rdiff -u -r1.179 -r1.180 src/bin/sh/eval.c
cvs rdiff -u -r1.169 -r1.170 src/bin/sh/parser.c
cvs rdiff -u -r1.26 -r1.27 src/common/lib/libc/gen/radixtree.c
cvs rdiff -u -r1.51 -r1.52 src/crypto/dist/ipsec-tools/src/racoon/ipsec_doi.c
cvs rdiff -u -r1.9 -r1.10 \
src/crypto/external/bsd/netpgp/dist/src/libverify/libverify.c
cvs rdiff -u -r1.29 -r1.30 src/games/snake/snake/snake.c
cvs rdiff -u -r1.1 -r1.2 src/lib/libcrypt/crypt-argon2.c
cvs rdiff -u -r1.8 -r1.9 src/lib/libcrypt/pw_gensalt.c
cvs rdiff -u -r1.47 -r1.48 src/sbin/fsck_lfs/segwrite.c
cvs rdiff -u -r1.18 -r1.19 src/sbin/gpt/restore.c
cvs rdiff -u -r1.27 -r1.28 src/sbin/ifconfig/af_inet.c
cvs rdiff -u -r1.11 -r1.12 src/sbin/mount_portal/pt_filter.c
cvs rdiff -u -r1.27 -r1.28 src/sbin/newfs_udf/udf_create.c
cvs rdiff -u -r1.31 -r1.32 src/sys/arch/arm/imx/if_enet.c
cvs rdiff -u -r1.4 -r1.5 src/sys/arch/arm/imx/imx7_usb.c
cvs rdiff -u -r1.21 -r1.22 src/sys/arch/arm/marvell/armadaxp.c
cvs rdiff -u -r1.15 -r1.16 src/sys/arch/arm/marvell/pci_machdep.c
cvs rdiff -u -r1.11 -r1.12 src/sys/arch/arm/omap/ti_iic.c
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/arm/s3c2xx0/s3c2440_extint.c
cvs rdiff -u -r1.11 -r1.12 src/sys/arch/arm/sunxi/sunxi_usbphy.c
cvs rdiff -u -r1.4 -r1.5 src/sys/arch/arm/ti/ti_iic.c
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/i386/stand/lib/exec_multiboot2.c
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/mips/rmi/rmixl_firmware.h
cvs rdiff -u -r1.84 -r1.85 src/sys/dev/md.c
cvs rdiff -u -r1.16 -r1.17 src/sys/dev/pci/if_aq.c
cvs rdiff -u -r1.65 -r1.66 src/sys/dev/pci/if_ixl.c
cvs rdiff -u -r1.6 -r1.7 src/sys/dev/pci/mfii.c
cvs rdiff -u -r1.5 -r1.6 src/sys/dev/usb/if_urtwreg.h
cvs rdiff -u -r1.4 -r1.5 src/sys/stand/efiboot/efienv.c
cvs rdiff -u -r1.1 -r1.2 src/tests/fs/vfs/t_rwtoro.c
cvs rdiff -u -r1.1 -r1.2 src/tests/lib/libppath/t_ppath.c
cvs rdiff -u -r1.1 -r1.2 src/tests/lib/libpthread/t_thrd.c
cvs rdiff -u -r1.4 -r1.5 src/tests/lib/librt/t_sem.c
cvs rdiff -u -r1.3 -r1.4 src/usr.sbin/bta2dpd/bta2dpd/avdtp.c
cvs rdiff -u -r1.3 -r1.4 src/usr.sbin/installboot/evboards.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/xen/xen

2020-05-14 Thread Jaromir Dolecek
Module Name:src
Committed By:   jdolecek
Date:   Thu May 14 09:47:25 UTC 2020

Modified Files:
src/sys/arch/xen/xen: if_xennet_xenbus.c

Log Message:
rearrange so that suspend & resume doesn't cause panics, and interface
is more likely to work - particularly, don't try to xengnt_revoke_access()
after resume, move xen_intr_disestablish() call to resume, also
unmask the event channel on resume

XXX right now xennet device detaches immediately after resume, which is not
desirable and needs to be fixed

part of PR port-xen/55207


To generate a diff of this commit:
cvs rdiff -u -r1.124 -r1.125 src/sys/arch/xen/xen/if_xennet_xenbus.c

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



CVS commit: src/lib/libcurses

2020-05-14 Thread Simon Burge
Module Name:src
Committed By:   simonb
Date:   Thu May 14 11:50:05 UTC 2020

Modified Files:
src/lib/libcurses: getch.c

Log Message:
KNF nit.


To generate a diff of this commit:
cvs rdiff -u -r1.73 -r1.74 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/xen/xenbus

2020-05-14 Thread Jaromir Dolecek
Module Name:src
Committed By:   jdolecek
Date:   Thu May 14 13:18:55 UTC 2020

Modified Files:
src/sys/arch/xen/xenbus: xenbus_probe.c

Log Message:
fix compile when DPRINK() is defined


To generate a diff of this commit:
cvs rdiff -u -r1.53 -r1.54 src/sys/arch/xen/xenbus/xenbus_probe.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/xen/xen

2020-05-14 Thread Jaromir Dolecek
Module Name:src
Committed By:   jdolecek
Date:   Thu May 14 13:25:40 UTC 2020

Modified Files:
src/sys/arch/xen/xen: if_xennet_xenbus.c

Log Message:
fix resume for xennet, now the network continues working after resume

we can't read feature-rx-copy in resume, at that time the new backend
device is not filled yet; convert it just to feature flag read on interface
attach, can assume any backend would support rx-copy anyway

fix compile with XENNET_DEBUG

part of PR port-xen/55207


To generate a diff of this commit:
cvs rdiff -u -r1.125 -r1.126 src/sys/arch/xen/xen/if_xennet_xenbus.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-14 Thread Kamil Rytarowski
Module Name:src
Committed By:   kamil
Date:   Thu May 14 13:32:15 UTC 2020

Modified Files:
src/lib/libc/sys: ptrace.2
src/sys/kern: kern_sig.c sys_ptrace_common.c
src/sys/sys: ptrace.h signalvar.h

Log Message:
Introduce new ptrace(2) operations: PT_SET_SIGPASS and PT_GET_SIGPASS

They deliver the logic of bypassing selected signals directly to the
debuggee, without informing the debugger.

This can be used to implement the QPassSignals GDB/LLDB protocol.

This call can be useful to avoid signal races in ATF ptrace tests.


To generate a diff of this commit:
cvs rdiff -u -r1.83 -r1.84 src/lib/libc/sys/ptrace.2
cvs rdiff -u -r1.388 -r1.389 src/sys/kern/kern_sig.c
cvs rdiff -u -r1.79 -r1.80 src/sys/kern/sys_ptrace_common.c
cvs rdiff -u -r1.69 -r1.70 src/sys/sys/ptrace.h
cvs rdiff -u -r1.101 -r1.102 src/sys/sys/signalvar.h

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



CVS commit: src/sys/sys

2020-05-14 Thread Kamil Rytarowski
Module Name:src
Committed By:   kamil
Date:   Thu May 14 13:34:46 UTC 2020

Modified Files:
src/sys/sys: param.h

Log Message:
Welcome to 9.99.62

struct sigctx gained ps_sigpass member.


To generate a diff of this commit:
cvs rdiff -u -r1.664 -r1.665 src/sys/sys/param.h

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



CVS commit: src/doc

2020-05-14 Thread Kamil Rytarowski
Module Name:src
Committed By:   kamil
Date:   Thu May 14 13:37:52 UTC 2020

Modified Files:
src/doc: CHANGES

Log Message:
ptrace(2): Add PT_SET_SIGPASS and PT_GET_SIGPASS.


To generate a diff of this commit:
cvs rdiff -u -r1.2687 -r1.2688 src/doc/CHANGES

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



CVS commit: src/lib/libc/sys

2020-05-14 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Thu May 14 13:40:49 UTC 2020

Modified Files:
src/lib/libc/sys: ptrace.2

Log Message:
Use more markup.


To generate a diff of this commit:
cvs rdiff -u -r1.84 -r1.85 src/lib/libc/sys/ptrace.2

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



CVS commit: src/share/man/man7

2020-05-14 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Thu May 14 16:32:57 UTC 2020

Modified Files:
src/share/man/man7: src.7

Log Message:
- prune src/gnu and src/sys/netsmb
- add src/sys/netcan
- remove bogus statement about location of reachover Makefiles
- tweak language


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/share/man/man7/src.7

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

2020-05-14 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Thu May 14 16:57:53 UTC 2020

Modified Files:
src/sys/arch/amd64/amd64: db_machdep.c

Log Message:
Don't even try to go past a syscall. Fixes severe panic recursions in
KUBSAN.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/sys/arch/amd64/amd64/db_machdep.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-14 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Thu May 14 17:01:34 UTC 2020

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

Log Message:
KASSERT -> panic


To generate a diff of this commit:
cvs rdiff -u -r1.79 -r1.80 src/sys/kern/subr_kmem.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/pckbport

2020-05-14 Thread Nia Alarie
Module Name:src
Committed By:   nia
Date:   Thu May 14 18:06:58 UTC 2020

Modified Files:
src/sys/dev/pckbport: synaptics.c

Log Message:
synaptics: Don't reset the device multiple times in succession

Cherrypicked from a patch from an anonymous contributor.


To generate a diff of this commit:
cvs rdiff -u -r1.66 -r1.67 src/sys/dev/pckbport/synaptics.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-14 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Thu May 14 18:18:24 UTC 2020

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

Log Message:
Fix uninitialized memory access. Found by KMSAN.

Reported-by: syzbot+9f2a173d29d66c88f...@syzkaller.appspotmail.com


To generate a diff of this commit:
cvs rdiff -u -r1.203 -r1.204 src/sys/kern/kern_time.c

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



CVS commit: src/sys/stand/efiboot

2020-05-14 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Thu May 14 19:19:08 UTC 2020

Modified Files:
src/sys/stand/efiboot: Makefile.efiboot boot.c efiacpi.c
Added Files:
src/sys/stand/efiboot: efirng.c efirng.h

Log Message:
Draft logic to get at EFI RNG.


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/sys/stand/efiboot/Makefile.efiboot
cvs rdiff -u -r1.20 -r1.21 src/sys/stand/efiboot/boot.c
cvs rdiff -u -r1.6 -r1.7 src/sys/stand/efiboot/efiacpi.c
cvs rdiff -u -r0 -r1.1 src/sys/stand/efiboot/efirng.c \
src/sys/stand/efiboot/efirng.h

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



CVS commit: src/sys/stand/efiboot

2020-05-14 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Thu May 14 19:20:08 UTC 2020

Modified Files:
src/sys/stand/efiboot: efiboot.c efifdt.c efifdt.h exec.c

Log Message:
Pass EFI RNG output via /chosen/netbsd,efirng-{start,end}.

This is separate from /chosen/netbsd,rndseed-{start,end}, which
specifies NetBSD's persistent on-disk seed; efirng is the firmware's
RNG device.


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/sys/stand/efiboot/efiboot.c
cvs rdiff -u -r1.21 -r1.22 src/sys/stand/efiboot/efifdt.c
cvs rdiff -u -r1.7 -r1.8 src/sys/stand/efiboot/efifdt.h
cvs rdiff -u -r1.13 -r1.14 src/sys/stand/efiboot/exec.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/evbarm/fdt

2020-05-14 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Thu May 14 19:21:06 UTC 2020

Modified Files:
src/sys/arch/evbarm/fdt: fdt_machdep.c

Log Message:
Teach arm fdt kernel to use /chosen/netbsd,efirng data.

Feed it in as a separate random source, with zero entropy since this
is a best-effort fallback for devices we really don't know anything
about.


To generate a diff of this commit:
cvs rdiff -u -r1.68 -r1.69 src/sys/arch/evbarm/fdt/fdt_machdep.c

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



CVS commit: src/sys/stand/efiboot

2020-05-14 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Thu May 14 19:21:53 UTC 2020

Modified Files:
src/sys/stand/efiboot: efifdt.c

Log Message:
Deduplicate lazy /chosen node creation logic.


To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 src/sys/stand/efiboot/efifdt.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/libc/sys

2020-05-14 Thread Kamil Rytarowski
Module Name:src
Committed By:   kamil
Date:   Thu May 14 19:21:35 UTC 2020

Modified Files:
src/tests/lib/libc/sys: t_ptrace_fork_wait.h

Log Message:
Ignore interception of the SIGCHLD signals.

SIGCHLD once blocked is discarded by the kernel as it has the
SA_IGNORE property. During the fork(2) operation all signals can be
shortly blocked and missed (unless there is a registered signal
handler in the traced child). This leads to a race in this test if
there would be an intention to catch SIGCHLD.

Fixes PR lib/55241 by Andreas Gustafsson


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/tests/lib/libc/sys/t_ptrace_fork_wait.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/evbarm/fdt

2020-05-14 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Thu May 14 19:24:35 UTC 2020

Modified Files:
src/sys/arch/evbarm/fdt: fdt_machdep.c

Log Message:
Deduplicate address-range querying/mapping logic.


To generate a diff of this commit:
cvs rdiff -u -r1.69 -r1.70 src/sys/arch/evbarm/fdt/fdt_machdep.c

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



CVS commit: src/sys/stand/efiboot

2020-05-14 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Thu May 14 19:25:16 UTC 2020

Modified Files:
src/sys/stand/efiboot: version

Log Message:
Bump efiboot version to note EFI RNG support.


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/sys/stand/efiboot/version

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



CVS commit: src/sys/arch/evbarm/fdt

2020-05-14 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Thu May 14 19:26:28 UTC 2020

Modified Files:
src/sys/arch/evbarm/fdt: fdt_machdep.c

Log Message:
Free kva for rndseed and efirng when done.

The physical pages remain forever reserved because it's not convenient
to unreserve them at the moment after we reserved them during
fdt_build_bootconifg, but it's just two pages so not that big a deal.


To generate a diff of this commit:
cvs rdiff -u -r1.70 -r1.71 src/sys/arch/evbarm/fdt/fdt_machdep.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/xen/include

2020-05-14 Thread Jaromir Dolecek
Module Name:src
Committed By:   jdolecek
Date:   Thu May 14 19:36:03 UTC 2020

Modified Files:
src/sys/arch/xen/include: intr.h

Log Message:
xen_vec_alloc() is no more


To generate a diff of this commit:
cvs rdiff -u -r1.55 -r1.56 src/sys/arch/xen/include/intr.h

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

2020-05-14 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu May 14 20:10:34 UTC 2020

Modified Files:
src/sys/rump/librump/rumpvfs: rumpfs.c

Log Message:
PR/55102: Kamil Rytarowski: Remove fifo stuff duplicated in fifo_vnops.c


To generate a diff of this commit:
cvs rdiff -u -r1.158 -r1.159 src/sys/rump/librump/rumpvfs/rumpfs.c

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



CVS commit: src/doc

2020-05-14 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Thu May 14 21:13:46 UTC 2020

Modified Files:
src/doc: CHANGES

Log Message:
Note some random number generation updates.

Also note swap encryption in uvm.


To generate a diff of this commit:
cvs rdiff -u -r1.2688 -r1.2689 src/doc/CHANGES

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



CVS commit: src/sys/stand/efiboot

2020-05-14 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Thu May 14 23:09:29 UTC 2020

Modified Files:
src/sys/stand/efiboot: efirng.c

Log Message:
Make efi_rng_show return early if RNG protocol is not available. While
here, use efi_rng_available() consistently, prefix all show messages with
"RNG: ", and use sizeof(foo) instead of sizeof foo.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/stand/efiboot/efirng.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/rtadvd

2020-05-14 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu May 14 23:42:18 UTC 2020

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

Log Message:
If we could not lock the pid file, don't continue as we end up with multiple
rtadvd's (thanks roy@)


To generate a diff of this commit:
cvs rdiff -u -r1.77 -r1.78 src/usr.sbin/rtadvd/rtadvd.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/rumpvfs

2020-05-14 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri May 15 00:04:02 UTC 2020

Modified Files:
src/sys/rump/librump/rumpvfs: rumpfs.c

Log Message:
Undo previous, need to fix differently (fifofs is needed by other fs's and
fifo brings in rumpnet)


To generate a diff of this commit:
cvs rdiff -u -r1.159 -r1.160 src/sys/rump/librump/rumpvfs/rumpfs.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-14 Thread Tobias Nygren
Module Name:src
Committed By:   tnn
Date:   Fri May 15 01:43:47 UTC 2020

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

Log Message:
fix non-diag build


To generate a diff of this commit:
cvs rdiff -u -r1.73 -r1.74 src/sys/arch/aarch64/aarch64/pmap.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-05-14 Thread Ryo Shimizu
Module Name:src
Committed By:   ryo
Date:   Fri May 15 04:55:40 UTC 2020

Modified Files:
src/sys/arch/aarch64/aarch64: cpufunc.c genassym.cf locore.S
src/sys/arch/aarch64/include: cpufunc.h

Log Message:
SCTLR_EnIA should be enabled in the caller(locore).

For some reason, gcc make aarch64_pac_init() function non-leaf, and it uses 
paciasp/autiasp.


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/sys/arch/aarch64/aarch64/cpufunc.c
cvs rdiff -u -r1.23 -r1.24 src/sys/arch/aarch64/aarch64/genassym.cf
cvs rdiff -u -r1.59 -r1.60 src/sys/arch/aarch64/aarch64/locore.S
cvs rdiff -u -r1.13 -r1.14 src/sys/arch/aarch64/include/cpufunc.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/aarch64/aarch64

2020-05-14 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Fri May 15 05:39:15 UTC 2020

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

Log Message:
Use __diagused


To generate a diff of this commit:
cvs rdiff -u -r1.74 -r1.75 src/sys/arch/aarch64/aarch64/pmap.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/evbarm/fdt

2020-05-14 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Fri May 15 06:01:26 UTC 2020

Modified Files:
src/sys/arch/evbarm/fdt: fdt_machdep.c

Log Message:
Fix build on arm


To generate a diff of this commit:
cvs rdiff -u -r1.71 -r1.72 src/sys/arch/evbarm/fdt/fdt_machdep.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-05-14 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Fri May 15 06:15:42 UTC 2020

Modified Files:
src/sys/dev/usb: ehci.c ohci.c uhci.c usbdi.c
src/sys/external/bsd/dwc2: dwc2.c

Log Message:
Update ux_length in usbd_setup_isoc_xfer and use this to usb_syncmem
in the HCDs


To generate a diff of this commit:
cvs rdiff -u -r1.278 -r1.279 src/sys/dev/usb/ehci.c
cvs rdiff -u -r1.303 -r1.304 src/sys/dev/usb/ohci.c
cvs rdiff -u -r1.300 -r1.301 src/sys/dev/usb/uhci.c
cvs rdiff -u -r1.200 -r1.201 src/sys/dev/usb/usbdi.c
cvs rdiff -u -r1.73 -r1.74 src/sys/external/bsd/dwc2/dwc2.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-14 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Fri May 15 06:23:54 UTC 2020

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

Log Message:
Use ux_length in isoc usb_syncmem.  Missed in previous commit.


To generate a diff of this commit:
cvs rdiff -u -r1.304 -r1.305 src/sys/dev/usb/ohci.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-14 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Fri May 15 06:26:44 UTC 2020

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

Log Message:
Use howmany.  NFC.


To generate a diff of this commit:
cvs rdiff -u -r1.76 -r1.77 src/sys/dev/usb/usb_mem.c

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



CVS commit: src/sys/netinet

2020-05-14 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Fri May 15 06:34:34 UTC 2020

Modified Files:
src/sys/netinet: igmp.c

Log Message:
igmp_sendpkt() expects ip_output() to set 'imo.imo_multicast_ttl' into
'ip->ip_ttl'; but ip_output() won't if the target is not a multicast
address, meaning that the uninitialized 'ip->ip_ttl' byte gets sent to
the network. This leaks one byte of kernel heap.

Fix this by filling 'ip->ip_ttl' with a TTL of one.

Found by KMSAN.

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


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

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