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

2021-07-03 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jul 4 05:49:20 UTC 2021 Modified Files: src/usr.bin/xlint/lint1: main1.c Log Message: lint: sync stdout and stderr when compiled in debug mode If lint is compiled with -DDEBUG, its debug output goes to stdout, no matter

CVS commit: src/usr.bin/make/unit-tests

2021-07-03 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Sun Jul 4 01:28:54 UTC 2021 Modified Files: src/usr.bin/make/unit-tests: objdir-writable.exp objdir-writable.mk Log Message: Do not assume /tmp is safe to use if TMPDIR is set To generate a diff of this commit: cvs rdiff -u -r1.2

CVS commit: src/usr.bin/make/unit-tests

2021-07-03 Thread Simon J. Gerraty
Module Name:src Committed By: sjg Date: Sun Jul 4 01:28:54 UTC 2021 Modified Files: src/usr.bin/make/unit-tests: objdir-writable.exp objdir-writable.mk Log Message: Do not assume /tmp is safe to use if TMPDIR is set To generate a diff of this commit: cvs rdiff -u -r1.2

CVS commit: src/usr.bin/make/unit-tests

2021-07-03 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Jul 3 22:39:40 UTC 2021 Modified Files: src/usr.bin/make/unit-tests: job-output-null.exp job-output-null.mk Log Message: tests/make: make test job-output-null more portable Previously, the test dependend on implementation

CVS commit: src/usr.bin/make/unit-tests

2021-07-03 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Jul 3 22:39:40 UTC 2021 Modified Files: src/usr.bin/make/unit-tests: job-output-null.exp job-output-null.mk Log Message: tests/make: make test job-output-null more portable Previously, the test dependend on implementation

CVS commit: src

2021-07-03 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Jul 3 21:27:48 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: msg_097.exp msg_098.exp msg_127.exp src/usr.bin/xlint/lint1: main1.c Log Message: lint: do not define 'long double' GCC builtins for traditional

CVS commit: src

2021-07-03 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Jul 3 21:27:48 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: msg_097.exp msg_098.exp msg_127.exp src/usr.bin/xlint/lint1: main1.c Log Message: lint: do not define 'long double' GCC builtins for traditional

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

2021-07-03 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Jul 3 21:18:41 UTC 2021 Modified Files: src/usr.bin/xlint/lint1: cgram.y Log Message: lint: guard against segmentation fault when parsing struct Found by afl. The code that triggers this case is: struct{const}

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

2021-07-03 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Jul 3 21:18:41 UTC 2021 Modified Files: src/usr.bin/xlint/lint1: cgram.y Log Message: lint: guard against segmentation fault when parsing struct Found by afl. The code that triggers this case is: struct{const}

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

2021-07-03 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Jul 3 20:54:08 UTC 2021 Modified Files: src/usr.bin/xlint/lint1: err.c Log Message: lint: fix segmentation fault on malformed preprocessor output # 0 "" # 0 ""2 Found using afl, does not happen in practice though since

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

2021-07-03 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Jul 3 20:43:35 UTC 2021 Modified Files: src/usr.bin/xlint/lint1: main1.c Log Message: lint: make stdout unbuffered in debug mode Some debug log messages are on stdout, others on stderr. Make sure that they occur in the

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

2021-07-03 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Jul 3 20:43:35 UTC 2021 Modified Files: src/usr.bin/xlint/lint1: main1.c Log Message: lint: make stdout unbuffered in debug mode Some debug log messages are on stdout, others on stderr. Make sure that they occur in the

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

2021-07-03 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Jul 3 20:40:17 UTC 2021 Modified Files: src/usr.bin/xlint/lint1: tree.c Log Message: lint: fix assertion failure in display_expression for bool constants To generate a diff of this commit: cvs rdiff -u -r1.303 -r1.304

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

2021-07-03 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Jul 3 20:40:17 UTC 2021 Modified Files: src/usr.bin/xlint/lint1: tree.c Log Message: lint: fix assertion failure in display_expression for bool constants To generate a diff of this commit: cvs rdiff -u -r1.303 -r1.304

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

2021-07-03 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Jul 3 20:54:08 UTC 2021 Modified Files: src/usr.bin/xlint/lint1: err.c Log Message: lint: fix segmentation fault on malformed preprocessor output # 0 "" # 0 ""2 Found using afl, does not happen in practice though since

CVS commit: src/sys/arch/sparc64/sparc64

2021-07-03 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Sat Jul 3 19:39:07 UTC 2021 Modified Files: src/sys/arch/sparc64/sparc64: autoconf.c Log Message: sun4v: request hypervisor api major version 3 for the interrupt group - should solve issues when setting up interrupts on S7

CVS commit: src/sys/arch/sparc64/sparc64

2021-07-03 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Sat Jul 3 19:39:07 UTC 2021 Modified Files: src/sys/arch/sparc64/sparc64: autoconf.c Log Message: sun4v: request hypervisor api major version 3 for the interrupt group - should solve issues when setting up interrupts on S7

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

2021-07-03 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Jul 3 19:34:47 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: d_cast_init.c Log Message: tests/lint: fix test d_cast_init on macppc On macppc, char == unsigned, which generated the following unintended warnings:

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

2021-07-03 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Jul 3 19:34:47 UTC 2021 Modified Files: src/tests/usr.bin/xlint/lint1: d_cast_init.c Log Message: tests/lint: fix test d_cast_init on macppc On macppc, char == unsigned, which generated the following unintended warnings:

CVS commit: src

2021-07-03 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Jul 3 19:31:23 UTC 2021 Modified Files: src/distrib/sets/lists/tests: mi src/tests/usr.bin/xlint/lint1: Makefile msg_230.c msg_230.exp Added Files: src/tests/usr.bin/xlint/lint1: msg_230_uchar.c

CVS commit: src

2021-07-03 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Jul 3 19:31:23 UTC 2021 Modified Files: src/distrib/sets/lists/tests: mi src/tests/usr.bin/xlint/lint1: Makefile msg_230.c msg_230.exp Added Files: src/tests/usr.bin/xlint/lint1: msg_230_uchar.c

CVS commit: src/sys/arch/sparc64

2021-07-03 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Sat Jul 3 19:18:56 UTC 2021 Modified Files: src/sys/arch/sparc64/include: hypervisor.h sparc64.h src/sys/arch/sparc64/sparc64: autoconf.c intr.c ofw_machdep.c Log Message: sun4v: add support for hypervisor soft state -

CVS commit: src/sys/arch/sparc64

2021-07-03 Thread Palle Lyckegaard
Module Name:src Committed By: palle Date: Sat Jul 3 19:18:56 UTC 2021 Modified Files: src/sys/arch/sparc64/include: hypervisor.h sparc64.h src/sys/arch/sparc64/sparc64: autoconf.c intr.c ofw_machdep.c Log Message: sun4v: add support for hypervisor soft state -

CVS commit: src/libexec/ftpd

2021-07-03 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sat Jul 3 14:59:49 UTC 2021 Modified Files: src/libexec/ftpd: ftpd.c Log Message: Treat failed chdir/chroot for guest and chroot accounts as fatal. Also treat failed set{e,}(u,g}id calls as fatal. Addresses CVE-2020-7468, via

CVS commit: src/libexec/ftpd

2021-07-03 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sat Jul 3 14:59:49 UTC 2021 Modified Files: src/libexec/ftpd: ftpd.c Log Message: Treat failed chdir/chroot for guest and chroot accounts as fatal. Also treat failed set{e,}(u,g}id calls as fatal. Addresses CVE-2020-7468, via

CVS commit: src/lib/libc/gmon

2021-07-03 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sat Jul 3 14:08:55 UTC 2021 Modified Files: src/lib/libc/gmon: gmon.c Log Message: PR/56246: Yuichiro Naito: gprof(1) never show call graphs when profiling multi-threaded application To generate a diff of this commit: cvs

CVS commit: src/lib/libc/gmon

2021-07-03 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sat Jul 3 14:08:55 UTC 2021 Modified Files: src/lib/libc/gmon: gmon.c Log Message: PR/56246: Yuichiro Naito: gprof(1) never show call graphs when profiling multi-threaded application To generate a diff of this commit: cvs

CVS commit: src/include

2021-07-03 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sat Jul 3 14:07:13 UTC 2021 Modified Files: src/include: stdlib.h Log Message: PR/56250: Michael Forney: mkstemp/mkdtemp not declared with _POSIX_C_SOURCE=200809L To generate a diff of this commit: cvs rdiff -u -r1.122

CVS commit: src/include

2021-07-03 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sat Jul 3 14:07:13 UTC 2021 Modified Files: src/include: stdlib.h Log Message: PR/56250: Michael Forney: mkstemp/mkdtemp not declared with _POSIX_C_SOURCE=200809L To generate a diff of this commit: cvs rdiff -u -r1.122

CVS commit: [netbsd-9] src/doc

2021-07-03 Thread Martin Husemann
Module Name:src Committed By: martin Date: Sat Jul 3 10:20:00 UTC 2021 Modified Files: src/doc [netbsd-9]: CHANGES-9.3 Log Message: Ticket #1311 To generate a diff of this commit: cvs rdiff -u -r1.1.2.11 -r1.1.2.12 src/doc/CHANGES-9.3 Please note that diffs are not

CVS commit: [netbsd-9] src/doc

2021-07-03 Thread Martin Husemann
Module Name:src Committed By: martin Date: Sat Jul 3 10:20:00 UTC 2021 Modified Files: src/doc [netbsd-9]: CHANGES-9.3 Log Message: Ticket #1311 To generate a diff of this commit: cvs rdiff -u -r1.1.2.11 -r1.1.2.12 src/doc/CHANGES-9.3 Please note that diffs are not

CVS commit: [netbsd-9] src/sys/dev/ic

2021-07-03 Thread Martin Husemann
Module Name:src Committed By: martin Date: Sat Jul 3 10:18:16 UTC 2021 Modified Files: src/sys/dev/ic [netbsd-9]: ax88190.c dl10019.c dp8390.c Log Message: Pull up following revision(s) (requested by thorpej in ticket #1311): sys/dev/ic/dp8390.c: revision 1.99

CVS commit: [netbsd-9] src/sys/dev/ic

2021-07-03 Thread Martin Husemann
Module Name:src Committed By: martin Date: Sat Jul 3 10:18:16 UTC 2021 Modified Files: src/sys/dev/ic [netbsd-9]: ax88190.c dl10019.c dp8390.c Log Message: Pull up following revision(s) (requested by thorpej in ticket #1311): sys/dev/ic/dp8390.c: revision 1.99

CVS commit: xsrc/external/mit/xorg-server/dist/hw/xfree86

2021-07-03 Thread Martin Husemann
Module Name:xsrc Committed By: martin Date: Sat Jul 3 09:43:29 UTC 2021 Modified Files: xsrc/external/mit/xorg-server/dist/hw/xfree86/common: compiler.h xsrc/external/mit/xorg-server/dist/hw/xfree86/os-support/bsd: ppc_video.c Log Message: Add missing

CVS commit: xsrc/external/mit/xorg-server/dist/hw/xfree86

2021-07-03 Thread Martin Husemann
Module Name:xsrc Committed By: martin Date: Sat Jul 3 09:43:29 UTC 2021 Modified Files: xsrc/external/mit/xorg-server/dist/hw/xfree86/common: compiler.h xsrc/external/mit/xorg-server/dist/hw/xfree86/os-support/bsd: ppc_video.c Log Message: Add missing

CVS commit: src/sys/kern

2021-07-03 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sat Jul 3 09:39:26 UTC 2021 Modified Files: src/sys/kern: vfs_syscalls.c Log Message: Return error from fd_dupopen. To generate a diff of this commit: cvs rdiff -u -r1.550 -r1.551 src/sys/kern/vfs_syscalls.c Please note that

CVS commit: src/sys/kern

2021-07-03 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sat Jul 3 09:39:26 UTC 2021 Modified Files: src/sys/kern: vfs_syscalls.c Log Message: Return error from fd_dupopen. To generate a diff of this commit: cvs rdiff -u -r1.550 -r1.551 src/sys/kern/vfs_syscalls.c Please note that