CVS commit: src/external/gpl3/gcc/usr.bin/backend

2020-06-12 Thread Santhosh Raju
Module Name:src Committed By: fox Date: Fri Jun 12 14:37:51 UTC 2020 Modified Files: src/external/gpl3/gcc/usr.bin/backend: Makefile Log Message: external/gpl3/gcc: Suppress -Werror=maybe-uninitialized Seems like false positive since the ASM_GENERATE_INTERNAL_LABEL macro

CVS commit: src/libexec/httpd

2020-06-07 Thread Santhosh Raju
Module Name:src Committed By: fox Date: Sun Jun 7 23:33:02 UTC 2020 Modified Files: src/libexec/httpd: bozohttpd.c Log Message: libexec/httpd: Fix the possible -Werror=stringop-truncation Error was reported when build.sh was run with MKLIBCSANITIZER=yes flag. Reviewed

CVS commit: src/external/mpl/dhcp/bin/server

2020-06-07 Thread Santhosh Raju
Module Name:src Committed By: fox Date: Sun Jun 7 23:29:16 UTC 2020 Modified Files: src/external/mpl/dhcp/bin/server: Makefile Log Message: external/mpl/dhcp: Suppress -Werror=stringop-truncation error This logic correctly uses strncpy(3) to fully initialize a

CVS commit: src/external/cddl/osnet/usr.bin/ctfmerge

2020-06-07 Thread Santhosh Raju
Module Name:src Committed By: fox Date: Sun Jun 7 23:26:54 UTC 2020 Modified Files: src/external/cddl/osnet/usr.bin/ctfmerge: Makefile Log Message: external/cddl/osnet: Suppress -Werror=stringop-truncation error This logic correctly uses strncpy(3) to fully initialize a

CVS commit: src/tests/lib/libarchive

2020-06-07 Thread Santhosh Raju
Module Name:src Committed By: fox Date: Sun Jun 7 23:20:52 UTC 2020 Modified Files: src/tests/lib/libarchive: Makefile Log Message: tests/lib/libarchive: Suppress -Werror=stringop-truncation error This logic correctly uses strncpy(3) to fully initialize a fixed-width

CVS commit: src/libexec/lfs_cleanerd

2020-06-07 Thread Santhosh Raju
Module Name:src Committed By: fox Date: Sun Jun 7 23:15:53 UTC 2020 Modified Files: src/libexec/lfs_cleanerd: Makefile.inc Log Message: libexec/lfs_cleanerd: Suppress -Werror=stringop-truncation error This logic correctly uses strncpy(3) to fully initialize a

CVS commit: src/external/bsd/atf/lib/libatf-c

2020-06-07 Thread Santhosh Raju
Module Name:src Committed By: fox Date: Sun Jun 7 23:09:34 UTC 2020 Modified Files: src/external/bsd/atf/lib/libatf-c: Makefile Log Message: external/bsd/atf: Suppress -Werror=stringop-truncation error This logic correctly uses strncpy(3) to fully initialize a

CVS commit: src/external/bsd/dhcpcd/sbin/dhcpcd

2020-05-02 Thread Santhosh Raju
Module Name:src Committed By: fox Date: Sat May 2 19:35:03 UTC 2020 Modified Files: src/external/bsd/dhcpcd/sbin/dhcpcd: Makefile Log Message: external/bsd/dhcpcd: Suppress -Werror=sign-conversion error. Add -Wno-error=sign-conversion to prevent build failure, when run

CVS commit: src/lib/libusbhid

2020-04-04 Thread Santhosh Raju
Module Name:src Committed By: fox Date: Sat Apr 4 21:26:17 UTC 2020 Modified Files: src/lib/libusbhid: parse.c Log Message: lib/libusbhid: Fix possible left shift changes signedness bit. This bug was reported by UBSan runs. lib/libusbhid/parse.c:246:20 Can result in

CVS commit: src/lib/libusbhid

2020-04-04 Thread Santhosh Raju
Module Name:src Committed By: fox Date: Sat Apr 4 21:23:04 UTC 2020 Modified Files: src/lib/libusbhid: usage.c Log Message: lib/libusbhid: Fix possible left shift changes signedness bit. This bug was reported by UBSan runs. lib/libusbhid/usage.c:247:27

CVS commit: src/lib/libusbhid

2020-04-04 Thread Santhosh Raju
Module Name:src Committed By: fox Date: Sat Apr 4 21:21:35 UTC 2020 Modified Files: src/lib/libusbhid: data.c Log Message: lib/libusbhid: Fix possible left shift changes signedness bit. This bug was reported by UBSan runs. lib/libusbhid/data.c:58:25

CVS commit: src/external/cddl/osnet/lib/libdtrace

2020-03-16 Thread Santhosh Raju
Module Name:src Committed By: fox Date: Tue Mar 17 01:36:29 UTC 2020 Modified Files: src/external/cddl/osnet/lib/libdtrace: Makefile Log Message: external/cddl/osnet: Do not suppress the warning output for libdtrace. Changed -Wno-maybe-uninitialized to

CVS commit: src/external/bsd/iscsi/dist/src/lib

2020-03-16 Thread Santhosh Raju
Module Name:src Committed By: fox Date: Tue Mar 17 00:57:55 UTC 2020 Modified Files: src/external/bsd/iscsi/dist/src/lib: initiator.c Log Message: external/bsd/iscsi: Fix -Werror=maybe-uninitialized error in initiator.c. Error was reported when build.sh was run with

CVS commit: src/external/cddl/osnet/dist/uts/common/fs/zfs

2020-03-16 Thread Santhosh Raju
Module Name:src Committed By: fox Date: Tue Mar 17 00:54:03 UTC 2020 Modified Files: src/external/cddl/osnet/dist/uts/common/fs/zfs: zfs_acl.c Log Message: external/cddl/osnet: Fix -Werror=maybe-uninitialized error in zfs_acl.c. Detected by build.sh with

CVS commit: src/external/cddl/osnet/lib/libdtrace

2020-03-16 Thread Santhosh Raju
Module Name:src Committed By: fox Date: Tue Mar 17 00:50:12 UTC 2020 Modified Files: src/external/cddl/osnet/lib/libdtrace: Makefile Log Message: external/cddl/osnet: Supress -Werror=maybe-uninitialized error in libdtrace. It looks like this is a false positive, since

CVS commit: src/external/cddl/osnet/dist/uts/common/fs/zfs

2020-03-09 Thread Santhosh Raju
Module Name:src Committed By: fox Date: Mon Mar 9 15:40:50 UTC 2020 Modified Files: src/external/cddl/osnet/dist/uts/common/fs/zfs: metaslab.c Log Message: external/cddl/osnet: Fix possible null pointer access. Detected by UBSan and fixed upstream, pick only the fix

CVS commit: src/external/cddl/osnet/dist/uts/common/fs/zfs

2020-03-09 Thread Santhosh Raju
Module Name:src Committed By: fox Date: Mon Mar 9 15:37:46 UTC 2020 Modified Files: src/external/cddl/osnet/dist/uts/common/fs/zfs: dmu_tx.c spa.c Log Message: external/cddl/osnet: Fix possible signed integer overflow Detected by UBSan and fixed upstream Cherry-pick:

CVS commit: src/common/lib/libc/stdlib

2020-02-22 Thread Santhosh Raju
Module Name:src Committed By: fox Date: Sat Feb 22 14:47:29 UTC 2020 Modified Files: src/common/lib/libc/stdlib: random.c Log Message: common/lib/libc/stdlib: Fix possible signed integer overflow. common/lib/libc/stdlib/random.c:482:6 can result in signed integer

CVS commit: src/external/mpl/dhcp/bin/server

2020-02-11 Thread Santhosh Raju
Module Name:src Committed By: fox Date: Wed Feb 12 00:41:50 UTC 2020 Modified Files: src/external/mpl/dhcp/bin/server: Makefile Log Message: external/mpl/dhcp: Fix build failure under LLVM. -Wno-error= flag now only applies to gcc 8 and not to LLVM based builds.

CVS commit: src/external/gpl3/gcc/usr.bin

2020-02-11 Thread Santhosh Raju
Module Name:src Committed By: fox Date: Wed Feb 12 00:36:38 UTC 2020 Modified Files: src/external/gpl3/gcc/usr.bin/cc1: Makefile src/external/gpl3/gcc/usr.bin/cc1obj: Makefile Log Message: external/gpl3/gcc: Fix build failure under LLVM. -Wno-error= flag now only

CVS commit: src/external/bsd/ipf/bin

2020-02-11 Thread Santhosh Raju
Module Name:src Committed By: fox Date: Wed Feb 12 00:30:48 UTC 2020 Modified Files: src/external/bsd/ipf/bin/ipmon: Makefile src/external/bsd/ipf/bin/ipsend: Makefile Log Message: external/bsd/ipf: Fix build failure under LLVM. -Wno-error= flag now only applies

CVS commit: src/usr.sbin/ypserv/makedbm

2020-02-09 Thread Santhosh Raju
Module Name:src Committed By: fox Date: Sun Feb 9 15:52:48 UTC 2020 Modified Files: src/usr.sbin/ypserv/makedbm: Makefile Log Message: usr.sbin/ypserv: Suppress -Werror=format-truncation= error. Add GCC_NO_FORMAT_TRUNCATION makedbm.c to prevent build failure. Error was

CVS commit: src/usr.sbin/timed/timed

2020-02-09 Thread Santhosh Raju
Module Name:src Committed By: fox Date: Sun Feb 9 15:13:28 UTC 2020 Modified Files: src/usr.sbin/timed/timed: Makefile Log Message: usr.sbin/timed: Suppress -Werror=stringop-truncation error. Add GCC_NO_STRINGOP_TRUNCATION master.c to prevent build failure. Error was

CVS commit: src/usr.sbin/srtconfig

2020-02-09 Thread Santhosh Raju
Module Name:src Committed By: fox Date: Sun Feb 9 15:10:31 UTC 2020 Modified Files: src/usr.sbin/srtconfig: Makefile Log Message: usr.sbin/srtconfig: Suppress -Werror=stringop-truncation error. Add GCC_NO_STRINGOP_TRUNCATION to srtconfig.c to prevent build failure.

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

2020-02-09 Thread Santhosh Raju
Module Name:src Committed By: fox Date: Sun Feb 9 08:10:26 UTC 2020 Modified Files: src/usr.bin/xlint/xlint: xlint.c Log Message: usr.bin/xlint: Fix -Werror=format-overflow= error. Replace sprintf(3) with snprintf(3). Error was reported when build.sh was run with

CVS commit: src/external/gpl3/gcc/usr.bin

2020-02-09 Thread Santhosh Raju
Module Name:src Committed By: fox Date: Sun Feb 9 08:04:40 UTC 2020 Modified Files: src/external/gpl3/gcc/usr.bin/cc1: Makefile src/external/gpl3/gcc/usr.bin/cc1obj: Makefile Log Message: external/gpl3/gcc: Suppress -Werror=format-overflow error. Add

CVS commit: src/external/mpl/dhcp/bin/server

2020-02-09 Thread Santhosh Raju
Module Name:src Committed By: fox Date: Sun Feb 9 07:59:44 UTC 2020 Modified Files: src/external/mpl/dhcp/bin/server: Makefile Log Message: external/mpl/dhcp: Suppress -Werror=format-overflow error. Add -Wno-error=format-overflow mdb6.c to prevent build failure. Error

CVS commit: src/external/cddl/osnet/usr.bin/ctfconvert

2020-02-08 Thread Santhosh Raju
Module Name:src Committed By: fox Date: Sun Feb 9 07:55:13 UTC 2020 Modified Files: src/external/cddl/osnet/usr.bin/ctfconvert: Makefile Log Message: external/cddl/osnet: Suppress -Werror=stringop-truncation error. Add GCC_NO_STRINGOP_TRUNCATION dwarf.c to prevent build

CVS commit: src/external/bsd/ipf/bin/ipsend

2020-02-08 Thread Santhosh Raju
Module Name:src Committed By: fox Date: Sun Feb 9 07:51:20 UTC 2020 Modified Files: src/external/bsd/ipf/bin/ipsend: Makefile Log Message: external/bsd/ipf: Suppress -Werror=maybe-uninitialized error. Add -Wno-error=maybe-uninitialized in ipsopt.c to prevent build

CVS commit: src/external/bsd/ipf/bin/ipmon

2020-02-08 Thread Santhosh Raju
Module Name:src Committed By: fox Date: Sun Feb 9 07:47:50 UTC 2020 Modified Files: src/external/bsd/ipf/bin/ipmon: Makefile Log Message: external/bsd/ipf: Suppress -Werror=format-overflow= error. Add -Wno-error=format-overflow in ipmon.c to prevent build failure.

CVS commit: src/usr.bin/tftp

2020-02-08 Thread Santhosh Raju
Module Name:src Committed By: fox Date: Sat Feb 8 13:33:56 UTC 2020 Modified Files: src/usr.bin/tftp: Makefile Log Message: user.bin/tftp: Suppress -Werror=format-overflow error. Add -Wno-error=format-overflow tftp.c to prevent build failure. Error was reported when

CVS commit: src/external/bsd/ntp/bin/ntpd

2020-02-08 Thread Santhosh Raju
Module Name:src Committed By: fox Date: Sat Feb 8 13:20:10 UTC 2020 Modified Files: src/external/bsd/ntp/bin/ntpd: Makefile Log Message: external/bsd/ntp: Suppress -Werror=stringop-truncation error. Add GCC_NO_STRINGOP_TRUNCATION to refclock_jjy.c to prevent build

CVS commit: src/usr.sbin/fstyp

2020-02-08 Thread Santhosh Raju
Module Name:src Committed By: fox Date: Sat Feb 8 12:56:56 UTC 2020 Modified Files: src/usr.sbin/fstyp: exfat.c Log Message: usr.sbin/fstyp: Fix -Werror=conversion error. Type cast the size_t to uint32_t to prevent implicit type conversion errors. Error was reported

CVS commit: src/usr.bin/talk

2020-02-08 Thread Santhosh Raju
Module Name:src Committed By: fox Date: Sat Feb 8 12:53:29 UTC 2020 Modified Files: src/usr.bin/talk: Makefile Log Message: usr.bin/talk: Suppress -Werror=stringop-truncation error. Add GCC_NO_STRINGOP_TRUNCATION to get_names.c to prevent build failure. Error was

CVS commit: src/external/bsd/dhcpcd/dist/src

2020-02-08 Thread Santhosh Raju
Module Name:src Committed By: fox Date: Sat Feb 8 12:17:16 UTC 2020 Modified Files: src/external/bsd/dhcpcd/dist/src: dhcp.c Log Message: external/bsd/dhcpcd: Fix a -Wconversion warning. Type cast uint16_t to size_t to prevent implicit type conversion. Error was

CVS commit: src/usr.sbin/altq/altqstat

2020-02-07 Thread Santhosh Raju
Module Name:src Committed By: fox Date: Sat Feb 8 01:01:31 UTC 2020 Modified Files: src/usr.sbin/altq/altqstat: Makefile Log Message: usr.sbin/altq: Suppress -Werror=stringop-truncation error. Add GCC_NO_STRINGOP_TRUNCATION to quip_client.c to prevent build failure.

CVS commit: src/games/hack

2020-02-07 Thread Santhosh Raju
Module Name:src Committed By: fox Date: Sat Feb 8 00:59:55 UTC 2020 Modified Files: src/games/hack: Makefile Log Message: games/hack: Suppress -Werror=stringop-truncation error. Add GCC_NO_STRINGOP_TRUNCATION to hack.end.c to prevent build failure. Error was reported

CVS commit: src/games/hack

2020-02-07 Thread Santhosh Raju
Module Name:src Committed By: fox Date: Fri Feb 7 22:04:02 UTC 2020 Modified Files: src/games/hack: hack.end.c Log Message: games/hack: Revert the strlcpy(1) change since this changes expected behavior from strncpy(3). Reviewed by: kamil@ To generate a diff of this

CVS commit: src/usr.sbin/altq/altqstat

2020-02-07 Thread Santhosh Raju
Module Name:src Committed By: fox Date: Fri Feb 7 21:53:20 UTC 2020 Modified Files: src/usr.sbin/altq/altqstat: quip_client.c Log Message: usr.sbin/altq: Revert the strlcpy(3) change since this changes expected behavior from strncpy(3). Reviewed by: kamil@ To

CVS commit: src/games/hack

2020-02-07 Thread Santhosh Raju
Module Name:src Committed By: fox Date: Fri Feb 7 20:34:18 UTC 2020 Modified Files: src/games/hack: hack.end.c Log Message: games/hack: Fix -Wstringop-truncation warning. Replace strncpy(3) with strlcpy(3). Error was reported when build.sh was run with

CVS commit: src/usr.bin/config

2020-02-07 Thread Santhosh Raju
Module Name:src Committed By: fox Date: Fri Feb 7 20:17:48 UTC 2020 Modified Files: src/usr.bin/config: Makefile Log Message: usr.bin/config: Suppress -Werror=stringop-truncation error. Add GCC_NO_STRINGOP_TRUNCATION to scan.c to prevent build failure. Error was

CVS commit: src/usr.sbin/altq/altqstat

2020-02-07 Thread Santhosh Raju
Module Name:src Committed By: fox Date: Fri Feb 7 20:13:26 UTC 2020 Modified Files: src/usr.sbin/altq/altqstat: quip_client.c Log Message: usr.sbin/altq: Fix -Wstringop-truncation warning. Looks like the original intention was to truncate the string at len. Replace

CVS commit: src/bin/sh

2020-02-06 Thread Santhosh Raju
Module Name:src Committed By: fox Date: Fri Feb 7 01:25:08 UTC 2020 Modified Files: src/bin/sh: main.c Log Message: bin/sh: Fixes -Werror=shadow causing build breaks. Conflicting variable name, sigset_t sigs has been renamed to sigset_t mask Reviewed by: kamil@ To

CVS commit: src/games/battlestar

2020-02-06 Thread Santhosh Raju
Module Name:src Committed By: fox Date: Thu Feb 6 22:09:43 UTC 2020 Modified Files: src/games/battlestar: parse.c Log Message: games/battlestar: Replace snprintf(3) with strlcpy(3) for better performance. Reviewed by: kamil@ To generate a diff of this commit: cvs

CVS commit: src/games/battlestar

2020-02-05 Thread Santhosh Raju
Module Name:src Committed By: fox Date: Wed Feb 5 20:11:54 UTC 2020 Modified Files: src/games/battlestar: parse.c Log Message: games/battlestar: Fix the -Werror=restrict warning. Replace strcpy(1) with the safer snprintf(3) which guarantees NULL termination of strings.

CVS commit: src/bin/csh

2020-02-05 Thread Santhosh Raju
Module Name:src Committed By: fox Date: Wed Feb 5 20:06:17 UTC 2020 Modified Files: src/bin/csh: sem.c Log Message: bin/csh: Fix the -Wclobber warning. Mark the variable as volatile as it can be clobbered when a vfork occurs. Error was reported when build.sh was run

CVS commit: src/tests/sys/uvm

2019-01-16 Thread Santhosh Raju
Module Name:src Committed By: fox Date: Wed Jan 16 13:54:17 UTC 2019 Modified Files: src/tests/sys/uvm: t_uvm_physseg.c Log Message: Fixed issues with uvm_page_physunload_delete_end test case. 1. "avail_start" and "start" were different, resulting in unreachable code in

CVS commit: src/tests/sys/uvm

2019-01-16 Thread Santhosh Raju
Module Name:src Committed By: fox Date: Wed Jan 16 13:45:29 UTC 2019 Modified Files: src/tests/sys/uvm: t_uvm_physseg.c Log Message: Fixed issues with uvm_physseg_atboot_free_leak test case. "\n" in ATF discriptions make it behave in weird ways, like saying "this test is

CVS commit: src/tests/sys/uvm

2019-01-16 Thread Santhosh Raju
Module Name:src Committed By: fox Date: Wed Jan 16 13:35:51 UTC 2019 Modified Files: src/tests/sys/uvm: t_uvm_physseg.c Log Message: Fixed issues with uvm_physseg_plug test case. There is a condition check which failed for VM_PHYSSEG_MAX == 2 (not for 1 or 3 and above),

CVS commit: src/tests/sys/uvm

2019-01-16 Thread Santhosh Raju
Module Name:src Committed By: fox Date: Wed Jan 16 13:21:02 UTC 2019 Modified Files: src/tests/sys/uvm: t_uvm_physseg.c Log Message: Fixed the build failures caused by incompatible type comparisons when VM_PHYSSEG is > 1. Reviewed by To generate a diff of this commit:

CVS commit: src/tests/sys/uvm

2018-12-17 Thread Santhosh Raju
Module Name:src Committed By: fox Date: Tue Dec 18 07:11:35 UTC 2018 Modified Files: src/tests/sys/uvm: t_uvm_physseg.c Log Message: Fixed the build failures caused by incompatible type comparisons. Reviewed by To generate a diff of this commit: cvs rdiff -u -r1.3

CVS commit: src/sys/dev/usb

2018-12-13 Thread Santhosh Raju
Module Name:src Committed By: fox Date: Thu Dec 13 16:20:20 UTC 2018 Modified Files: src/sys/dev/usb: usbdevs Log Message: Add Logitech Gamepad F310 and Logitech Dual Action Gamepad To generate a diff of this commit: cvs rdiff -u -r1.762 -r1.763 src/sys/dev/usb/usbdevs