diff options
authorGlen Barber <gjb@FreeBSD.org>2021-01-22 00:10:07 +0000
committerGlen Barber <gjb@FreeBSD.org>2021-01-22 00:10:07 +0000
commita53ce3fc4938e37d5ec89304846203d2083c61a2 (patch)
parent679e4cdabdc5a93e5c0d7cdf3fc52202a8de02ef (diff)
Bump CURRENT to 14.0
This one goes to 14. Approved by: re (implicit) Sponsored by: Rubicon Communications, LLC ("Netgate")
9 files changed, 14 insertions, 307 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1
index d9ef01eefde5..251993ef8b71 100644
--- a/Makefile.inc1
+++ b/Makefile.inc1
@@ -137,9 +137,9 @@ TARGET_ABI= gnueabi
MACHINE_ABI?= unknown
TARGET_ABI?= unknown
-TARGET_TRIPLE?= ${TARGET_ARCH:S/amd64/x86_64/:C/[hs]f$//:S/mipsn32/mips64/}-${TARGET_ABI}-freebsd13.0
+TARGET_TRIPLE?= ${TARGET_ARCH:S/amd64/x86_64/:C/[hs]f$//:S/mipsn32/mips64/}-${TARGET_ABI}-freebsd14.0
KNOWN_ARCHES?= aarch64/arm64 \
amd64 \
armv6/arm \
diff --git a/RELNOTES b/RELNOTES
index 136a6123ee72..a4f276592a73 100644
@@ -1,4 +1,4 @@
-Release notes for FreeBSD 13.0.
+Release notes for FreeBSD 14.0.
This file describes new user-visible features, changes and updates relevant to
users of binary FreeBSD releases. Each entry should describe the change in no
@@ -10,296 +10,3 @@ newline. Entries should be separated by a newline.
Changes to this file should not be MFCed.
- The aesni(4) and armv8crypto(4) devices are now included in
- GENERIC on amd64, i386, and arm64.
- Add support for enforcing W^X mapping policy for user
- processes. The policy is not enforced by default but can be
- enabled by setting the kern.elf32.allow_wx and
- kern.elf64.allow_wx sysctls to 0. Individual binaries can be
- exempted from the policy by elfctl(1) via the wxneeded
- feature.
- Add AES-XTS support to armv8crypto(4) providing accelerated
- software support for the default GELI cipher on arm64 systems.
- GDB 6.1.1 was removed. Users of crashinfo(8) should install the
- gdb package or devel/gdb port.
- The hme(4) driver was removed.
- Fixes the case where gssd will not startup because /usr is a separate
- local file system that is not yet mounted. It does not fix the case
- where /usr is a separately mounted remote file system (such as NFS).
- This latter case can be fixed by adding mountcritremote to the
- REQUIRED line. Unfortunately doing so implies that all Kerberized
- NFS mounts in /etc/fstab will need the "late" mount option.
- This was not done, since the requirement for "late" would introduce
- a POLA violation.
- This commit added a new startup scripts variable called
- nfsv4_server_only which uses the -R option on mountd added by r367026.
- When nfsv4_server_only is set to "YES" in /etc/rc.conf, the NFS server
- only handles NFSv4 and does not register with rpcbind. As such, rpcbind
- does not need to be running. Useful for sites which consider rpcbind a
- security issue.
- Kernel option ACPI_DMAR was renamed to IOMMU. amd64's IOMMU subsystem
- was split out from amd64 DMAR support and is now generic, i.e., it can
- be used by all architectures.
- A series of commits ending with r364896 added NFS over TLS
- to the kernel. This is believed to be compatible with
- the Internet Draft titled "Towards Remote Procedure Call Encryption
- By Default" (expected to soon become an RFC).
- The mount_nfs(8) and exports(5) man pages describe the mount and
- export option(s) related to NFS over TLS.
- For NFS over TLS to work, the rpctlscd(8) { client } or rpctlssd(8)
- { server } must be running on a kernel built with "options KERN_TLS"
- on an architecture where PMAP_HAS_DMAP != 0.
- Changes to one obscure devd event generated on resume need to
- be documented. The old form will still be generated in 13, but not
- in 14.
- Applications using regex(3), e.g. sed/grep, will no longer accept
- redundant escapes for most ordinary characters.
- SCTP support has been removed from GENERIC kernel configurations.
- The SCTP stack is now built as sctp.ko and can be dynamically loaded.
- Merge sendmail 8.16.1: See contrib/sendmail/RELEASE_NOTES for details.
- The safexcel(4) crypto offload driver has been added.
- nc(1) now implements SCTP mode, enabled by specifying the --sctp option.
- A new implementation of bc and dc has been imported. It offers
- better standards compliance, performance, localization and comes
- with extensive test cases that are optionally installed.
- Use WITHOUT_GH_BC=yes to build and install the world with the
- previous version instead of the new one, if required.
-r362158, r362163:
- struct export_args has changed so that the "user" specified for
- the -maproot and -mapall exports(5) options may be in more than
- 16 groups.
- sed(1) has learned about hex escapes (e.g. \x27) and will now do the
- right thing with them, removing the need for printf magic or obnoxious
- escaping in many scenarios.
-r361238, r361798, r361799:
- ZFS will now unconditionally reject read(2) of a directory with EISDIR.
- Additionally, read(2) of a directory is now rejected with EISDIR by
- default and may be re-enabled for non-ZFS filesystems that allow it with
- the sysctl(8) MIB 'security.bsd.allow_read_dir'.
- Aliases for grep to default to '-d skip' may be desired if commonly
- non-recursively grepping a list that includes directories and the
- possibility of EISDIR errors in stderr is not tolerable. Example
- aliases, commented out, have been installed in /root/.cshrc and
- /root/.shrc.
- Add exec.prepare and exec.release hooks for jail(8) and jail.conf(5).
- exec.prepare runs before mounts, so can be used to populate new jails.
- exec.release runs after unmounts, so can be used to remove ephemeral
- jails.
- Remove support for ARC4, Blowfish, Cast, DES, Triple DES, MD5,
- MD5-KPDK, MD5-HMAC, SHA1-KPDK, and Skipjack algorithms from
- the kernel open cryptographic framework (OCF).
- Remove support for ARC4, Blowfish, Cast, DES, Triple DES,
- MD5-HMAC, and Skipjack algorithms from /dev/crypto.
- Remove support for DES, Triple DES, Blowfish, Cast, and
- Camellia ciphers from IPsec(4). Remove support for MD5-HMAC,
- Keyed MD5, Keyed SHA1, and RIPEMD160-HMAC from IPsec(4).
- Remove support for Triple DES, Blowfish, and MD5 HMAC from
- geli(4).
- Remove support for DES, Triple DES, and RC4 from in-kernel GSS
- authentication.
- remove elf2aout.
- init(8), service(8), and cron(8) will now adopt user/class environment
- variables (excluding PATH, by default, which will be overwritten) by
- default. Notably, environment variables for all cron jobs and rc
- services can now be set via login.conf(5).
- sparc64 has been removed from FreeBSD.
- Adds support for NFSv4.2 (RFC-7862) and Extended Attributes
- (RFC-8276) to the NFS client and server.
- NFSv4.2 is comprised of several optional features that can be supported
- in addition to NFSv4.1. This patch adds the following optional features:
- - posix_fallocate()
- - intra server file range copying via the copy_file_range(2) syscall
- --> Avoiding data tranfer over the wire to/from the NFS client.
- - Extended attribute syscalls for "user" namespace attributes as defined
- by RFC-8276.
- For the client, NFSv4.2 is only used if the mount command line option
- minorversion=2 is specified.
- For the server, two new sysctls called vfs.nfsd.server_min_minorversion4
- and vfs.nfsd.server_max_minorversion4 have been added that allow
- sysadmins to limit the minor versions of NFSv4 supported by the nfsd
- server.
- Setting vfs.nfsd.server_max_minorversion4 to 0 or 1 will disable NFSv4.2
- on the server.
- armv5 support has been removed from FreeBSD.
- iwm(4) now supports most Intel 9260, 9460 and 9560 Wi-Fi devices.
- sqlite3 is updated to sqlite3-3.30.1.
- cron(8) now supports the -n (suppress mail on succesful run) and -q
- (suppress logging of command execution) options in the crontab format.
- See the crontab(5) manpage for details.
- ntpd is no longer by default locked in memory. rlimit memlock 32
- or rlimit memlock 0 can be used to restore this behaviour.
- rc.subr(8) now honors ${name}_env in all rc(8) scripts. Previously,
- environment variables set by a user via ${name}_env were ignored
- if the service defined a custom *_cmd variable to control the behavior
- of the run_rc_command function, e.g., start_cmd, instead of relying on
- the variables like command and command_args,
- dd(1) now supports conv=fsync, conv=fdatasync, oflag=fsync, oflag=sync,
- and iflag=fullblock flags, compatible with illumos and GNU.
- Add kernel-side support for in-kernel Transport Layer Security
- (KTLS). KTLS permits using sendfile(2) over sockets using
- TLS.
- WPA is updated from 2.8 to 2.9.
- Add probes for lockmgr(9) to the lockstat DTrace provider, add
- corresponding lockstat(1) events, and document the new probes in
- dtrace_lockstat.4.
- Intel RST is a new 'feature' that remaps NVMe devices from
- their normal location to part of the AHCI bar space. This
- will eliminate the need to set the BIOS SATA setting from RST
- to AHCI causing the nvme drive to be erased before FreeBSD
- will see the nvme drive. FreeBSD will now be able to see the
- nvme drive now in the default config.
-r351201, r351372:
- Add a vop_stdioctl() call, so that file systems that do not support
- holes will have a trivial implementation of lseek(SEEK_DATA/SEEK_HOLE).
- The algorithm appears to be compatible with the POSIX draft and
- the implementation in Linux for the case of a file system that
- does not support holes. Prior to this patch, lseek(2) would reply
- -1 with errno set to ENOTTY for SEEK_DATA/SEEK_HOLE on files in
- file systems that do not support holes.
- r351372 maps ENOTTY to EINVAL for lseek(SEEK_DATA/SEEK_HOLE) for
- any other cases, such as a ENOTTY return from vn_bmap_seekhole().
- The fuse driver has been renamed to fusefs(5) and been substantially
- rewritten. The new driver includes many bug fixes and performance
- enhancements, as well as the following user-visible features:
- * Optional kernel-side permissions checks (-o default_permissions)
- * mknod(2), socket(2), and pipe(2) support
- * server side locking with fcntl(2)
- * FUSE operations are now interruptible when mounted with -o intr
- * server side handling of UTIME_NOW during utimensat(2)
- * mount options may be updated with "mount -u"
- * fusefs file system may now be exported over NFS
- * RLIMIT_FSIZE support
- * support for fuse file systems using protocols as old as 7.4
- FUSE file system developers should also take note of the following new
- features:
- * The protocol level has been raised from 7.8 to 7.23
- * kqueue support on /dev/fuse
- * server-initiated cache invalidation via FUSE_NOTIFY_REPLY
- gnop(8) can now configure a delay to be applied to read and write
- request delays. See the -d, -q and -x parameters.
-r350315, r350316:
- Adds a Linux compatible copy_file_range(2) syscall.
- libcap_random(3) has been removed. Applications can use native
- APIs to get random data in capability mode.
- Add support for using unmapped mbufs with sendfile(2).
- nand(4) and related components have been removed.
- The UEFI loader now supports HTTP boot.
- bhyve(8) now implements a High Definition Audio (HDA) driver, allowing
- guests to play to and record audio data from the host.
- swapon(8) can now erase a swap device immediately before enabling it,
- similar to newfs(8)'s -E option. This behaviour can be specified by
- adding -E to swapon(8)'s command-line parameters, or by adding the
- "trimonce" option to a swap device's /etc/fstab entry.
- The following network drivers have been removed: bm(4), cs(4), de(4),
- ed(4), ep(4), ex(4), fe(4), pcn(4), sf(4), sn(4), tl(4), tx(4), txp(4),
- vx(4), wb(4), xe(4).
- Wired page accounting has been split into kernel wirings and user
- wirings (e.g., by mlock(2)). Kernel wirings no long count towards
- the global limit, which is renamed to vm.max_user_wired. bhyve -S
- allocates user-wired memory and is now subject to that limit.
diff --git a/UPDATING b/UPDATING
index cbb9000b17db..f3d70c3c1c2e 100644
@@ -11,7 +11,7 @@ handbook:
Items affecting the ports and packages system can be found in
/usr/ports/UPDATING. Please read that file before running portupgrade.
FreeBSD 13.x has many debugging features turned on, in both the kernel
and userland. These features attempt to detect incorrect use of
system primitives, and encourage loud failure through extra sanity
diff --git a/lib/clang/freebsd_cc_version.h b/lib/clang/freebsd_cc_version.h
index 54e8d6780158..ee830cb584a0 100644
--- a/lib/clang/freebsd_cc_version.h
+++ b/lib/clang/freebsd_cc_version.h
@@ -1,3 +1,3 @@
/* $FreeBSD$ */
-#define FREEBSD_CC_VERSION 1300007
+#define FREEBSD_CC_VERSION 1400000
diff --git a/lib/clang/include/lld/Common/Version.inc b/lib/clang/include/lld/Common/Version.inc
index 336fc0fdb136..4aef2b1a92c3 100644
--- a/lib/clang/include/lld/Common/Version.inc
+++ b/lib/clang/include/lld/Common/Version.inc
@@ -1,3 +1,3 @@
// $FreeBSD$
-#define LLD_VERSION_STRING "11.0.1"
+#define LLD_VERSION_STRING "14.0.0"
diff --git a/lib/clang/llvm.build.mk b/lib/clang/llvm.build.mk
index ef271e85bf3f..b248fb816364 100644
--- a/lib/clang/llvm.build.mk
+++ b/lib/clang/llvm.build.mk
@@ -40,7 +40,7 @@ TARGET_ABI= -gnueabi
VENDOR= unknown
-OS_VERSION= freebsd13.0
+OS_VERSION= freebsd14.0
LLVM_TARGET_TRIPLE?= ${TARGET_ARCH:C/amd64/x86_64/:C/[hs]f$//:S/mipsn32/mips64/}-${VENDOR}-${OS_VERSION}${TARGET_ABI}
LLVM_BUILD_TRIPLE?= ${BUILD_ARCH:C/amd64/x86_64/:C/[hs]f$//:S/mipsn32/mips64/}-${VENDOR}-${OS_VERSION}
diff --git a/share/mk/bsd.compat.mk b/share/mk/bsd.compat.mk
index d7d63bfe55db..e063415bcbfc 100644
--- a/share/mk/bsd.compat.mk
+++ b/share/mk/bsd.compat.mk
@@ -30,7 +30,7 @@ LIB32CPUFLAGS= -march=${COMPAT_CPUTYPE}
-LIB32CPUFLAGS+= -target x86_64-unknown-freebsd13.0
+LIB32CPUFLAGS+= -target x86_64-unknown-freebsd14.0
@@ -51,7 +51,7 @@ LIB32CPUFLAGS= -mcpu=${COMPAT_CPUTYPE}
.if ${COMPAT_COMPILER_TYPE} == "gcc"
-LIB32CPUFLAGS+= -target powerpc-unknown-freebsd13.0
+LIB32CPUFLAGS+= -target powerpc-unknown-freebsd14.0
LIB32_MACHINE= powerpc
@@ -69,9 +69,9 @@ LIB32CPUFLAGS= -march=${COMPAT_CPUTYPE}
.if ${COMPAT_ARCH:Mmips64el*} != ""
-LIB32CPUFLAGS= -target mipsel-unknown-freebsd13.0
+LIB32CPUFLAGS= -target mipsel-unknown-freebsd14.0
-LIB32CPUFLAGS= -target mips-unknown-freebsd13.0
+LIB32CPUFLAGS= -target mips-unknown-freebsd14.0
LIB32CPUFLAGS+= -mabi=32
diff --git a/sys/conf/newvers.sh b/sys/conf/newvers.sh
index 7d2ac14223b6..6482417b3ebe 100644
--- a/sys/conf/newvers.sh
+++ b/sys/conf/newvers.sh
@@ -53,8 +53,8 @@
if [ -n "${BRANCH_OVERRIDE}" ]; then
diff --git a/sys/sys/param.h b/sys/sys/param.h
index e6765e62a75b..19d6d3fb2d35 100644
--- a/sys/sys/param.h
+++ b/sys/sys/param.h
@@ -60,7 +60,7 @@
* in the range 5 to 9.
#undef __FreeBSD_version
-#define __FreeBSD_version 1300136 /* Master, propagated to newvers */
+#define __FreeBSD_version 1400000 /* Master, propagated to newvers */
* __FreeBSD_kernel__ indicates that this system uses the kernel of FreeBSD,