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