HardenedBSD/src 34ab832contrib/binutils Makefile.in, contrib/terminus ter-u32n.bdf ter-u32b.bdf

Merge remote-tracking branch 'origin/hardened/current/master' into hardened/current/cross-dso-cfi

Conflicts:
        Makefile.inc1 (unresolved)
        share/man/man5/src.conf.5 (unresolved)
        targets/pseudo/bootstrap-tools/Makefile (unresolved)
        tools/build/options/WITH_OFED_EXTRA (deleted)
DeltaFile
+71,590-432tools/tools/locale/etc/final-maps/widths.txt
+52,834-0contrib/terminus/ter-u32n.bdf
+52,834-0contrib/terminus/ter-u32b.bdf
+0-49,485contrib/binutils/Makefile.in
+47,418-0contrib/terminus/ter-u28b.bdf
+47,418-0contrib/terminus/ter-u28n.bdf
+272,094-49,91725,491 files not shown
+3,013,181-3,285,38525,497 files

HardenedBSD/src c7ce6b0contrib/libstdc++ configure, lib/clang/liblldb LLDBWrapLua.cpp

Merge branch 'hardened/current/master' into hardened/current/uninit-autoinit
DeltaFile
+0-111,817contrib/libstdc++/configure
+72,183-0lib/clang/liblldb/LLDBWrapLua.cpp
+71,590-432tools/tools/locale/etc/final-maps/widths.txt
+31,726-39,305share/ctypedef/ja_JP.eucJP.src
+59,521-0sys/contrib/dev/iwm/iwm-9000-34.fw.uu
+59,517-0sys/contrib/dev/iwm/iwm-9260-34.fw.uu
+294,537-151,55460,534 files not shown
+10,288,584-10,879,88160,540 files

HardenedBSD/src 34ff034gnu/usr.bin/grep dfa.c ChangeLog, sys/contrib/zstd/lib/compress zstd_compress.c

Merge branch 'freebsd/current/main' into hardened/current/newmaster

Conflicts:
        gnu/usr.bin/grep/Makefile (deleted)
        share/mk/src.opts.mk (unresolved)
        sys/amd64/amd64/pmap.c (unresolved)
        sys/arm64/arm64/pmap.c (unresolved)
        usr.bin/grep/Makefile (unresolved)
DeltaFile
+0-6,196sys/dev/fb/gallant12x22.c
+0-3,586gnu/usr.bin/grep/dfa.c
+0-2,477gnu/usr.bin/grep/ChangeLog
+0-1,867gnu/usr.bin/grep/grep.c
+1,343-413sys/contrib/zstd/lib/compress/zstd_compress.c
+1,608-0sys/net/route/fib_algo.c
+2,951-14,539426 files not shown
+12,841-32,821432 files

HardenedBSD/src 47d1ad2gnu/usr.bin/grep dfa.c ChangeLog

gnu: remove gnugrep and libgnuregex

Differential Revision:  https://reviews.freebsd.org/D27732
DeltaFile
+0-3,586gnu/usr.bin/grep/dfa.c
+0-2,477gnu/usr.bin/grep/ChangeLog
+0-1,867gnu/usr.bin/grep/grep.c
+0-1,303gnu/usr.bin/grep/search.c
+0-780gnu/usr.bin/grep/grep.1
+0-773gnu/usr.bin/grep/kwset.c
+0-10,78663 files not shown
+0-18,12969 files

HardenedBSD/src 6b2b71csys/cddl/contrib/opensolaris/uts/common/fs/zfs zfs_vfsops.c dbuf.c, usr.bin/tr str.c tr.c

Merge remote-tracking branch 'origin/hardened/current/master' into hardened/current/unstable
DeltaFile
+131-136sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vfsops.c
+136-12sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dbuf.c
+35-9usr.bin/tr/str.c
+37-1usr.bin/tr/tr.c
+22-9sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zio.c
+9-15sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dnode_sync.c
+370-18227 files not shown
+510-27733 files

HardenedBSD/src fe85063sys/cddl/contrib/opensolaris/uts/common/fs/zfs zfs_vfsops.c dbuf.c, usr.bin/tr str.c tr.c

Merge remote-tracking branch 'origin/hardened/current/master' into hardened/current/segvguard-ng
DeltaFile
+131-136sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vfsops.c
+136-12sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dbuf.c
+35-9usr.bin/tr/str.c
+37-1usr.bin/tr/tr.c
+22-9sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zio.c
+9-15sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dnode_sync.c
+370-18227 files not shown
+510-27733 files

HardenedBSD/src d3071dasys/cddl/contrib/opensolaris/uts/common/fs/zfs zfs_vfsops.c dbuf.c, usr.bin/tr str.c tr.c

Merge remote-tracking branch 'origin/hardened/current/master' into hardened/current/log
DeltaFile
+131-136sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vfsops.c
+136-12sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dbuf.c
+35-9usr.bin/tr/str.c
+37-1usr.bin/tr/tr.c
+22-9sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zio.c
+9-15sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dnode_sync.c
+370-18227 files not shown
+510-27733 files

HardenedBSD/src 77a05ddsys/cddl/contrib/opensolaris/uts/common/fs/zfs zfs_vfsops.c dbuf.c, usr.bin/tr str.c tr.c

Merge branch 'freebsd/current/master' into hardened/current/master
DeltaFile
+131-136sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vfsops.c
+136-12sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dbuf.c
+35-9usr.bin/tr/str.c
+37-1usr.bin/tr/tr.c
+22-9sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zio.c
+9-15sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dnode_sync.c
+370-18227 files not shown
+510-27733 files

HardenedBSD/src c38a06bgnu/usr.bin/grep dfa.c

Back out non-collating [a-z] ranges.
Instead of changing the whole course to another POSIX-permitted way
for consistency and uniformity I decide to completely ignore missing
regex fucntionality and focus on fixing bugs in what we have now,
too many small obstacles we have choicing other way, counting ports.
Corresponding libc changes are backed out in r302824.
DeltaFile
+0-5gnu/usr.bin/grep/dfa.c
+0-51 files

HardenedBSD/src c66f176 (r302833)gnu/usr.bin/grep dfa.c

Back out non-collating [a-z] ranges.
Instead of changing the whole course to another POSIX-permitted way
for consistency and uniformity I decide to completely ignore missing
regex fucntionality and focus on fixing bugs in what we have now,
too many small obstacles we have choicing other way, counting ports.
Corresponding libc changes are backed out in r302824.
DeltaFile
+0-5gnu/usr.bin/grep/dfa.c
+0-51 files

HardenedBSD/src c23b227contrib/ldns-host ldns-host.c, sys/arm/allwinner if_awg.c

Merge remote-tracking branch 'origin/hardened/current/master' into hardened/current/unstable
DeltaFile
+82-54usr.bin/mail/popen.c
+121-11sys/arm/allwinner/if_awg.c
+58-2usr.sbin/pw/tests/pw_usermod.sh
+47-10usr.sbin/pw/tests/pw_useradd.sh
+41-9contrib/ldns-host/ldns-host.c
+45-0usr.sbin/pw/tests/crypt.c
+394-8627 files not shown
+487-13033 files

HardenedBSD/src cd4a3cecontrib/ldns-host ldns-host.c, sys/arm/allwinner if_awg.c

Merge remote-tracking branch 'origin/hardened/current/master' into hardened/current/segvguard-ng
DeltaFile
+82-54usr.bin/mail/popen.c
+121-11sys/arm/allwinner/if_awg.c
+58-2usr.sbin/pw/tests/pw_usermod.sh
+47-10usr.sbin/pw/tests/pw_useradd.sh
+41-9contrib/ldns-host/ldns-host.c
+45-0usr.sbin/pw/tests/crypt.c
+394-8627 files not shown
+487-13033 files

HardenedBSD/src 1e9331dcontrib/ldns-host ldns-host.c, sys/arm/allwinner if_awg.c

Merge remote-tracking branch 'origin/hardened/current/master' into hardened/current/log
DeltaFile
+82-54usr.bin/mail/popen.c
+121-11sys/arm/allwinner/if_awg.c
+58-2usr.sbin/pw/tests/pw_usermod.sh
+47-10usr.sbin/pw/tests/pw_useradd.sh
+41-9contrib/ldns-host/ldns-host.c
+45-0usr.sbin/pw/tests/crypt.c
+394-8627 files not shown
+487-13033 files

HardenedBSD/src dc62d8dcontrib/ldns-host ldns-host.c, sys/arm/allwinner if_awg.c

Merge branch 'freebsd/current/master' into hardened/current/master
DeltaFile
+82-54usr.bin/mail/popen.c
+121-11sys/arm/allwinner/if_awg.c
+58-2usr.sbin/pw/tests/pw_usermod.sh
+47-10usr.sbin/pw/tests/pw_useradd.sh
+41-9contrib/ldns-host/ldns-host.c
+45-0usr.sbin/pw/tests/crypt.c
+394-8627 files not shown
+487-13033 files

HardenedBSD/src ea81c8d (r302781)gnu/usr.bin/grep dfa.c

After removing collation for [a-z] ranges in r302512, do it here too.

Instead of trying to expand whole range at regcomp() stage as we do,
GNU regex allocates separate ranges [start,end] set each character
is checked against, so collation is possible and turned on for ranges here.

When something like that will be implemented or our obsoleted regex code
will be replaced to something like TRE, and in case we decide to use
collation in [a-z] ranges, all changes related to r302512 can be backed out,
but now we need consistency.
DeltaFile
+5-0gnu/usr.bin/grep/dfa.c
+5-01 files

HardenedBSD/src aaae976gnu/usr.bin/grep dfa.c

After removing collation for [a-z] ranges in r302512, do it here too.

Instead of trying to expand whole range at regcomp() stage as we do,
GNU regex allocates separate ranges [start,end] set each character
is checked against, so collation is possible and turned on for ranges here.

When something like that will be implemented or our obsoleted regex code
will be replaced to something like TRE, and in case we decide to use
collation in [a-z] ranges, all changes related to r302512 can be backed out,
but now we need consistency.
DeltaFile
+5-0gnu/usr.bin/grep/dfa.c
+5-01 files

HardenedBSD/src 00d5789contrib/ntp CommitLog, contrib/sqlite3 sqlite3.c

Create branch for bhyve graphics import.
DeltaFile
+0-250,654tools/tools/locale/etc/final-maps/map.UTF-8
+0-235,924share/dict/web2
+0-209,729contrib/ntp/CommitLog
+0-189,304contrib/sqlite3/sqlite3.c
+0-148,958sys/dev/qlxgbe/ql_fw.c
+0-131,072crypto/heimdal/lib/sqlite/sqlite3.c
+0-1,165,64169,516 files not shown
+19,947-30,627,90869,522 files

HardenedBSD/src eb1a5f8contrib/sqlite3 sqlite3.c, crypto/heimdal/lib/sqlite sqlite3.c

Move ^/user/gjb/hacking/release-embedded up one directory, and remove
^/user/gjb/hacking since this is likely to be merged to head/ soon.

Sponsored by:   The FreeBSD Foundation
DeltaFile
+235,924-0share/dict/web2
+0-235,924release-embedded/share/dict/web2
+0-140,456release-embedded/contrib/sqlite3/sqlite3.c
+140,456-0contrib/sqlite3/sqlite3.c
+131,072-0crypto/heimdal/lib/sqlite/sqlite3.c
+0-131,072release-embedded/crypto/heimdal/lib/sqlite/sqlite3.c
+507,452-507,452115,432 files not shown
+25,340,105-25,340,105115,438 files

HardenedBSD/src 6b01bbfcontrib/sqlite3 sqlite3.c, crypto/heimdal/lib/sqlite sqlite3.c

Copy head at r259933 -> user/gjb/hacking/release-embedded for initial
inclusion of (at least) arm builds with the release.

Sponsored by:   The FreeBSD Foundation
DeltaFile
+0-235,924share/dict/web2
+235,924-0release-embedded/share/dict/web2
+140,456-0release-embedded/contrib/sqlite3/sqlite3.c
+0-140,456contrib/sqlite3/sqlite3.c
+0-131,072crypto/heimdal/lib/sqlite/sqlite3.c
+131,072-0release-embedded/crypto/heimdal/lib/sqlite/sqlite3.c
+507,452-507,452115,224 files not shown
+25,135,917-25,135,917115,230 files

HardenedBSD/src d1d0158 (r255263)contrib/apr configure, contrib/cvs/src sanity.sh

Merge from head
DeltaFile
+140,456-0contrib/sqlite3/sqlite3.c
+83,644-0sys/contrib/dev/ath/ath_hal/ar9300/osprey_reg_map_macro.h
+66,519-0sys/contrib/dev/ath/ath_hal/ar9300/scorpion_reg_map_macro.h
+30,703-0contrib/apr/configure
+0-30,254contrib/cvs/src/sanity.sh
+30,188-0sys/contrib/dev/iwn/iwlwifi-6000g2a-18.168.6.1.fw.uu
+351,510-30,25411,656 files not shown
+2,503,270-660,61611,662 files

HardenedBSD/src 62bb106contrib/apr configure, contrib/cvs/src sanity.sh

Merge from head
DeltaFile
+140,456-0contrib/sqlite3/sqlite3.c
+83,644-0sys/contrib/dev/ath/ath_hal/ar9300/osprey_reg_map_macro.h
+66,519-0sys/contrib/dev/ath/ath_hal/ar9300/scorpion_reg_map_macro.h
+30,703-0contrib/apr/configure
+0-30,254contrib/cvs/src/sanity.sh
+30,188-0sys/contrib/dev/iwn/iwlwifi-6000g2a-18.168.6.1.fw.uu
+351,510-30,25411,656 files not shown
+2,503,270-660,61611,662 files

HardenedBSD/src 40f65a4 (r254016)contrib/apr configure, contrib/cvs/src sanity.sh

IFC @ r254014
DeltaFile
+140,456-0contrib/sqlite3/sqlite3.c
+83,644-0sys/contrib/dev/ath/ath_hal/ar9300/osprey_reg_map_macro.h
+66,519-0sys/contrib/dev/ath/ath_hal/ar9300/scorpion_reg_map_macro.h
+30,703-0contrib/apr/configure
+0-30,254contrib/cvs/src/sanity.sh
+27,766-0contrib/subversion/configure
+349,088-30,2549,728 files not shown
+1,991,188-613,2679,734 files

HardenedBSD/src baae5efcontrib/apr configure, contrib/cvs/src sanity.sh

IFC @ r254014
DeltaFile
+140,456-0contrib/sqlite3/sqlite3.c
+83,644-0sys/contrib/dev/ath/ath_hal/ar9300/osprey_reg_map_macro.h
+66,519-0sys/contrib/dev/ath/ath_hal/ar9300/scorpion_reg_map_macro.h
+30,703-0contrib/apr/configure
+0-30,254contrib/cvs/src/sanity.sh
+27,766-0contrib/subversion/configure
+349,088-30,2549,728 files not shown
+1,991,188-613,2679,734 files

HardenedBSD/src 0ac0298contrib/apr configure, contrib/apr-util configure

MFC @r219886.
DeltaFile
+140,456-0contrib/sqlite3/sqlite3.c
+83,644-0sys/contrib/dev/ath/ath_hal/ar9300/osprey_reg_map_macro.h
+66,519-0sys/contrib/dev/ath/ath_hal/ar9300/scorpion_reg_map_macro.h
+65,039-0tools/tools/cxgbetool/reg_defs_t5.c
+37,786-0contrib/apr-util/configure
+30,720-0contrib/apr/configure
+424,164-09,320 files not shown
+2,064,204-597,0109,326 files

HardenedBSD/src 552311f (r253405)contrib/apr configure, contrib/apr-util configure

IFC @253398
DeltaFile
+140,456-0contrib/sqlite3/sqlite3.c
+83,644-0sys/contrib/dev/ath/ath_hal/ar9300/osprey_reg_map_macro.h
+66,519-0sys/contrib/dev/ath/ath_hal/ar9300/scorpion_reg_map_macro.h
+65,039-0tools/tools/cxgbetool/reg_defs_t5.c
+37,786-0contrib/apr-util/configure
+30,720-0contrib/apr/configure
+424,164-010,866 files not shown
+2,242,417-779,77810,872 files

HardenedBSD/src cfe30d0 (r251991)contrib/apr configure, contrib/apr-util configure

Merge fresh head.
DeltaFile
+140,456-0contrib/sqlite3/sqlite3.c
+83,644-0sys/contrib/dev/ath/ath_hal/ar9300/osprey_reg_map_macro.h
+66,519-0sys/contrib/dev/ath/ath_hal/ar9300/scorpion_reg_map_macro.h
+65,039-0tools/tools/cxgbetool/reg_defs_t5.c
+37,786-0contrib/apr-util/configure
+30,720-0contrib/apr/configure
+424,164-014,987 files not shown
+2,853,377-989,56014,993 files

HardenedBSD/src 8a44d00gnu/usr.bin/grep dfa.c search.c

MFC     r250823:

grep: change some int types.

Change several int variables to size_t, ssize_t, or ptrdiff_t.
This should fix the bug described in CVE-2012-5667 when an input
line is so long that its length cannot be stored in an int
variable.

Obtained from:  NetBSD
DeltaFile
+6-5gnu/usr.bin/grep/dfa.c
+3-2gnu/usr.bin/grep/search.c
+2-2gnu/usr.bin/grep/grep.c
+11-93 files

HardenedBSD/src a054c02gnu/usr.bin/grep dfa.c search.c

grep: change some int types.

Change several int variables to size_t, ssize_t, or ptrdiff_t.
This should fix the bug described in CVE-2012-5667 when an input
line is so long that its length cannot be stored in an int
variable.

This is based on NetBSD's revision which says:

This change to NetBSD's version of GNU grep 2.5.1 (licenced under
GPLv2) was made without direct reference to any code licenced
under GPLv3.

Obtained from:  NetBSD
MFC after:      3 days
DeltaFile
+6-5gnu/usr.bin/grep/dfa.c
+3-2gnu/usr.bin/grep/search.c
+2-2gnu/usr.bin/grep/grep.c
+11-93 files

HardenedBSD/src 025069f (r250823)gnu/usr.bin/grep dfa.c search.c

grep: change some int types.

Change several int variables to size_t, ssize_t, or ptrdiff_t.
This should fix the bug described in CVE-2012-5667 when an input
line is so long that its length cannot be stored in an int
variable.

This is based on NetBSD's revision which says:

This change to NetBSD's version of GNU grep 2.5.1 (licenced under
GPLv2) was made without direct reference to any code licenced
under GPLv3.

Obtained from:  NetBSD
MFC after:      3 days
DeltaFile
+6-5gnu/usr.bin/grep/dfa.c
+3-2gnu/usr.bin/grep/search.c
+2-2gnu/usr.bin/grep/grep.c
+11-93 files

HardenedBSD/src c049833gnu/usr.bin/grep dfa.c search.c

Revert r250821 - This was not meant to be a direct commit.
(wrong tree)

Pointy hat:     me
DeltaFile
+5-6gnu/usr.bin/grep/dfa.c
+2-3gnu/usr.bin/grep/search.c
+2-2gnu/usr.bin/grep/grep.c
+9-113 files