CVS commit: src/sys/dev/pci

2018-08-23 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Thu Aug 23 11:53:15 UTC 2018

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

Log Message:
Fix buffer overflow, detected by kASan.

[1.044878] kASan: Unauthorized Access In 0x804ec7e2: Addr 
0x818a51e4 [2 bytes, read]
[1.044878] #0 0x804ec7e2 in mskc_probe 
[1.044878] #1 0x80e92a77 in mapply 
[1.044878] #2 0x80e92e5f in config_search_loc 
[1.044878] #3 0x80e93fb5 in config_found_sm_loc 
[1.044878] #4 0x802ca9ea in pci_probe_device 
[1.044878] #5 0x802cad97 in pci_enumerate_bus 
[1.044878] #6 0x802caf00 in pcirescan 
[1.044878] #7 0x802cb1ee in pciattach 
[1.044878] #8 0x80e93e5b in config_attach_loc 
[1.044878] #9 0x80e93fce in config_found_sm_loc 
[1.044878] #10 0x80271212 in mp_pci_scan 
[1.044878] #11 0x8022d9ee in mainbus_attach 
[1.044878] #12 0x80e93e5b in config_attach_loc 
[1.044878] #13 0x8021e38b in cpu_configure 
[1.044878] #14 0x814a7068 in main 


To generate a diff of this commit:
cvs rdiff -u -r1.75 -r1.76 src/sys/dev/pci/if_msk.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/amd64

2018-08-23 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Thu Aug 23 11:56:10 UTC 2018

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

Log Message:
Improve the detection on global variables, no need to round up.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/sys/arch/amd64/amd64/asan.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

2018-08-23 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Thu Aug 23 12:18:02 UTC 2018

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

Log Message:
Add kASan redzones on pools and pool_caches. Also enable POOL_REDZONE
on DIAGNOSTIC.


To generate a diff of this commit:
cvs rdiff -u -r1.223 -r1.224 src/sys/kern/subr_pool.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/ofw

2018-08-23 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Thu Aug 23 13:24:44 UTC 2018

Modified Files:
src/sys/dev/ofw: ofw_subr.c openfirm.h

Log Message:
Add of_getprop_uint64


To generate a diff of this commit:
cvs rdiff -u -r1.31 -r1.32 src/sys/dev/ofw/ofw_subr.c
cvs rdiff -u -r1.36 -r1.37 src/sys/dev/ofw/openfirm.h

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



CVS commit: src/doc

2018-08-23 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Thu Aug 23 16:25:38 UTC 2018

Modified Files:
src/doc: BRANCHES

Log Message:
mark netbsd-6* as Terminated


To generate a diff of this commit:
cvs rdiff -u -r1.345 -r1.346 src/doc/BRANCHES

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



CVS commit: src/sys/lib/libsa

2018-08-23 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Thu Aug 23 17:35:42 UTC 2018

Modified Files:
src/sys/lib/libsa: loadfile_elf32.c

Log Message:
Support loading read-only data sections. ARM64 ELF kernels need this. ok skrll@


To generate a diff of this commit:
cvs rdiff -u -r1.52 -r1.53 src/sys/lib/libsa/loadfile_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/arch/evbarm/include

2018-08-23 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Thu Aug 23 19:01:22 UTC 2018

Modified Files:
src/sys/arch/evbarm/include: loadfile_machdep.h

Log Message:
Fix LOADADDR on aarch64 and use memmove for bcopy instead of memcpy


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/evbarm/include/loadfile_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/evbarm/conf

2018-08-23 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Thu Aug 23 20:54:43 UTC 2018

Modified Files:
src/sys/arch/evbarm/conf: GENERIC

Log Message:
WIP checkpoint


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/sys/arch/evbarm/conf/GENERIC

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

2018-08-23 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Thu Aug 23 21:01:43 UTC 2018

Modified Files:
src/sys/arch/arm/arm: cpufunc.c

Log Message:
Whitespace


To generate a diff of this commit:
cvs rdiff -u -r1.172 -r1.173 src/sys/arch/arm/arm/cpufunc.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

2018-08-23 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Thu Aug 23 22:34:03 UTC 2018

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

Log Message:
Deal with reserved memory ranges that start before mem start


To generate a diff of this commit:
cvs rdiff -u -r1.32 -r1.33 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/aarch64/aarch64

2018-08-23 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Fri Aug 24 01:59:40 UTC 2018

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

Log Message:
Sprinkle __unused


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

2018-08-23 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Fri Aug 24 02:01:07 UTC 2018

Added Files:
src/sys/stand/efiboot: Makefile.efiboot boot.c conf.c console.c
devopen.c devopen.h efiboot.c efiboot.h efiboot_machdep.h efichar.c
efifdt.c efifdt.h efifile.c efifile.h efigetsecs.c exec.c panic.c
prompt.c version
src/sys/stand/efiboot/bootaa64: Makefile cache.S efibootaa64.c

Log Message:
Add MI EFI bootloader and AArch64 glue.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 src/sys/stand/efiboot/Makefile.efiboot \
src/sys/stand/efiboot/boot.c src/sys/stand/efiboot/conf.c \
src/sys/stand/efiboot/console.c src/sys/stand/efiboot/devopen.c \
src/sys/stand/efiboot/devopen.h src/sys/stand/efiboot/efiboot.c \
src/sys/stand/efiboot/efiboot.h src/sys/stand/efiboot/efiboot_machdep.h \
src/sys/stand/efiboot/efichar.c src/sys/stand/efiboot/efifdt.c \
src/sys/stand/efiboot/efifdt.h src/sys/stand/efiboot/efifile.c \
src/sys/stand/efiboot/efifile.h src/sys/stand/efiboot/efigetsecs.c \
src/sys/stand/efiboot/exec.c src/sys/stand/efiboot/panic.c \
src/sys/stand/efiboot/prompt.c src/sys/stand/efiboot/version
cvs rdiff -u -r0 -r1.1 src/sys/stand/efiboot/bootaa64/Makefile \
src/sys/stand/efiboot/bootaa64/cache.S \
src/sys/stand/efiboot/bootaa64/efibootaa64.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

2018-08-23 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Fri Aug 24 02:10:46 UTC 2018

Removed Files:
src/sys/stand/efiboot: efigetsecs.c

Log Message:
Remove unused file.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r0 src/sys/stand/efiboot/efigetsecs.c

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



CVS commit: src/sys/sys

2018-08-23 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Fri Aug 24 03:25:01 UTC 2018

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

Log Message:
opt_dtrace.h for KDTRACE_HOOKS.  Use __nothing for empty expansion.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/sys/sys/sdt.h

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



CVS commit: src/doc

2018-08-23 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Fri Aug 24 05:39:04 UTC 2018

Modified Files:
src/doc: CHANGES

Log Message:
Note kASan support.


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

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