CVS commit: src/sys/ufs/lfs

2021-07-24 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Sun Jul 25 06:10:01 UTC 2021

Modified Files:
src/sys/ufs/lfs: ulfs_quota1_subr.c

Log Message:
#include  for COHERENCY_UNIT (and KNF)


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sys/ufs/lfs/ulfs_quota1_subr.c

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



CVS commit: src/external/cddl/osnet/sys/kern

2021-07-24 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Sun Jul 25 06:07:42 UTC 2021

Modified Files:
src/external/cddl/osnet/sys/kern: opensolaris.c

Log Message:
KNF


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/external/cddl/osnet/sys/kern/opensolaris.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

2021-07-24 Thread Simon Burge
Module Name:src
Committed By:   simonb
Date:   Sun Jul 25 06:06:40 UTC 2021

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

Log Message:
If we're only doing a count-only kern.buf sysctl, just return the number
of active members in the pool cache (plus some slop) instead of looking
in all the free buffer list.  Should reduce CPU usage for "systat vm"
to << 1% especially for machines with a larger number of buffers.


To generate a diff of this commit:
cvs rdiff -u -r1.300 -r1.301 src/sys/kern/vfs_bio.c

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



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

2021-07-24 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sun Jul 25 06:04:40 UTC 2021

Modified Files:
src/tests/usr.bin/xlint/lint1: decl_arg.c decl_arg.exp

Log Message:
tests/lint: demonstrate internal error in parsing a declaration


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/tests/usr.bin/xlint/lint1/decl_arg.c
cvs rdiff -u -r1.2 -r1.3 src/tests/usr.bin/xlint/lint1/decl_arg.exp

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



CVS commit: src/sys

2021-07-24 Thread Simon Burge
Module Name:src
Committed By:   simonb
Date:   Sun Jul 25 06:00:32 UTC 2021

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

Log Message:
Add accessor functions to get the number of gets and puts on pools and
pool caches.


To generate a diff of this commit:
cvs rdiff -u -r1.276 -r1.277 src/sys/kern/subr_pool.c
cvs rdiff -u -r1.93 -r1.94 src/sys/sys/pool.h

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



CVS commit: src/games/fish

2021-07-24 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Sun Jul 25 02:00:42 UTC 2021

Modified Files:
src/games/fish: fish.c

Log Message:
Flush input to EOL correctly in games/fish.

PR 54885 from Mouse, with a somewhat different patch.


To generate a diff of this commit:
cvs rdiff -u -r1.26 -r1.27 src/games/fish/fish.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

2021-07-24 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Sun Jul 25 01:43:08 UTC 2021

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

Log Message:
acpi_timer: use ACPI-Fast if WAET timer one read flag is set

The Windows ACPI Emulated Devices Table (WAET) has a hint to inform the OS
that a single read of the PM timer is reliable. Honour this flag.


To generate a diff of this commit:
cvs rdiff -u -r1.26 -r1.27 src/sys/dev/acpi/acpi_timer.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/i2c

2021-07-24 Thread Michael Lorenz
Module Name:src
Committed By:   macallan
Date:   Sun Jul 25 00:11:43 UTC 2021

Modified Files:
src/sys/dev/i2c: fcu.c

Log Message:
don't put CPUs in separate zones, turns out there really isn't much that
keeps the airflow apart around them


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

2021-07-24 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Sat Jul 24 23:38:41 UTC 2021

Modified Files:
src/sys/arch/aarch64/conf: files.aarch64
Removed Files:
src/sys/arch/aarch64/aarch64: cctr_machdep.c

Log Message:
aarch64: Remove empty source file and references to it.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r0 src/sys/arch/aarch64/aarch64/cctr_machdep.c
cvs rdiff -u -r1.30 -r1.31 src/sys/arch/aarch64/conf/files.aarch64

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



CVS commit: src/sys/dev/eisa

2021-07-24 Thread Jason R Thorpe
Module Name:src
Committed By:   thorpej
Date:   Sat Jul 24 22:37:56 UTC 2021

Modified Files:
src/sys/dev/eisa: eisadevs.h eisadevs_data.h

Log Message:
Regen: Add some Compaq display controllers.


To generate a diff of this commit:
cvs rdiff -u -r1.30 -r1.31 src/sys/dev/eisa/eisadevs.h
cvs rdiff -u -r1.31 -r1.32 src/sys/dev/eisa/eisadevs_data.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/eisa

2021-07-24 Thread Jason R Thorpe
Module Name:src
Committed By:   thorpej
Date:   Sat Jul 24 22:36:31 UTC 2021

Modified Files:
src/sys/dev/eisa: eisadevs

Log Message:
Add some Compaq display controllers.


To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 src/sys/dev/eisa/eisadevs

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



CVS commit: src/sys/dev

2021-07-24 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Sat Jul 24 22:33:23 UTC 2021

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

Log Message:
build fix


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/dev/smbios.c

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



CVS commit: src/sys

2021-07-24 Thread Andrius Varanavicius
Module Name:src
Committed By:   andvar
Date:   Sat Jul 24 22:30:59 UTC 2021

Modified Files:
src/sys/arch/acorn32/podulebus: if_ie.c
src/sys/coda: coda_opstats.h
src/sys/dev/pci: if_mcx.c if_vr.c

Log Message:
s/structres/structures + s/whenver/whenever


To generate a diff of this commit:
cvs rdiff -u -r1.48 -r1.49 src/sys/arch/acorn32/podulebus/if_ie.c
cvs rdiff -u -r1.6 -r1.7 src/sys/coda/coda_opstats.h
cvs rdiff -u -r1.17 -r1.18 src/sys/dev/pci/if_mcx.c
cvs rdiff -u -r1.134 -r1.135 src/sys/dev/pci/if_vr.c

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



CVS commit: src

2021-07-24 Thread Andrius Varanavicius
Module Name:src
Committed By:   andvar
Date:   Sat Jul 24 21:31:39 UTC 2021

Modified Files:
src/bin/ksh: tty.c
src/common/dist/zlib: zlib.h
src/crypto/dist/ipsec-tools/src/racoon: isakmp_cfg.c
src/crypto/external/bsd/libsaslc/dist/src: error.h
src/dist/pf/sbin/pfctl: pfctl_altq.c
src/external/mit/lua/dist: lua2netbsd
src/sys/arch/alpha/alpha: db_trace.c
src/sys/arch/arm/broadcom: bcm2835_gpio.c
src/sys/arch/arm/imx: imx51_ccm.c imx51_ccmreg.h
src/sys/arch/arm/xscale: ixp425_npe.c ixp425_npereg.h
src/sys/arch/cesfic/cesfic: pmap_bootstrap.c
src/sys/arch/cobalt/stand/boot: tlp.c
src/sys/arch/emips/ebus: ace_ebus.c flash_ebus.c
src/sys/arch/emips/stand/common: ace.c raw.c
src/sys/arch/evbmips/stand/sbmips/common: blkdev.c
src/sys/arch/hp300/hp300: pmap_bootstrap.c
src/sys/arch/hppa/dev: ssio.c
src/sys/arch/ia64/ia64: trap.c
src/sys/arch/m68k/060sp/dist: isp.s
src/sys/arch/m68k/m68k: db_disasm.c
src/sys/arch/mac68k/mac68k: pmap_bootstrap.c
src/sys/arch/macppc/dev: pbms.c
src/sys/arch/mips/rmi: rmixlreg.h
src/sys/arch/mipsco/stand/common: saio.c
src/sys/arch/mvme68k/dev: sbicvar.h
src/sys/arch/pmax/ibus: sii.c
src/sys/arch/pmax/stand/common: rz.c
src/sys/arch/powerpc/booke: spe_subr.S
src/sys/arch/powerpc/powerpc: db_interface.c
src/sys/arch/powerpc/stand/mkbootimage: rs6000_bootrec.h
src/sys/arch/prep/pnpbus: fdc_pnpbus.c
src/sys/arch/prep/stand/boot: siop.c
src/sys/arch/sgimips/sgimips: machdep.c
src/sys/arch/sh3/sh3: exception_vector.S pmap.c
src/sys/arch/sparc/stand/bootblk: bootblk.fth
src/sys/arch/sparc64/dev: iommuvar.h
src/sys/arch/usermode/usermode: pmap.c
src/sys/arch/vax/vax: db_disasm.c
src/sys/arch/xen/xen: xenevt.c
src/sys/dev: vnd.c
src/sys/dev/bi: kdbreg.h
src/sys/dev/cardbus: fwohci_cardbus.c
src/sys/dev/dm: dm_ioctl.c dm_target_flakey.c
src/sys/dev/hpc: files.hpcio
src/sys/dev/ic: adw.c ahcisatareg.h aic79xx.c aic7xxx.c cs89x0.c
lemacreg.h mfireg.h mpt_mpilib.h
src/sys/dev/ieee1394: fwdma.c
src/sys/dev/isa: README.seagate sbdsp.c
src/sys/dev/marvell: gtidmac.c
src/sys/dev/microcode/aic7xxx: aicasm.c
src/sys/dev/pci: if_ena.c if_vge.c if_vgereg.h
src/sys/dev/pci/ixgbe: ixgbe_common.c
src/sys/dev/spi: mcp23s17.c
src/sys/fs/msdosfs: msdosfs_lookup.c
src/sys/fs/nilfs: nilfs_vnops.c
src/sys/fs/puffs: puffs_vnops.c
src/sys/fs/udf: udf_allocation.c udf_subr.c udf_vfsops.c udf_vnops.c
src/sys/net80211: ieee80211_ioctl.c ieee80211_output.c
ieee80211_proto.c ieee80211_proto.h
src/sys/netinet: sctp_output.c sctputil.c
src/sys/sys: disk.h
src/usr.bin/config: TODO
src/usr.sbin/altq/altqstat: altqstat.c
src/usr.sbin/lpr/lpd: recvjob.c
src/usr.sbin/sysinst/arch/mac68k: menus.md.de menus.md.en menus.md.es
menus.md.pl
src/usr.sbin/ypserv/yppush: yppush.c

Log Message:
Fix all remaining typos, mainly in comments but also in few definitions and log 
messages, reported by me in PR kern/54889.
Also fixed some additional typos in comments, found on review of same files or 
typos.


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/bin/ksh/tty.c
cvs rdiff -u -r1.4 -r1.5 src/common/dist/zlib/zlib.h
cvs rdiff -u -r1.28 -r1.29 \
src/crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
cvs rdiff -u -r1.3 -r1.4 src/crypto/external/bsd/libsaslc/dist/src/error.h
cvs rdiff -u -r1.10 -r1.11 src/dist/pf/sbin/pfctl/pfctl_altq.c
cvs rdiff -u -r1.2 -r1.3 src/external/mit/lua/dist/lua2netbsd
cvs rdiff -u -r1.29 -r1.30 src/sys/arch/alpha/alpha/db_trace.c
cvs rdiff -u -r1.20 -r1.21 src/sys/arch/arm/broadcom/bcm2835_gpio.c
cvs rdiff -u -r1.7 -r1.8 src/sys/arch/arm/imx/imx51_ccm.c
cvs rdiff -u -r1.5 -r1.6 src/sys/arch/arm/imx/imx51_ccmreg.h
cvs rdiff -u -r1.12 -r1.13 src/sys/arch/arm/xscale/ixp425_npe.c
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/arm/xscale/ixp425_npereg.h
cvs rdiff -u -r1.34 -r1.35 src/sys/arch/cesfic/cesfic/pmap_bootstrap.c
cvs rdiff -u -r1.9 -r1.10 src/sys/arch/cobalt/stand/boot/tlp.c
cvs rdiff -u -r1.23 -r1.24 src/sys/arch/emips/ebus/ace_ebus.c
cvs rdiff -u -r1.22 -r1.23 src/sys/arch/emips/ebus/flash_ebus.c
cvs rdiff -u -r1.4 -r1.5 src/sys/arch/emips/stand/common/ace.c
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/emips/stand/common/raw.c
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/evbmips/stand/sbmips/common/blkdev.c
cvs rdiff -u -r1.59 -r1.60 src/sys/arch/hp300/hp300/pmap_bootstrap.c
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/hppa/dev/ssio.c
cvs rdiff -u -r1.14 -r1.15 src/sys/arch/ia64/ia64/trap.c
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/m68k/060sp/dist/isp.s
cvs rdiff -u -r

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

2021-07-24 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Sat Jul 24 20:45:45 UTC 2021

Modified Files:
src/sys/arch/x86/x86: bios32.c

Log Message:
Build fix: vtophys takes vaddr_t, not a ptr


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

2021-07-24 Thread Jason R Thorpe
Module Name:src
Committed By:   thorpej
Date:   Sat Jul 24 19:14:35 UTC 2021

Modified Files:
src/sys/dev/eisa: depca_eisa.c

Log Message:
Report our interrupt trigger type.


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 src/sys/dev/eisa/depca_eisa.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/eisa

2021-07-24 Thread Jason R Thorpe
Module Name:src
Committed By:   thorpej
Date:   Sat Jul 24 19:06:25 UTC 2021

Modified Files:
src/sys/dev/eisa: mlx_eisa.c

Log Message:
Noralize autoconfiguration messages, and report interrupt trigger type.


To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 src/sys/dev/eisa/mlx_eisa.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/eisa

2021-07-24 Thread Jason R Thorpe
Module Name:src
Committed By:   thorpej
Date:   Sat Jul 24 18:50:07 UTC 2021

Modified Files:
src/sys/dev/eisa: if_tlp_eisa.c

Log Message:
Report which trigger type we're using for our interrupt.


To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 src/sys/dev/eisa/if_tlp_eisa.c

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



CVS commit: src/etc/etc.evbarm

2021-07-24 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Sat Jul 24 17:07:59 UTC 2021

Modified Files:
src/etc/etc.evbarm: Makefile.inc

Log Message:
aarch64: Restrict KERNEL_SUFFIXES to img only


To generate a diff of this commit:
cvs rdiff -u -r1.123 -r1.124 src/etc/etc.evbarm/Makefile.inc

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



CVS commit: src/distrib/amd64/liveimage/emuimage

2021-07-24 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Sat Jul 24 16:13:45 UTC 2021

Modified Files:
src/distrib/amd64/liveimage/emuimage: Makefile spec.emuimage
Added Files:
src/distrib/amd64/liveimage/emuimage: rc.conf.emuimage
Removed Files:
src/distrib/amd64/liveimage/emuimage: dhcpcd ec2_init resize_disklabel
resize_root sshd

Log Message:
amd64: liveimage: use RC_CONF_EXTRA instead of rc.conf.d


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/distrib/amd64/liveimage/emuimage/Makefile
cvs rdiff -u -r1.1 -r0 src/distrib/amd64/liveimage/emuimage/dhcpcd \
src/distrib/amd64/liveimage/emuimage/resize_disklabel \
src/distrib/amd64/liveimage/emuimage/resize_root \
src/distrib/amd64/liveimage/emuimage/sshd
cvs rdiff -u -r1.4 -r0 src/distrib/amd64/liveimage/emuimage/ec2_init
cvs rdiff -u -r0 -r1.1 src/distrib/amd64/liveimage/emuimage/rc.conf.emuimage
cvs rdiff -u -r1.1 -r1.2 src/distrib/amd64/liveimage/emuimage/spec.emuimage

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



CVS commit: src/tests/usr.sbin

2021-07-24 Thread Andreas Gustafsson
Module Name:src
Committed By:   gson
Date:   Sat Jul 24 15:56:06 UTC 2021

Modified Files:
src/tests/usr.sbin/execsnoop: t_execsnoop.sh
src/tests/usr.sbin/opensnoop: t_opensnoop.sh

Log Message:
Create temporary files in . rather than /tmp so that they get cleaned up
automatically by atf.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/tests/usr.sbin/execsnoop/t_execsnoop.sh
cvs rdiff -u -r1.4 -r1.5 src/tests/usr.sbin/opensnoop/t_opensnoop.sh

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



CVS commit: src/sys/dev/eisa

2021-07-24 Thread Jason R Thorpe
Module Name:src
Committed By:   thorpej
Date:   Sat Jul 24 15:52:16 UTC 2021

Modified Files:
src/sys/dev/eisa: ahb.c

Log Message:
Don't blindly establish our interrupt handler as IST_LEVEL.  If the INTDEF
register has the INTHIGH bit set, the controller is going to keep the
line low when *not* asserting an interrupt, and since EISA level-tiggered
interrupts are active-low, this would result in a forever-interrupt-storm.

So, if INTHIGH is set in INTDEF, establish our interrupt handler as
IST_EDGE, which will program the EISA PIC to detect the interrupt on
the rising edge of the IRQ line.


To generate a diff of this commit:
cvs rdiff -u -r1.66 -r1.67 src/sys/dev/eisa/ahb.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/eisa

2021-07-24 Thread Jason R Thorpe
Module Name:src
Committed By:   thorpej
Date:   Sat Jul 24 15:44:16 UTC 2021

Modified Files:
src/sys/dev/eisa: ahbreg.h

Log Message:
Correct the comment about the INTHIGH bit in the INTDEF register.  It
does indeed mean "IRQ signal is active-high", but "else edge" is not
correct; level-triggered EISA interrupt are active-low, and edge-triggered
EISA interrupts are rising-edge, so INTHIGH would in fact mean "edge".


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 src/sys/dev/eisa/ahbreg.h

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



CVS commit: src/distrib/evbarm/liveimage/armimage

2021-07-24 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Sat Jul 24 14:00:08 UTC 2021

Modified Files:
src/distrib/evbarm/liveimage/armimage: Makefile spec.armimage
Added Files:
src/distrib/evbarm/liveimage/armimage: rc.conf.armimage
Removed Files:
src/distrib/evbarm/liveimage/armimage: dhcpcd ec2_init resize_gpt
resize_root sshd

Log Message:
evbarm: liveimage: use RC_CONF_EXTRA instead of rc.conf.d


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/distrib/evbarm/liveimage/armimage/Makefile \
src/distrib/evbarm/liveimage/armimage/spec.armimage
cvs rdiff -u -r1.1 -r0 src/distrib/evbarm/liveimage/armimage/dhcpcd \
src/distrib/evbarm/liveimage/armimage/ec2_init \
src/distrib/evbarm/liveimage/armimage/resize_gpt \
src/distrib/evbarm/liveimage/armimage/resize_root \
src/distrib/evbarm/liveimage/armimage/sshd
cvs rdiff -u -r0 -r1.1 src/distrib/evbarm/liveimage/armimage/rc.conf.armimage

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-07-24 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Sat Jul 24 13:59:29 UTC 2021

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

Log Message:
bootimage: allow appending additional rc.conf options

If RC_CONF_EXTRA is defined, append the contents of this file to the
target file-system's rc.conf


To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 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/usr.bin/systat

2021-07-24 Thread Simon Burge
Module Name:src
Committed By:   simonb
Date:   Sat Jul 24 13:42:05 UTC 2021

Modified Files:
src/usr.bin/systat: vmstat.c

Log Message:
Instead of getting an estimate of the number of kernel buffers,
allocating memory for them, requesting all the metadata contents of
these buffers (and repeating in the unlikely case of the number of
buffers increasing too much since the estimate) and then straight away
throwing all the contents out just to count how many buffers there were,
just get the initial estimate from the kernel and subtract the slop.

Reduces system CPU usage of "systat vm" by approx 80% for any system
with a reasonable number of buffers.


To generate a diff of this commit:
cvs rdiff -u -r1.88 -r1.89 src/usr.bin/systat/vmstat.c

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



CVS commit: src/sys

2021-07-24 Thread Simon Burge
Module Name:src
Committed By:   simonb
Date:   Sat Jul 24 13:28:14 UTC 2021

Modified Files:
src/sys/kern: vfs_bio.c
src/sys/sys: sysctl.h

Log Message:
Expose KERN_BUFSLOP in .


To generate a diff of this commit:
cvs rdiff -u -r1.299 -r1.300 src/sys/kern/vfs_bio.c
cvs rdiff -u -r1.233 -r1.234 src/sys/sys/sysctl.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

2021-07-24 Thread Simon Burge
Module Name:src
Committed By:   simonb
Date:   Sat Jul 24 13:27:39 UTC 2021

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

Log Message:
Pad out the slop for kern.buf based on the passed in element size,
rather than a size of an unrelated struct.


To generate a diff of this commit:
cvs rdiff -u -r1.298 -r1.299 src/sys/kern/vfs_bio.c

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



CVS commit: src

2021-07-24 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Sat Jul 24 11:39:19 UTC 2021

Modified Files:
src/etc: MAKEDEV.tmpl
src/etc/etc.aarch64: MAKEDEV.conf
src/etc/etc.amd64: MAKEDEV.conf
src/etc/etc.i386: MAKEDEV.conf
src/sys/arch/arm/fdt: acpi_fdt.c
src/sys/arch/x86/x86: bios32.c
src/sys/conf: majors
src/sys/dev: smbios.c smbiosvar.h

Log Message:
smbios: Add character device for accessing SMBIOS tables

The /dev/smbios character device gives an aperture into physical memory
that allows read-only access to the SMBIOS header and tables.


To generate a diff of this commit:
cvs rdiff -u -r1.223 -r1.224 src/etc/MAKEDEV.tmpl
cvs rdiff -u -r1.8 -r1.9 src/etc/etc.aarch64/MAKEDEV.conf
cvs rdiff -u -r1.32 -r1.33 src/etc/etc.amd64/MAKEDEV.conf
cvs rdiff -u -r1.33 -r1.34 src/etc/etc.i386/MAKEDEV.conf
cvs rdiff -u -r1.21 -r1.22 src/sys/arch/arm/fdt/acpi_fdt.c
cvs rdiff -u -r1.5 -r1.6 src/sys/arch/x86/x86/bios32.c
cvs rdiff -u -r1.97 -r1.98 src/sys/conf/majors
cvs rdiff -u -r1.1 -r1.2 src/sys/dev/smbios.c src/sys/dev/smbiosvar.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/acpi

2021-07-24 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Sat Jul 24 11:36:41 UTC 2021

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

Log Message:
acpi: /dev/acpi: fix bounds check when reading tables


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

2021-07-24 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Sat Jul 24 10:22:28 UTC 2021

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

Log Message:
efiboot: Allow "fs" as alias for "initrd", for compat with x86


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

2021-07-24 Thread Rin Okuyama
Module Name:src
Committed By:   rin
Date:   Sat Jul 24 08:39:54 UTC 2021

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

Log Message:
For sh3, increment PC when PT_CONTINUE from trigger_trap(), as already
done for aarch64, arm, and powerpc. Otherwise, child is trapped to the
PTRACE_BREAKPOINT_ASM (== trapa) instruction indefinitely.

Fix tests/lib/libc/sys/t_ptrace_wait*:core_dump_procinfo.


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

2021-07-24 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Sat Jul 24 07:59:10 UTC 2021

Modified Files:
src/sys/arch/epoc32/epoc32: intr.c

Log Message:
#include  for COHERENCY_UNIT


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/epoc32/epoc32/intr.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/dtv

2021-07-24 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Sat Jul 24 07:48:38 UTC 2021

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

Log Message:
#include  for COHERENCY_UNIT and some KNF while I'm here.


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/sys/dev/dtv/dtv_device.c

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