xref: /freebsd-13.1/RELNOTES (revision d330c24c)
1Release notes for FreeBSD 13.0.
2
3This file describes new user-visible features, changes and updates relevant to
4users of binary FreeBSD releases.  Each entry should describe the change in no
5more than several sentences and should reference manual pages where an
6interested user can find more information.  Entries should wrap after 80
7columns.  Each entry should begin with one or more commit IDs on one line,
8specified as a comma separated list and/or range, followed by a colon and a
9newline.  Entries should be separated by a newline.
10
11Changes to this file should not be MFCed.
12
13various:
14	Add support for the HiFive Unmatched RISC-V board.
15
169fb6e613373c:
17	Add a sysctl called vfs.nfsd.srvmaxio that can be used to
18	increase the NFS server's maximum I/O size from 128Kbytes
19	to any power of 2 up to 1Mbyte.  It can only be set when
20	the nfsd threads are not running and will normally require
21	an increase in kern.ipc.maxsockbuf to at least the value
22	recommended by the console log message generated when
23	setting vfs.nfsd.srvmaxio is first attempted.
24
259ec7dbf46b0a:
26	Add a new NFSv4.1/4.2 mount option "nconnect" that can
27	be used to specify the number of TCP connections that
28	will be used for the mount, up to a maximum of 16.
29	The first (default) TCP connection will be used for
30	all RPCs that consist of small RPC messages.
31	The RPCs that can consist of large RPC messages
32	(Read/Readdir/ReaddirPlus/Write) will be sent on the
33	additional TCP connections in a round robin fashion.
34	If either the NFS client or NFS server have multiple
35	network interfaces aggregated together or a network
36	interface that uses multiple queues, this can increase
37	NFS performance for the mount.
38
39various:
40	One True Awk has been updated to the latest from upstream
41	(20210215). All the FreeBSD patches, but one, have now been
42	either up streamed or discarded.  Notable changes include:
43		o Locale is no longer used for ranges
44		o Various bugs fixed
45		o Better compatibility with gawk and mawk
46
47	The one FreeBSD change, likely to be removed in FreeBSD 14, is that
48	we still allow hex numbers, prefixed with 0x, to be parsed and
49	interpreted as hex numbers while all other awks (including one
50	true awk now) interpret them as 0 in line with awk's historic
51	behavior.
52
538a04edfdcbd2:
54	Change the default minor version used for an NFSv4 mount
55	to the highest minor version supported by the NFSv4 server.
56	This default can be overridden by using the "minorversion"
57	mount option.
58
592c76eebca71b, 59f6f5e23c1a:
60	Add two daemons rpc.tlsclntd(8) and rpc.tlsservd(8) that provide
61	support for NFS-over-TLS as described in the Internet Draft titled
62	"Towards Remote Procedure Call Encryption By Default".
63	These daemons are only built when WITH_OPENSSL_KTLS is specified
64	and are only tested on amd64 at this time.
65	They use KTLS to encrypt/decrypt all NFS RPC message traffic, plus
66	optional verification of machine identity via X.509 certificates.
67
68f76393a6305b6:
69	Add AES-GCM support to armv8crypto(4) providing accelerated
70	support for KTLS, IPsec, and other crypto API consumers.
71
72074a91f746bd:
73	The aesni(4) and armv8crypto(4) devices are now included in
74	GENERIC on amd64, i386, and arm64.
75
762e1c94aa1fd5:
77	Add support for enforcing W^X mapping policy for user
78	processes.  The policy is not enforced by default but can be
79	enabled by setting the kern.elf32.allow_wx and
80	kern.elf64.allow_wx sysctls to 0.  Individual binaries can be
81	exempted from the policy by elfctl(1) via the wxneeded
82	feature.
83
844979620ece98:
85	Add AES-XTS support to armv8crypto(4) providing accelerated
86	software support for the default GELI cipher on arm64 systems.
87
88022ca2fc7fe0:
89	Add aio_writev(2) and aio_readv(2), vectored analogues of aio_write(2)
90	and aio_read(2).
91
9292bbfe1f0d1f:
93	The fusefs(5) protocol has been updated to 7.28.  Support for
94	FUSE_COPY_FILE_RANGE and FUSE_LSEEK is added.
95
96r368667:
97	GDB 6.1.1 was removed.  Users of crashinfo(8) should install the
98	gdb package or devel/gdb port.
99
100r368559:
101	The hme(4) driver was removed.
102
103r367660:
104	Fixes the case where gssd will not startup because /usr is a separate
105	local file system that is not yet mounted.  It does not fix the case
106	where /usr is a separately mounted remote file system (such as NFS).
107	This latter case can be fixed by adding mountcritremote to the
108	REQUIRED line.  Unfortunately doing so implies that all Kerberized
109	NFS mounts in /etc/fstab will need the "late" mount option.
110	This was not done, since the requirement for "late" would introduce
111	a POLA violation.
112
113r367423:
114	This commit added a new startup scripts variable called
115	nfsv4_server_only which uses the -R option on mountd added by r367026.
116	When nfsv4_server_only is set to "YES" in /etc/rc.conf, the NFS server
117	only handles NFSv4 and does not register with rpcbind.  As such, rpcbind
118	does not need to be running.  Useful for sites which consider rpcbind a
119	security issue.
120
121r366267:
122        Kernel option ACPI_DMAR was renamed to IOMMU.  amd64's IOMMU subsystem
123        was split out from amd64 DMAR support and is now generic, i.e., it can
124        be used by all architectures.
125
126r364896:
127	A series of commits ending with r364896 added NFS over TLS
128	to the kernel.  This is believed to be compatible with
129	the Internet Draft titled "Towards Remote Procedure Call Encryption
130	By Default" (expected to soon become an RFC).
131	The mount_nfs(8) and exports(5) man pages describe the mount and
132	export option(s) related to NFS over TLS.
133	For NFS over TLS to work, the rpctlscd(8) { client } or rpctlssd(8)
134	{ server } must be running on a kernel built with "options KERN_TLS"
135	on an architecture where PMAP_HAS_DMAP != 0.
136
137r364725:
138	Changes to one obscure devd event generated on resume need to
139	be documented. The old form will still be generated in 13, but not
140	in 14.
141
142r363679:
143	Applications using regex(3), e.g. sed/grep, will no longer accept
144	redundant escapes for most ordinary characters.
145
146r363253:
147	SCTP support has been removed from GENERIC kernel configurations.
148	The SCTP stack is now built as sctp.ko and can be dynamically loaded.
149
150r363233:
151	Merge sendmail 8.16.1: See contrib/sendmail/RELEASE_NOTES for details.
152
153r363180:
154	The safexcel(4) crypto offload driver has been added.
155
156r363084:
157	nc(1) now implements SCTP mode, enabled by specifying the --sctp option.
158
159r362681:
160	A new implementation of bc and dc has been imported. It offers
161	better standards compliance, performance, localization and comes
162	with extensive test cases that are optionally installed.
163	Use WITHOUT_GH_BC=yes to build and install the world with the
164	previous version instead of the new one, if required.
165
166r362158, r362163:
167	struct export_args has changed so that the "user" specified for
168	the -maproot and -mapall exports(5) options may be in more than
169	16 groups.
170
171r361884:
172	sed(1) has learned about hex escapes (e.g. \x27) and will now do the
173	right thing with them, removing the need for printf magic or obnoxious
174	escaping in many scenarios.
175
176r361238, r361798, r361799:
177	ZFS will now unconditionally reject read(2) of a directory with EISDIR.
178	Additionally, read(2) of a directory is now rejected with EISDIR by
179	default and may be re-enabled for non-ZFS filesystems that allow it with
180	the sysctl(8) MIB 'security.bsd.allow_read_dir'.
181
182	Aliases for grep to default to '-d skip' may be desired if commonly
183	non-recursively grepping a list that includes directories and the
184	possibility of EISDIR errors in stderr is not tolerable.  Example
185	aliases, commented out, have been installed in /root/.cshrc and
186	/root/.shrc.
187
188r361066:
189	Add exec.prepare and exec.release hooks for jail(8) and jail.conf(5).
190	exec.prepare runs before mounts, so can be used to populate new jails.
191	exec.release runs after unmounts, so can be used to remove ephemeral
192	jails.
193
194r360920,r360923,r360924,r360927,r360928,r360931,r360933,r360936:
195	Remove support for ARC4, Blowfish, Cast, DES, Triple DES, MD5,
196	MD5-KPDK, MD5-HMAC, SHA1-KPDK, and Skipjack algorithms from
197	the kernel open cryptographic framework (OCF).
198
199r360562:
200	Remove support for ARC4, Blowfish, Cast, DES, Triple DES,
201	MD5-HMAC, and Skipjack algorithms from /dev/crypto.
202
203r360557:
204	Remove support for DES, Triple DES, Blowfish, Cast, and
205	Camellia ciphers from IPsec(4).  Remove support for MD5-HMAC,
206	Keyed MD5, Keyed SHA1, and RIPEMD160-HMAC from IPsec(4).
207
208r359945:
209	Remove support for Triple DES, Blowfish, and MD5 HMAC from
210	geli(4).
211
212r359786-r359787:
213	Remove support for DES, Triple DES, and RC4 from in-kernel GSS
214	authentication.
215
216r357627:
217	remove elf2aout.
218
219r357560-r357565:
220	init(8), service(8), and cron(8) will now adopt user/class environment
221	variables (excluding PATH, by default, which will be overwritten) by
222	default.  Notably, environment variables for all cron jobs and rc
223	services can now be set via login.conf(5).
224
225r357455:
226	sparc64 has been removed from FreeBSD.
227
228r355677:
229	Adds support for NFSv4.2 (RFC-7862) and Extended Attributes
230	(RFC-8276) to the NFS client and server.
231	NFSv4.2 is comprised of several optional features that can be supported
232	in addition to NFSv4.1. This patch adds the following optional features:
233	- posix_fadvise(POSIX_FADV_WILLNEED/POSIX_FADV_DONTNEED)
234	- posix_fallocate()
235	- intra server file range copying via the copy_file_range(2) syscall
236	--> Avoiding data tranfer over the wire to/from the NFS client.
237	- lseek(SEEK_DATA/SEEK_HOLE)
238	- Extended attribute syscalls for "user" namespace attributes as defined
239	  by RFC-8276.
240
241	For the client, NFSv4.2 is only used if the mount command line option
242	minorversion=2 is specified.
243	For the server, two new sysctls called vfs.nfsd.server_min_minorversion4
244 	and vfs.nfsd.server_max_minorversion4 have been added that allow
245	sysadmins to limit the minor versions of NFSv4 supported by the nfsd
246	server.
247	Setting vfs.nfsd.server_max_minorversion4 to 0 or 1 will disable NFSv4.2
248	on the server.
249
250r356263:
251	armv5 support has been removed from FreeBSD.
252
253r354517:
254	iwm(4) now supports most Intel 9260, 9460 and 9560 Wi-Fi devices.
255
256r354269:
257	sqlite3 is updated to sqlite3-3.30.1.
258
259r352668:
260	cron(8) now supports the -n (suppress mail on succesful run) and -q
261	(suppress logging of command execution) options in the crontab format.
262	See the crontab(5) manpage for details.
263
264r352304:
265	ntpd is no longer by default locked in memory. rlimit memlock 32
266	or rlimit memlock 0 can be used to restore this behaviour.
267
268r351863:
269	rc.subr(8) now honors ${name}_env in all rc(8) scripts.  Previously,
270	environment variables set by a user via ${name}_env were ignored
271	if the service defined a custom *_cmd variable to control the behavior
272	of the run_rc_command function, e.g., start_cmd, instead of relying on
273	the variables like command and command_args,
274
275r351770,r352920,r352922,r352923:
276	dd(1) now supports conv=fsync, conv=fdatasync, oflag=fsync, oflag=sync,
277	and iflag=fullblock flags, compatible with illumos and GNU.
278
279r351522:
280	Add kernel-side support for in-kernel Transport Layer Security
281	(KTLS).  KTLS permits using sendfile(2) over sockets using
282	TLS.
283
284r351397:
285	WPA is updated from 2.8 to 2.9.
286
287r351361:
288	Add probes for lockmgr(9) to the lockstat DTrace provider, add
289	corresponding lockstat(1) events, and document the new probes in
290	dtrace_lockstat.4.
291
292r351356:
293	Intel RST is a new 'feature' that remaps NVMe devices from
294	their normal location to part of the AHCI bar space.  This
295	will eliminate the need to set the BIOS SATA setting from RST
296	to AHCI causing the nvme drive to be erased before FreeBSD
297	will see the nvme drive. FreeBSD will now be able to see the
298	nvme drive now in the default config.
299
300r351201, r351372:
301	Add a vop_stdioctl() call, so that file systems that do not support
302	holes will have a trivial implementation of lseek(SEEK_DATA/SEEK_HOLE).
303	The algorithm appears to be compatible with the POSIX draft and
304	the implementation in Linux for the case of a file system that
305	does not support holes.  Prior to this patch, lseek(2) would reply
306	-1 with errno set to ENOTTY for SEEK_DATA/SEEK_HOLE on files in
307	file systems that do not support holes.
308	r351372 maps ENOTTY to EINVAL for lseek(SEEK_DATA/SEEK_HOLE) for
309	any other cases, such as a ENOTTY return from vn_bmap_seekhole().
310
311r350665:
312	The fuse driver has been renamed to fusefs(5) and been substantially
313	rewritten.  The new driver includes many bug fixes and performance
314	enhancements, as well as the following user-visible features:
315	* Optional kernel-side permissions checks (-o default_permissions)
316	* mknod(2), socket(2), and pipe(2) support
317	* server side locking with fcntl(2)
318	* FUSE operations are now interruptible when mounted with -o intr
319	* server side handling of UTIME_NOW during utimensat(2)
320	* mount options may be updated with "mount -u"
321	* fusefs file system may now be exported over NFS
322	* RLIMIT_FSIZE support
323	* support for fuse file systems using protocols as old as 7.4
324
325	FUSE file system developers should also take note of the following new
326	features:
327	* The protocol level has been raised from 7.8 to 7.23
328	* kqueue support on /dev/fuse
329	* server-initiated cache invalidation via FUSE_NOTIFY_REPLY
330
331r350471:
332	gnop(8) can now configure a delay to be applied to read and write
333	request delays.  See the -d, -q and -x parameters.
334
335r350315, r350316:
336	Adds a Linux compatible copy_file_range(2) syscall.
337
338r350307:
339	libcap_random(3) has been removed.  Applications can use native
340	APIs to get random data in capability mode.
341
342r349529,r349530:
343	Add support for using unmapped mbufs with sendfile(2).
344
345r349352:
346	nand(4) and related components have been removed.
347
348r349349:
349	The UEFI loader now supports HTTP boot.
350
351r349335:
352	bhyve(8) now implements a High Definition Audio (HDA) driver, allowing
353	guests to play to and record audio data from the host.
354
355r349286:
356	swapon(8) can now erase a swap device immediately before enabling it,
357	similar to newfs(8)'s -E option.  This behaviour can be specified by
358	adding -E to swapon(8)'s command-line parameters, or by adding the
359	"trimonce" option to a swap device's /etc/fstab entry.
360
361r347908-r347923:
362	The following network drivers have been removed: bm(4), cs(4), de(4),
363	ed(4), ep(4), ex(4), fe(4), pcn(4), sf(4), sn(4), tl(4), tx(4), txp(4),
364	vx(4), wb(4), xe(4).
365
366r347532:
367	Wired page accounting has been split into kernel wirings and user
368	wirings (e.g., by mlock(2)).  Kernel wirings no long count towards
369	the global limit, which is renamed to vm.max_user_wired.  bhyve -S
370	allocates user-wired memory and is now subject to that limit.
371
372$FreeBSD$
373