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