CVS commit: src/tests/kernel

2020-06-24 Thread Rin Okuyama
Module Name:src
Committed By:   rin
Date:   Wed Jun 24 07:02:57 UTC 2020

Modified Files:
src/tests/kernel: t_pty.c

Log Message:
errno is irrelevant here.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/tests/kernel/t_pty.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/man7

2020-06-24 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Wed Jun 24 08:20:13 UTC 2020

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

Log Message:
New sentence, new line. Fix macro arguments. Improve Nd.
Remove superfluous Pp. Other minor cleanups.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/share/man/man7/kernel_sanitizers.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/aarch64/aarch64

2020-06-24 Thread Ryo Shimizu
Module Name:src
Committed By:   ryo
Date:   Wed Jun 24 08:27:47 UTC 2020

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

Log Message:
Fix bug with incorrect range calculation when doing icache sync.
This is called by sysarch(ARM_SYNC_ICACHE) from aarch32 (compat_netbsd32) emul 
process.

pointed out by rin@, thanks.

XXX pullup-9


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

2020-06-24 Thread Jukka Ruohonen
Module Name:src
Committed By:   jruoho
Date:   Wed Jun 24 09:11:26 UTC 2020

Modified Files:
src/distrib/sets/lists/tests: mi
src/tests/sbin/ifconfig: Makefile
Added Files:
src/tests/sbin/ifconfig: t_repeated_scan.sh

Log Message:
Add a test case for PR bin/55389.


To generate a diff of this commit:
cvs rdiff -u -r1.843 -r1.844 src/distrib/sets/lists/tests/mi
cvs rdiff -u -r1.1 -r1.2 src/tests/sbin/ifconfig/Makefile
cvs rdiff -u -r0 -r1.1 src/tests/sbin/ifconfig/t_repeated_scan.sh

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



CVS commit: src

2020-06-24 Thread Jukka Ruohonen
Module Name:src
Committed By:   jruoho
Date:   Wed Jun 24 09:21:43 UTC 2020

Modified Files:
src/distrib/sets/lists/tests: mi
src/etc/mtree: NetBSD.dist.tests
Added Files:
src/tests/usr.bin/patch: Makefile t_patch.sh

Log Message:
Add a test case for bin/54620.


To generate a diff of this commit:
cvs rdiff -u -r1.844 -r1.845 src/distrib/sets/lists/tests/mi
cvs rdiff -u -r1.162 -r1.163 src/etc/mtree/NetBSD.dist.tests
cvs rdiff -u -r0 -r1.1 src/tests/usr.bin/patch/Makefile \
src/tests/usr.bin/patch/t_patch.sh

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



CVS commit: src

2020-06-24 Thread Jukka Ruohonen
Module Name:src
Committed By:   jruoho
Date:   Wed Jun 24 09:32:41 UTC 2020

Modified Files:
src/distrib/sets/lists/tests: mi
src/etc/mtree: NetBSD.dist.tests
Added Files:
src/tests/usr.sbin/cpuctl: Makefile t_cpuctl.sh

Log Message:
Add few basic tests for cpuctl(8). These cover PR kern/45117 and PR bin/54220.
Though, the former is not explicitly tested as it hangs the system.


To generate a diff of this commit:
cvs rdiff -u -r1.845 -r1.846 src/distrib/sets/lists/tests/mi
cvs rdiff -u -r1.163 -r1.164 src/etc/mtree/NetBSD.dist.tests
cvs rdiff -u -r0 -r1.1 src/tests/usr.sbin/cpuctl/Makefile \
src/tests/usr.sbin/cpuctl/t_cpuctl.sh

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



CVS commit: src

2020-06-24 Thread Jukka Ruohonen
Module Name:src
Committed By:   jruoho
Date:   Wed Jun 24 09:47:18 UTC 2020

Modified Files:
src/distrib/sets/lists/tests: mi
src/etc/mtree: NetBSD.dist.tests
Added Files:
src/tests/usr.sbin/stdethers: Makefile d_valid.in t_stdethers.sh
src/tests/usr.sbin/stdhosts: Makefile d_ipv6.in t_stdhosts.sh

Log Message:
Add a few checks for stdethers(8) and stdhosts(8).


To generate a diff of this commit:
cvs rdiff -u -r1.846 -r1.847 src/distrib/sets/lists/tests/mi
cvs rdiff -u -r1.164 -r1.165 src/etc/mtree/NetBSD.dist.tests
cvs rdiff -u -r0 -r1.1 src/tests/usr.sbin/stdethers/Makefile \
src/tests/usr.sbin/stdethers/d_valid.in \
src/tests/usr.sbin/stdethers/t_stdethers.sh
cvs rdiff -u -r0 -r1.1 src/tests/usr.sbin/stdhosts/Makefile \
src/tests/usr.sbin/stdhosts/d_ipv6.in \
src/tests/usr.sbin/stdhosts/t_stdhosts.sh

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



CVS commit: src

2020-06-24 Thread Jukka Ruohonen
Module Name:src
Committed By:   jruoho
Date:   Wed Jun 24 10:05:08 UTC 2020

Modified Files:
src/distrib/sets/lists/tests: mi
src/etc/mtree: NetBSD.dist.tests
Added Files:
src/tests/usr.bin/fstat: Makefile t_fstat.sh

Log Message:
Check that fstat(1) works (cf. PR kern/55407).


To generate a diff of this commit:
cvs rdiff -u -r1.847 -r1.848 src/distrib/sets/lists/tests/mi
cvs rdiff -u -r1.165 -r1.166 src/etc/mtree/NetBSD.dist.tests
cvs rdiff -u -r0 -r1.1 src/tests/usr.bin/fstat/Makefile \
src/tests/usr.bin/fstat/t_fstat.sh

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



CVS commit: src/tests

2020-06-24 Thread Jukka Ruohonen
Module Name:src
Committed By:   jruoho
Date:   Wed Jun 24 10:07:13 UTC 2020

Modified Files:
src/tests/sbin/ifconfig: t_repeated_scan.sh
src/tests/usr.sbin/cpuctl: t_cpuctl.sh

Log Message:
Fix references in comments.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/tests/sbin/ifconfig/t_repeated_scan.sh
cvs rdiff -u -r1.1 -r1.2 src/tests/usr.sbin/cpuctl/t_cpuctl.sh

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



CVS commit: src/sys/compat

2020-06-24 Thread Jaromir Dolecek
Module Name:src
Committed By:   jdolecek
Date:   Wed Jun 24 10:28:17 UTC 2020

Modified Files:
src/sys/compat/common: vfs_syscalls_43.c
src/sys/compat/sunos32: sunos32_misc.c

Log Message:
remove special handling for symbolic links for COMPAT_43 lstat, it's
not necessary; this removes the only places in kernel which did namei
LOOKUP with LOCKPARENT

fixes diagnostic KASSERT() in namei() code

Reported-by: syzbot+628382ecf1438e53d...@syzkaller.appspotmail.com


To generate a diff of this commit:
cvs rdiff -u -r1.65 -r1.66 src/sys/compat/common/vfs_syscalls_43.c
cvs rdiff -u -r1.83 -r1.84 src/sys/compat/sunos32/sunos32_misc.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/man5

2020-06-24 Thread Jukka Ruohonen
Module Name:src
Committed By:   jruoho
Date:   Wed Jun 24 10:30:43 UTC 2020

Modified Files:
src/share/man/man5: rc.conf.5

Log Message:
As bin/55344 was fixed, note the flags also in rc.conf(5).


To generate a diff of this commit:
cvs rdiff -u -r1.181 -r1.182 src/share/man/man5/rc.conf.5

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



CVS commit: src/sys/net

2020-06-24 Thread Roy Marples
Module Name:src
Committed By:   roy
Date:   Wed Jun 24 12:27:51 UTC 2020

Modified Files:
src/sys/net: rtsock_shared.c

Log Message:
Ensure sockaddrs have valid lengths for RO_MISSFILTER.

Thanks to maxv@ for spotting this.


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/sys/net/rtsock_shared.c

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



CVS commit: src/tests

2020-06-24 Thread Jukka Ruohonen
Module Name:src
Committed By:   jruoho
Date:   Wed Jun 24 12:31:26 UTC 2020

Modified Files:
src/tests/usr.bin: Makefile
src/tests/usr.sbin: Makefile

Log Message:
Also install new tests.


To generate a diff of this commit:
cvs rdiff -u -r1.30 -r1.31 src/tests/usr.bin/Makefile
cvs rdiff -u -r1.4 -r1.5 src/tests/usr.sbin/Makefile

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

2020-06-24 Thread Simon Burge
Module Name:src
Committed By:   simonb
Date:   Wed Jun 24 12:43:40 UTC 2020

Modified Files:
src/sys/arch/mips/conf: files.octeon

Log Message:
Redo cnmac attachments - cnmacM @ gmxN @ pip0 @ iobus

Missed one file - thanks martin@.


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

2020-06-24 Thread Jason R Thorpe
Module Name:src
Committed By:   thorpej
Date:   Wed Jun 24 14:28:10 UTC 2020

Modified Files:
src/tests/lib/libprop: t_proplib.c

Log Message:
Fix pasto; use {,U}LLONG{MIN,MAX} correctly in the {u,}llong{min,max}
range checks.

PR lib/55414


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/tests/lib/libprop/t_proplib.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-06-24 Thread Jaromir Dolecek
Module Name:src
Committed By:   jdolecek
Date:   Wed Jun 24 14:33:08 UTC 2020

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

Log Message:
fix tyop in KASSERT() condition which made it an assignment rather than a check

the field indeed is supposed to be set to GRANT_INVALID_REF at this moment,
the grant must be already revoked by this time

pointed out by Taylor R Campbell


To generate a diff of this commit:
cvs rdiff -u -r1.126 -r1.127 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/tools/compat

2020-06-24 Thread Valeriy E. Ushakov
Module Name:src
Committed By:   uwe
Date:   Wed Jun 24 14:39:01 UTC 2020

Modified Files:
src/tools/compat: configure.ac

Log Message:
Add AC_MSG_RESULT yes/no to the uio checks.


To generate a diff of this commit:
cvs rdiff -u -r1.97 -r1.98 src/tools/compat/configure.ac

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



CVS commit: src/tools/compat

2020-06-24 Thread Valeriy E. Ushakov
Module Name:src
Committed By:   uwe
Date:   Wed Jun 24 14:44:44 UTC 2020

Modified Files:
src/tools/compat: configure

Log Message:
Regen: Add AC_MSG_RESULT yes/no to the uio checks.


To generate a diff of this commit:
cvs rdiff -u -r1.97 -r1.98 src/tools/compat/configure

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

2020-06-24 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Wed Jun 24 14:48:47 UTC 2020

Modified Files:
src/tests/usr.sbin/stdethers: Makefile
src/tests/usr.sbin/stdhosts: Makefile

Log Message:
Fix directories


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/tests/usr.sbin/stdethers/Makefile
cvs rdiff -u -r1.1 -r1.2 src/tests/usr.sbin/stdhosts/Makefile

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

2020-06-24 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Wed Jun 24 15:05:45 UTC 2020

Modified Files:
src/tests/usr.sbin/stdethers: Makefile
src/tests/usr.sbin/stdhosts: Makefile

Log Message:
Add input files


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/tests/usr.sbin/stdethers/Makefile
cvs rdiff -u -r1.2 -r1.3 src/tests/usr.sbin/stdhosts/Makefile

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/dist/uts/common/fs/zfs

2020-06-24 Thread Jaromir Dolecek
Module Name:src
Committed By:   jdolecek
Date:   Wed Jun 24 16:16:01 UTC 2020

Modified Files:
src/external/cddl/osnet/dist/uts/common/fs/zfs: vdev_queue.c

Log Message:
reduce stack usage in vdev_queue_io_to_issue() - zio_t is about 1KB, and
the function potentially recurses into itself

part of fix for PR kern/55402 by Frank Kardel


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.3 -r1.2 \
src/external/cddl/osnet/dist/uts/common/fs/zfs/vdev_queue.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/dist/uts/common/fs/zfs

2020-06-24 Thread Jaromir Dolecek
Module Name:src
Committed By:   jdolecek
Date:   Wed Jun 24 16:23:16 UTC 2020

Modified Files:
src/external/cddl/osnet/dist/uts/common/fs/zfs: dsl_scan.c

Log Message:
change dsl_scan_visitbp() to allocate blkptr_t dynamically rather than
on-stack - this function is called recursively, and the 120 bytes per call
add up; also remove unused variable

part of fix for PR kern/55402 by Frank Kardel


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1 -r1.2 \
src/external/cddl/osnet/dist/uts/common/fs/zfs/dsl_scan.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/dist/uts/common/fs/zfs

2020-06-24 Thread Jaromir Dolecek
Module Name:src
Committed By:   jdolecek
Date:   Wed Jun 24 16:29:34 UTC 2020

Modified Files:
src/external/cddl/osnet/dist/uts/common/fs/zfs: dsl_scan.c

Log Message:
reduce stack usage in dsl_scan_recurse() - allocate memory for
temporary zbookmark_phys_t using kmem_alloc() rather than stack;
this recuses several times usually, and this saves 2x
sizeof(zbookmark_phys_t) == 64 bytes per recursion

part of fix for PR kern/55402 by Frank Kardel


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 \
src/external/cddl/osnet/dist/uts/common/fs/zfs/dsl_scan.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/m4

2020-06-24 Thread Valeriy E. Ushakov
Module Name:src
Committed By:   uwe
Date:   Wed Jun 24 16:49:30 UTC 2020

Modified Files:
src/usr.bin/m4: main.c

Log Message:
Try not to lose error output with --error-output.

Try to avoid the trap we set up ourselves while avoiding freopen(3).
When exit flushes and closes open streams it may close sfp first and
when it comes about to flush and close stderr, the descriptor is
already gone and we lose any buffered error output.  This actually
happens on some hosts, breaking --trace output used by autoconf.


To generate a diff of this commit:
cvs rdiff -u -r1.48 -r1.49 src/usr.bin/m4/main.c

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



CVS commit: src/bin/mv

2020-06-24 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Wed Jun 24 16:58:12 UTC 2020

Modified Files:
src/bin/mv: mv.1 mv.c

Log Message:
New mv -h option.

`mv -h source target' just issues rename(source, target) without
discriminating on whether target resolves to a directory; this way
you can atomically replace a symlink to a directory.


To generate a diff of this commit:
cvs rdiff -u -r1.30 -r1.31 src/bin/mv/mv.1
cvs rdiff -u -r1.45 -r1.46 src/bin/mv/mv.c

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



CVS commit: src/bin/mv

2020-06-24 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Wed Jun 24 17:00:58 UTC 2020

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

Log Message:
Note that -h is an extension to POSIX.  Bump date.


To generate a diff of this commit:
cvs rdiff -u -r1.31 -r1.32 src/bin/mv/mv.1

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



CVS commit: src/sys/compat/common

2020-06-24 Thread Jaromir Dolecek
Module Name:src
Committed By:   jdolecek
Date:   Wed Jun 24 17:47:52 UTC 2020

Modified Files:
src/sys/compat/common: tty_60.c

Log Message:
reduce stack usage in compat_60_ptmget_ioctl() - allocate struct ptmget
via kmem_alloc()


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/sys/compat/common/tty_60.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/dtracetoolkit/dist/Man/man1m

2020-06-24 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Wed Jun 24 18:06:01 UTC 2020

Modified Files:
src/external/cddl/dtracetoolkit/dist/Man/man1m: opensnoop.1m

Log Message:
mdocify


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1 -r1.2 \
src/external/cddl/dtracetoolkit/dist/Man/man1m/opensnoop.1m

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-06-24 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Wed Jun 24 18:09:37 UTC 2020

Modified Files:
src/sys/arch/amd64/amd64: cpufunc.S
src/sys/arch/i386/i386: cpufunc.S
src/sys/arch/x86/include: pmap.h

Log Message:
remove unused x86_stos


To generate a diff of this commit:
cvs rdiff -u -r1.62 -r1.63 src/sys/arch/amd64/amd64/cpufunc.S
cvs rdiff -u -r1.47 -r1.48 src/sys/arch/i386/i386/cpufunc.S
cvs rdiff -u -r1.122 -r1.123 src/sys/arch/x86/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/external/cddl/dtracetoolkit/dist/Man/man1m

2020-06-24 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Wed Jun 24 18:43:38 UTC 2020

Modified Files:
src/external/cddl/dtracetoolkit/dist/Man/man1m: dtruss.1m

Log Message:
mdocify


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1 -r1.2 \
src/external/cddl/dtracetoolkit/dist/Man/man1m/dtruss.1m

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



CVS commit: src/external/cddl/dtracetoolkit/dist/Man/man1m

2020-06-24 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Wed Jun 24 18:49:01 UTC 2020

Modified Files:
src/external/cddl/dtracetoolkit/dist/Man/man1m: dtruss.1m

Log Message:
No truss here


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 \
src/external/cddl/dtracetoolkit/dist/Man/man1m/dtruss.1m

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-06-24 Thread Jaromir Dolecek
Module Name:src
Committed By:   jdolecek
Date:   Wed Jun 24 19:11:49 UTC 2020

Modified Files:
src/sys/dev/i2c: lm_i2c.c
src/sys/dev/isa: lm_isa_common.c

Log Message:
avoid stack usage in match routine


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/sys/dev/i2c/lm_i2c.c
cvs rdiff -u -r1.6 -r1.7 src/sys/dev/isa/lm_isa_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/dev

2020-06-24 Thread Jaromir Dolecek
Module Name:src
Committed By:   jdolecek
Date:   Wed Jun 24 19:24:44 UTC 2020

Modified Files:
src/sys/dev/ic: ug.c ugvar.h
src/sys/dev/isa: ug_isa.c

Log Message:
rearrange to avoid allocating softc on stack in ug_isa_match()


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/sys/dev/ic/ug.c
cvs rdiff -u -r1.5 -r1.6 src/sys/dev/ic/ugvar.h
cvs rdiff -u -r1.7 -r1.8 src/sys/dev/isa/ug_isa.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-06-24 Thread Jaromir Dolecek
Module Name:src
Committed By:   jdolecek
Date:   Wed Jun 24 19:55:25 UTC 2020

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

Log Message:
avoid allocating almost 5k struct ibm561data on stack in ibm561_cninit();
it's too early for kmem_alloc(), so use static variable in BSS


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/sys/dev/ic/ibm561.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-06-24 Thread Jaromir Dolecek
Module Name:src
Committed By:   jdolecek
Date:   Wed Jun 24 20:17:55 UTC 2020

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

Log Message:
actually stop using the stack variable


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/sys/dev/ic/ibm561.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-06-24 Thread Jaromir Dolecek
Module Name:src
Committed By:   jdolecek
Date:   Wed Jun 24 21:06:39 UTC 2020

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

Log Message:
disable inlining for couple functions which allocate usb_device_request_t
on stack to reduce total run_init() stack usage from 7KB to 2KB


To generate a diff of this commit:
cvs rdiff -u -r1.41 -r1.42 src/sys/dev/usb/if_run.c

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



CVS commit: src/sys/external/bsd/ipf/netinet

2020-06-24 Thread Jaromir Dolecek
Module Name:src
Committed By:   jdolecek
Date:   Wed Jun 24 21:54:57 UTC 2020

Modified Files:
src/sys/external/bsd/ipf/netinet: ip_nat.c

Log Message:
reduce stack usage in ipf_nat_ioctl()

also, in SIOCADNAT, make sure to not leak kernel data


To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 src/sys/external/bsd/ipf/netinet/ip_nat.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/x86/x86

2020-06-24 Thread Jaromir Dolecek
Module Name:src
Committed By:   jdolecek
Date:   Wed Jun 24 22:28:08 UTC 2020

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

Log Message:
don't try allocating 16KB of scratch space on stack

it's too early for kmem_alloc(), so use static variable in BSS; it's used
post reloc, so don't need to use the RELOC() macros

XXX compile-tested only on i386


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/sys/arch/x86/x86/multiboot2.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/m4

2020-06-24 Thread Valeriy E. Ushakov
Module Name:src
Committed By:   uwe
Date:   Thu Jun 25 02:25:53 UTC 2020

Modified Files:
src/usr.bin/m4: extern.h main.c trace.c

Log Message:
Fix --error-output to be more like GNU m4.

GNU m4 --error-output is the same as -o despite the name.  It does NOT
affect warnings, error messages, and 'errprint' output so drop the
misguided bit of code that tried to freopen stderr without closing it
on failure.  Drop -e (which was our local invention) and make merge
--error-output with -o so that both set traceout.  Make trace_file()
preserve the old traceout on error and return error status so that the
caller can emit appropriate warning.

Do not yet support disabling tracing with an empty name, the rest of
the code is not ready, we don't do -o positionally and we don't have
`debugfile'.


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 src/usr.bin/m4/extern.h
cvs rdiff -u -r1.49 -r1.50 src/usr.bin/m4/main.c
cvs rdiff -u -r1.8 -r1.9 src/usr.bin/m4/trace.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/m4

2020-06-24 Thread Valeriy E. Ushakov
Module Name:src
Committed By:   uwe
Date:   Thu Jun 25 02:54:50 UTC 2020

Modified Files:
src/usr.bin/m4: m4.1

Log Message:
Fix --error-output to be more like GNU m4.  It's a long version of -o.


To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 src/usr.bin/m4/m4.1

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



CVS commit: src/usr.bin/m4

2020-06-24 Thread Valeriy E. Ushakov
Module Name:src
Committed By:   uwe
Date:   Thu Jun 25 02:58:16 UTC 2020

Modified Files:
src/usr.bin/m4: m4.1

Log Message:
Bump date for previous.


To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 src/usr.bin/m4/m4.1

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



CVS commit: src/usr.bin/m4

2020-06-24 Thread Valeriy E. Ushakov
Module Name:src
Committed By:   uwe
Date:   Thu Jun 25 02:59:20 UTC 2020

Modified Files:
src/usr.bin/m4: m4.1

Log Message:
Use a date that is actually a real date.


To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 src/usr.bin/m4/m4.1

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

2020-06-24 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Thu Jun 25 06:45:10 UTC 2020

Modified Files:
src/sys/dev/pci/ixgbe: ixgbe_82598.c

Log Message:
 Use unsigned to avoid undefined behavior in ixgbe_fc_enable_generic().
Same as ixgbe_common.c rev. 1.24. Found by KUBSan.


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

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