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 590ecd5contrib/binutils Makefile.in, contrib/binutils/bfd configure

Merge remote-tracking branch 'origin/freebsd/current/master' into hardened/current/master
DeltaFile
+0-49,485contrib/binutils/Makefile.in
+0-22,860contrib/binutils/bfd/configure
+0-20,907contrib/binutils/gas/config/tc-arm.c
+0-17,032contrib/binutils/binutils/configure
+0-16,200contrib/binutils/gas/configure
+0-15,450contrib/binutils/gas/config/tc-mips.c
+0-141,9341,224 files not shown
+144-1,133,4961,230 files

HardenedBSD/src 17f6de2gnu/usr.bin/binutils/libbfd bfd.h, gnu/usr.bin/gdb/arch/arm config.h armfbsd-nat.c

Retire obsolete GDB 6.1.1

GDB 6.1.1 was released in June 2004 and is long obsolete. It does not
support all of the architectures that FreeBSD does, and imposes
limitations on the FreeBSD kernel build, such as the continued use of
DWARF2 debugging information.

It was kept (in /usr/libexec/) only for use by crashinfo(8), which
extracts some basic information from a kernel core dump after a crash.
Crashinfo already prefers gdb from port/package if installed.

Future work may add kernel debug support to LLDB or find another path
for crashinfo's needs, but in any case we do not want to ship the
excessively outdated GDB in FreeBSD 13.

Sponsored by:   The FreeBSD Foundation
Differential Revision:  https://reviews.freebsd.org/D27610
DeltaFile
+0-5,410gnu/usr.bin/binutils/libbfd/bfd.h
+0-1,799gnu/usr.bin/gdb/libgdb/fbsd-threads.c
+0-1,265gnu/usr.bin/gdb/gdbserver/fbsd-low.c
+0-562gnu/usr.bin/gdb/arch/arm/config.h
+0-552gnu/usr.bin/gdb/arch/arm/armfbsd-nat.c
+0-550gnu/usr.bin/gdb/arch/powerpc/config.h
+0-10,13895 files not shown
+8-22,013101 files

HardenedBSD/src 1c0ea32gnu/usr.bin/binutils/libbfd bfd.h, gnu/usr.bin/gdb/arch/amd64 config.h

Retire obsolete GDB 6.1.1

GDB 6.1.1 was released in June 2004 and is long obsolete. It does not
support all of the architectures that FreeBSD does, and imposes
limitations on the FreeBSD kernel build, such as the continued use of
DWARF2 debugging information.

It was kept (in /usr/libexec/) only for use by crashinfo(8), which
extracts some basic information from a kernel core dump after a crash.
Crashinfo already prefers gdb from port/package if installed.

Future work may add kernel debug support to LLDB or find another path
for crashinfo's needs, but in any case we do not want to ship the
excessively outdated GDB in FreeBSD 13.

Sponsored by:   The FreeBSD Foundation
Differential Revision:  https://reviews.freebsd.org/D27610
DeltaFile
+0-5,410gnu/usr.bin/binutils/libbfd/bfd.h
+0-1,799gnu/usr.bin/gdb/libgdb/fbsd-threads.c
+0-1,265gnu/usr.bin/gdb/gdbserver/fbsd-low.c
+0-562gnu/usr.bin/gdb/arch/arm/config.h
+0-552gnu/usr.bin/gdb/arch/arm/armfbsd-nat.c
+0-550gnu/usr.bin/gdb/arch/amd64/config.h
+0-10,13895 files not shown
+8-22,013101 files

HardenedBSD/src 61eedeashare/colldef zh_CN.GB18030.src zh_CN.UTF-8.src, share/ctypedef C.UTF-8.src

Merge remote-tracking branch 'upstream/hardened/current/master' into hardened/current/safestack-arm64

Conflicts:
        contrib/llvm/tools/clang/lib/Driver/ToolChains/FreeBSD.cpp (unresolved)
        lib/libclang_rt/Makefile (unresolved)
DeltaFile
+70,239-70,390share/colldef/zh_CN.GB18030.src
+42,270-42,546share/colldef/zh_CN.UTF-8.src
+36,985-37,199share/colldef/zh_CN.GBK.src
+20,052-20,058share/colldef/ko_KR.UTF-8.src
+35,064-0share/ctypedef/C.UTF-8.src
+16,817-16,879share/colldef/zh_CN.GB2312.src
+221,427-187,07215,426 files not shown
+2,012,059-1,265,00315,432 files

HardenedBSD/src fcf5119contrib/mandoc roff.c mdoc.7, contrib/mdocml roff.c mdoc.7

MFH r338661 through r339200.

Sponsored by:   The FreeBSD Foundation
DeltaFile
+3,838-0contrib/mandoc/roff.c
+0-3,748contrib/mdocml/roff.c
+3,244-0contrib/mandoc/mdoc.7
+0-3,231contrib/mdocml/mdoc.7
+2,968-0contrib/mandoc/mdoc_validate.c
+0-2,906contrib/mdocml/mdoc_validate.c
+10,050-9,885761 files not shown
+76,028-72,546767 files

HardenedBSD/src 01d4e21 (r339201)contrib/mandoc roff.c mdoc.7, contrib/mdocml roff.c mdoc.7

MFH r338661 through r339200.

Sponsored by:   The FreeBSD Foundation
DeltaFile
+3,838-0contrib/mandoc/roff.c
+0-3,748contrib/mdocml/roff.c
+3,244-0contrib/mandoc/mdoc.7
+0-3,231contrib/mdocml/mdoc.7
+2,968-0contrib/mandoc/mdoc_validate.c
+0-2,906contrib/mdocml/mdoc_validate.c
+10,050-9,885761 files not shown
+76,028-72,546767 files

HardenedBSD/src ce44d80 (r338988)contrib/mandoc roff.c mdoc.7, contrib/mdocml roff.c mdoc.7

Merge ^/head r338731 through r338987.
DeltaFile
+3,838-0contrib/mandoc/roff.c
+0-3,748contrib/mdocml/roff.c
+3,244-0contrib/mandoc/mdoc.7
+0-3,231contrib/mdocml/mdoc.7
+2,968-0contrib/mandoc/mdoc_validate.c
+0-2,906contrib/mdocml/mdoc_validate.c
+10,050-9,885642 files not shown
+73,523-71,109648 files

HardenedBSD/src 3e58373contrib/mandoc roff.c mdoc.7, contrib/mdocml roff.c mdoc.7

Merge ^/head r338731 through r338987.
DeltaFile
+3,838-0contrib/mandoc/roff.c
+0-3,748contrib/mdocml/roff.c
+3,244-0contrib/mandoc/mdoc.7
+0-3,231contrib/mdocml/mdoc.7
+2,968-0contrib/mandoc/mdoc_validate.c
+0-2,906contrib/mdocml/mdoc_validate.c
+10,050-9,885642 files not shown
+73,523-71,109648 files

HardenedBSD/src 80b75bacontrib/mandoc roff.c mdoc.7, contrib/mdocml roff.c mdoc.7

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

Conflicts:
        share/man/man5/src.conf.5 (unresolved)
        sys/conf/kern.pre.mk (unresolved)
DeltaFile
+3,838-0contrib/mandoc/roff.c
+0-3,748contrib/mdocml/roff.c
+3,244-0contrib/mandoc/mdoc.7
+0-3,231contrib/mdocml/mdoc.7
+2,968-0contrib/mandoc/mdoc_validate.c
+0-2,906contrib/mdocml/mdoc_validate.c
+10,050-9,885520 files not shown
+71,134-70,116526 files

HardenedBSD/src 18b3f22share/man/man5 src.conf.5, sys/amd64/amd64 pmap.c support.S

Merge remote-tracking branch 'origin/hardened/current/master' into hardened/current/unstable

* origin/hardened/current/master:
  HBSD: Regen src.conf.5
  HBSD: Disable reproducible builds by default
  MFV r338866: 9700 ZFS resilvered mirror does not balance reads
  HBSD: Resolve merge conflict
  Use the GNU as-compatible .endm instead of .endmacro.
  Convert x86 TLB top-level invalidation functions to ifuncs.
  libc: require ifunc-capable linker for amd64/i386
  Disable sbrk() use in GNU tools.
  amd64: even up copyin/copyout with memcpy + other cleanup
  Fix possible NULL pointer dereference in ffec_alloc_mbufcl().
  Include kernel ident in uname
  select: stop doing zero-sized memsets
  remove double space between branch and version in kernel ident
  amd64: check for small size in memmove, memcpy and memset
  Add an installer option to disable destructive dtrace.
  Mention setting $lines to 0 in ddb can disable paging
DeltaFile
+240-137sys/amd64/amd64/pmap.c
+43-30sys/amd64/amd64/support.S
+5-5share/man/man5/src.conf.5
+5-0usr.sbin/bsdinstall/scripts/hardening
+3-2sys/kern/sys_generic.c
+4-1sys/cddl/contrib/opensolaris/uts/common/fs/zfs/spa.c
+300-17517 files not shown
+323-19123 files

HardenedBSD/src f918500gnu/usr.bin/cc/libiberty config.h, gnu/usr.bin/gdb/arch/amd64 config.h

Merge branch 'freebsd/current/master' into hardened/current/master

* freebsd/current/master:
  MFV r338866: 9700 ZFS resilvered mirror does not balance reads
  Use the GNU as-compatible .endm instead of .endmacro.
  Convert x86 TLB top-level invalidation functions to ifuncs.
  libc: require ifunc-capable linker for amd64/i386
  Disable sbrk() use in GNU tools.
DeltaFile
+240-137sys/amd64/amd64/pmap.c
+4-4sys/amd64/amd64/support.S
+5-0lib/libc/Makefile
+4-1sys/cddl/contrib/opensolaris/uts/common/fs/zfs/spa.c
+1-1gnu/usr.bin/cc/libiberty/config.h
+1-1gnu/usr.bin/gdb/arch/amd64/config.h
+255-14410 files not shown
+265-15416 files

HardenedBSD/src 7c1dc0fgnu/usr.bin/binutils/as config.h, gnu/usr.bin/binutils/ld config.h

Disable sbrk() use in GNU tools.

We're studing the possibility of deprecating sbrk().  To make it easier
we're removing unnecessicary uses in the base system.  None of these
tools require sbrk(), but they agressively prefer it for no good reason.

Reviewed by:    andrew
Approved by:    re (kib)
Sponsored by:   DARPA, AFRL
Differential Revision:  https://reviews.freebsd.org/D16141
DeltaFile
+1-1gnu/usr.bin/binutils/as/config.h
+1-1gnu/usr.bin/binutils/ld/config.h
+1-1gnu/usr.bin/binutils/libbinutils/config.h
+1-1gnu/usr.bin/binutils/libiberty/config.h
+1-1gnu/usr.bin/cc/libiberty/config.h
+1-1gnu/usr.bin/gdb/arch/amd64/config.h
+6-66 files not shown
+12-1212 files

HardenedBSD/src 397358d (r338860)gnu/usr.bin/binutils/as config.h, gnu/usr.bin/binutils/libbinutils config.h

Disable sbrk() use in GNU tools.

We're studing the possibility of deprecating sbrk().  To make it easier
we're removing unnecessicary uses in the base system.  None of these
tools require sbrk(), but they agressively prefer it for no good reason.

Reviewed by:    andrew
Approved by:    re (kib)
Sponsored by:   DARPA, AFRL
Differential Revision:  https://reviews.freebsd.org/D16141
DeltaFile
+1-1gnu/usr.bin/binutils/as/config.h
+1-1gnu/usr.bin/binutils/libbinutils/config.h
+1-1gnu/usr.bin/binutils/libiberty/config.h
+1-1gnu/usr.bin/cc/libiberty/config.h
+1-1gnu/usr.bin/gdb/arch/amd64/config.h
+1-1gnu/usr.bin/gdb/arch/arm/config.h
+6-66 files not shown
+12-1212 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 fc0826a. Makefile.inc1, etc/mtree BSD.debug.dist

MFC r244236,r244408,r244915,r247054,r251512:

  Add a new knob WITH_DEBUG_FILES to control the building of standalone
  debug files for userland programs and libraries.  The "-g" debug flag
  is automatically applied when WITH_DEBUG_FILES is set.

  The debug files are named ${prog}.debug and ${shlib}.debug for                  consistency with other systems and documentation.  In addition they are
  installed under /usr/lib/debug, to simplify the process of installing
  them if needed after a crash.  Users of bsd.{prog,lib}.mk outside of the
  base system place the standalone debug files in a .debug subdirectory.
  GDB automatically searches both of these directories for standalone
  debug files.
DeltaFile
+59-7share/mk/bsd.prog.mk
+46-4share/mk/bsd.lib.mk
+48-0etc/mtree/BSD.debug.dist
+15-0Makefile.inc1
+11-0share/mk/bsd.own.mk
+7-0tools/build/options/WITH_DEBUG_FILES
+186-1114 files not shown
+203-3520 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 390d840. Makefile.inc1, etc/mtree BSD.debug.dist

Add a new knob WITH_DEBUG_FILES to control the building of standalone
debug files for userland programs and libraries.  The "-g" debug flag
is automatically applied when WITH_DEBUG_FILES is set.

The debug files are now named ${prog}.debug and ${shlib}.debug for
consistency with other systems and documentation.  In addition they are
installed under /usr/lib/debug, to simplify the process of installing
them if needed after a crash.  Users of bsd.{prog,lib}.mk outside of the
base system place the standalone debug files in a .debug subdirectory.
GDB automatically searches both of these directories for standalone
debug files.

Thanks to everyone who contributed changes, review, and testing during
development.
DeltaFile
+57-7share/mk/bsd.prog.mk
+48-0etc/mtree/BSD.debug.dist
+28-10share/mk/bsd.lib.mk
+15-0Makefile.inc1
+10-0share/mk/bsd.own.mk
+7-0tools/build/options/WITH_DEBUG_FILES
+165-1713 files not shown
+180-4119 files

HardenedBSD/src 42f8c5b (r251512). Makefile.inc1, etc/mtree BSD.debug.dist

Add a new knob WITH_DEBUG_FILES to control the building of standalone
debug files for userland programs and libraries.  The "-g" debug flag
is automatically applied when WITH_DEBUG_FILES is set.

The debug files are now named ${prog}.debug and ${shlib}.debug for
consistency with other systems and documentation.  In addition they are
installed under /usr/lib/debug, to simplify the process of installing
them if needed after a crash.  Users of bsd.{prog,lib}.mk outside of the
base system place the standalone debug files in a .debug subdirectory.
GDB automatically searches both of these directories for standalone
debug files.

Thanks to everyone who contributed changes, review, and testing during
development.
DeltaFile
+57-7share/mk/bsd.prog.mk
+48-0etc/mtree/BSD.debug.dist
+28-10share/mk/bsd.lib.mk
+15-0Makefile.inc1
+10-0share/mk/bsd.own.mk
+7-0tools/build/options/WITH_DEBUG_FILES
+165-1713 files not shown
+180-4119 files

HardenedBSD/src a7d5f7e (r214084)contrib/libstdc++ configure, games/fortune/datfiles fortunes

A new jail(8) with a configuration file, to replace the work currently done
by /etc/rc.d/jail.
DeltaFile
+0-235,924share/dict/web2
+0-111,817contrib/libstdc++/configure
+0-76,205share/dict/web2a
+0-74,292sys/contrib/octeon-sdk/cvmx-csr-db.c
+0-73,991sys/contrib/octeon-sdk/cvmx-csr-typedefs.h
+0-59,651games/fortune/datfiles/fortunes
+0-631,88044,919 files not shown
+0-17,210,07844,925 files

HardenedBSD/src 09f9c89contrib/libstdc++ configure, games/fortune/datfiles fortunes

A new jail(8) with a configuration file, to replace the work currently done
by /etc/rc.d/jail.
DeltaFile
+0-235,924share/dict/web2
+0-111,817contrib/libstdc++/configure
+0-76,205share/dict/web2a
+0-74,292sys/contrib/octeon-sdk/cvmx-csr-db.c
+0-73,991sys/contrib/octeon-sdk/cvmx-csr-typedefs.h
+0-59,651games/fortune/datfiles/fortunes
+0-631,88044,919 files not shown
+0-17,210,07844,925 files