1963f38b2SChristos MargiolisRelease notes for FreeBSD 15.0. 28dbc2b6eSMark Johnston 38dbc2b6eSMark JohnstonThis file describes new user-visible features, changes and updates relevant to 48dbc2b6eSMark Johnstonusers of binary FreeBSD releases. Each entry should describe the change in no 58dbc2b6eSMark Johnstonmore than several sentences and should reference manual pages where an 68dbc2b6eSMark Johnstoninterested user can find more information. Entries should wrap after 80 78dbc2b6eSMark Johnstoncolumns. Each entry should begin with one or more commit IDs on one line, 8cda1f88dSWarner Loshspecified as a comma separated list and/or range, followed by a colon and a 9cda1f88dSWarner Loshnewline. Entries should be separated by a newline. 108dbc2b6eSMark Johnston 118dbc2b6eSMark JohnstonChanges to this file should not be MFCed. 128dbc2b6eSMark Johnston 13b6dd8c5eSEd Mastecd240957d7ba 14b6dd8c5eSEd Maste Making a connection to INADDR_ANY (i.e., using INADDR_ANY as an alias 15b6dd8c5eSEd Maste for localhost) is now disabled by default. This functionality can be 16b6dd8c5eSEd Maste re-enabled by setting the net.inet.ip.connect_inaddr_wild sysctl to 1. 17b6dd8c5eSEd Maste 18*6d8cfd29SEd Masteb61850c4e6f6 198ff7c4d5SLexi Winter The bridge(4) sysctl net.link.bridge.member_ifaddrs now defaults to 0, 208ff7c4d5SLexi Winter meaning that interfaces added to a bridge may not have IP addresses 218ff7c4d5SLexi Winter assigned. Refer to bridge(4) for more information. 228ff7c4d5SLexi Winter 233ab34225SChristos Margiolis44e5a0150835, 9a37f1024ceb: 24eb60bf2cSChristos Margiolis A new utility sndctl(8) has been added to concentrate the various 253ab34225SChristos Margiolis interfaces for viewing and manipulating audio device settings (sysctls, 263ab34225SChristos Margiolis /dev/sndstat), into a single utility with a similar control-driven 273ab34225SChristos Margiolis interface to that of mixer(8). 28428200d2SOlivier Certner 29428200d2SOlivier Certner93a94ce731a8: 30428200d2SOlivier Certner ps(1)'s options '-a' and '-A', when combined with any other one 31428200d2SOlivier Certner affecting the selection of processes except for '-X' and '-x', would 32428200d2SOlivier Certner have no effect, in contradiction with the rule that one process is 33428200d2SOlivier Certner listed as soon as any of the specified options selects it (inclusive 34428200d2SOlivier Certner OR), which is both mandated by POSIX and arguably a natural expectation. 35428200d2SOlivier Certner This bug has been fixed. 36428200d2SOlivier Certner 37428200d2SOlivier Certner As a practical consequence, specifying '-a'/'-A' now causes all 38428200d2SOlivier Certner processes to be listed regardless of other selection options (except for 39428200d2SOlivier Certner '-X' and '-x', which still apply). In particular, to list only 40428200d2SOlivier Certner processes from specific jails, one must not use '-a' with '-J'. Option 41428200d2SOlivier Certner '-J', contrary to its apparent initial intent, never worked as a filter 42428200d2SOlivier Certner in practice (except by accident with '-a' due to the bug), but instead 43428200d2SOlivier Certner as any other selection options (e.g., '-U', '-p', '-G', etc.) subject to 44428200d2SOlivier Certner the "inclusive OR" rule. 45428200d2SOlivier Certner 46a8dccfa7SOlivier Certner995b690d1398: 47a8dccfa7SOlivier Certner ps(1)'s '-U' option has been changed to select processes by their real 48a8dccfa7SOlivier Certner user IDs instead of their effective one, in accordance with POSIX and 49a8dccfa7SOlivier Certner the use case of wanting to list processes launched by some user, which 50a8dccfa7SOlivier Certner is expected to be more frequent than listing processes having the rights 51a8dccfa7SOlivier Certner of some user. This only affects the selection of processes whose real 52a8dccfa7SOlivier Certner and effective user IDs differ. After this change, ps(1)'s '-U' flag 53a8dccfa7SOlivier Certner behaves differently then in other BSDs but identically to that of 54a8dccfa7SOlivier Certner Linux's procps and illumos. 55a8dccfa7SOlivier Certner 5644265f3bSOlivier Certner1aabbb25c9f9: 5744265f3bSOlivier Certner ps(1)'s default list of processes now comes from matching its effective 5844265f3bSOlivier Certner user ID instead of its real user ID with the effective user ID of all 5944265f3bSOlivier Certner processes, in accordance with POSIX. As ps(1) itself is not installed 6044265f3bSOlivier Certner setuid, this only affects processes having different real and effective 6144265f3bSOlivier Certner user IDs that launch ps(1) processes. 6244265f3bSOlivier Certner 63fc8310dbSOlivier Certnerf0600c41e754-de701f9bdbe0, bc201841d139: 64fc8310dbSOlivier Certner mac_do(4) is now considered production-ready and its functionality has 65fc8310dbSOlivier Certner been considerably extended at the price of breaking credentials 66fc8310dbSOlivier Certner transition rules' backwards compatibility. All that could be specified 67fc8310dbSOlivier Certner with old rules can also be with new rules. Migrating old rules is just 68fc8310dbSOlivier Certner a matter of adding "uid=" in front of the target part, substituting 69fc8310dbSOlivier Certner commas (",") with semi-colons (";") and colons (":") with greater-than 70fc8310dbSOlivier Certner signs (">"). Please consult the mac_do(4) manual page for the new rules 71fc8310dbSOlivier Certner grammar. 72fc8310dbSOlivier Certner 733b60c193SChristos Margiolis02d4eeabfd73: 743b60c193SChristos Margiolis hw.snd.maxautovchans has been retired. The commit introduced a 753b60c193SChristos Margiolis hw.snd.vchans_enable sysctl, which along with 763b60c193SChristos Margiolis dev.pcm.X.{play|rec}.vchans, from now on work as tunables to only 773b60c193SChristos Margiolis enable/disable vchans, as opposed to setting their number and/or 783b60c193SChristos Margiolis (de-)allocating vchans. Since these sysctls do not trigger any 793b60c193SChristos Margiolis (de-)allocations anymore, their effect is instantaneous, whereas before 803b60c193SChristos Margiolis we could have frozen the machine (when trying to allocate new vchans) 813b60c193SChristos Margiolis when setting dev.pcm.X.{play|rec}.vchans to a very large value. 823b60c193SChristos Margiolis 83896f5be7SKristof Provost7e7f88001d7d: 84896f5be7SKristof Provost The definition of pf's struct pfr_tstats and struct pfr_astats has 85896f5be7SKristof Provost changed, breaking ABI compatibility for 32-bit powerpc (including 86896f5be7SKristof Provost powerpcspe) and armv7. Users of these platforms should ensure kernel 87896f5be7SKristof Provost and userspace are updated together. 88896f5be7SKristof Provost 894cfdfd34SMark Johnston5dc99e9bb985, 08e638c089a, 4009a98fe80: 904cfdfd34SMark Johnston The net.inet.{tcp,udp,raw}.bind_all_fibs tunables have been added. 914cfdfd34SMark Johnston They modify socket behavior such that packets not originating from the 924cfdfd34SMark Johnston same FIB as the socket are ignored. TCP and UDP sockets belonging to 934cfdfd34SMark Johnston different FIBs may also be bound to the same address. The default 944cfdfd34SMark Johnston behavior is unmodified. 954cfdfd34SMark Johnston 96a9ffa9b3SJohn Baldwinf87bb5967670, e51036fbf3f8: 97a9ffa9b3SJohn Baldwin Support for vinum volumes has been removed. 98a9ffa9b3SJohn Baldwin 99e0b7a9b6SMark Johnston8ae6247aa966, cf0ede720391d, 205659c43d87bd, 1ccbdf561f417, 4db1b113b151: 100e0b7a9b6SMark Johnston The layout of NFS file handles for the tarfs, tmpfs, cd9660, and ext2fs 101e0b7a9b6SMark Johnston file systems has changed. An NFS server that exports any of these file 102e0b7a9b6SMark Johnston systems will need its clients to unmount and remount the exports. 103e0b7a9b6SMark Johnston 10415eed130SKirk McKusick1111a44301da: 10515eed130SKirk McKusick Defer the January 19, 2038 date limit in UFS1 filesystems to 10615eed130SKirk McKusick February 7, 2106. This affects only UFS1 format filesystems. 10715eed130SKirk McKusick See the commit message for details. 10815eed130SKirk McKusick 1099a8e9b2aSRick Macklem07cd69e272da: 1109a8e9b2aSRick Macklem Add a new -a command line option to mountd(8). 1119a8e9b2aSRick Macklem If this command line option is specified, when 1129a8e9b2aSRick Macklem a line in exports(5) has the -alldirs export option, 1139a8e9b2aSRick Macklem the directory must be a server file system mount point. 1149a8e9b2aSRick Macklem 115af66ffbfSRick Macklem0e8a36a2ab12: 116af66ffbfSRick Macklem Add a new NFS mount option called "mountport" that may be used 117af66ffbfSRick Macklem to specify the port# for the NFS server's Mount protocol. 118af66ffbfSRick Macklem This permits a NFSv3 mount to be done without running rpcbind(8). 119af66ffbfSRick Macklem 120af1ef35aSJohn Baldwinb2f7c53430c3: 121af1ef35aSJohn Baldwin Kernel TLS is now enabled by default in kernels including KTLS 122af1ef35aSJohn Baldwin support. KTLS is included in GENERIC kernels for aarch64, 123af1ef35aSJohn Baldwin amd64, powerpc64, and powerpc64le. 124af1ef35aSJohn Baldwin 1256e242595SChristos Margiolisf57efe95cc25: 1266e242595SChristos Margiolis New mididump(1) utility which dumps MIDI 1.0 events in real time. 1276e242595SChristos Margiolis 1280706fa37SBaptiste Daroussinddfc6f84f242: 1290706fa37SBaptiste Daroussin Update unicode to 16.0.0 and CLDR to 45.0.0. 1300706fa37SBaptiste Daroussin 131e46c4de7SBaptiste Daroussinb22be3bbb2de: 132e46c4de7SBaptiste Daroussin Basic Cloudinit images no longer generate RSA host keys by default for 133e46c4de7SBaptiste Daroussin SSH. 134e46c4de7SBaptiste Daroussin 135fc2efd28SColin Percival000000000000: 136fc2efd28SColin Percival RSA host keys for SSH are deprecated and will no longer be generated 137fc2efd28SColin Percival by default in FreeBSD 16. 138fc2efd28SColin Percival 139279734beSColin Percival0aabcd75dbc2: 140279734beSColin Percival EC2 AMIs no longer generate RSA host keys by default for SSH. RSA 141279734beSColin Percival host key generation can be re-enabled by setting sshd_rsa_enable="YES" 142279734beSColin Percival in /etc/rc.conf if it is necessary to support very old SSH clients. 143279734beSColin Percival 144116dc70cSMark Johnstona1da7dc1cdad: 145116dc70cSMark Johnston The SO_SPLICE socket option was added. It allows TCP connections to 146116dc70cSMark Johnston be spliced together, enabling proxy-like functionality without the 147116dc70cSMark Johnston need to copy data in and out of user memory. 148116dc70cSMark Johnston 149c55e4971SJohn Baldwinfc12c191c087: 150c55e4971SJohn Baldwin grep(1) no longer follows symbolic links by default for 151c55e4971SJohn Baldwin recursive searches. This matches the documented behavior in 152c55e4971SJohn Baldwin the manual page. 153c55e4971SJohn Baldwin 15434d9de96SMark Johnstone962b37bf0ff: 15534d9de96SMark Johnston When running bhyve(8) guests with a boot ROM, i.e., bhyveload(8) is not 15634d9de96SMark Johnston used, bhyve now assumes that the boot ROM will enable PCI BAR decoding. 15734d9de96SMark Johnston This is incompatible with some boot ROMs, particularly outdated builds 15834d9de96SMark Johnston of edk2-bhyve. To restore the old behavior, add 15934d9de96SMark Johnston "pci.enable_bars='true'" to your bhyve configuration. 16034d9de96SMark Johnston 16134d9de96SMark Johnston Note in particular that the uefi-edk2-bhyve package has been renamed 16234d9de96SMark Johnston to edk2-bhyve. 16334d9de96SMark Johnston 16434d9de96SMark Johnston43caa2e805c2: 16534d9de96SMark Johnston amd64 bhyve(8)'s "lpc.bootrom" and "lpc.bootvars" options are 16634d9de96SMark Johnston deprecated. Use the top-level "bootrom" and "bootvars" options 16734d9de96SMark Johnston instead. 16834d9de96SMark Johnston 1692e98b886SBaptiste Daroussin822ca3276345: 1702e98b886SBaptiste Daroussin byacc was updated to 20240109. 1712e98b886SBaptiste Daroussin 1722e98b886SBaptiste Daroussin21817992b331: 1732e98b886SBaptiste Daroussin ncurses was updated to 6.5. 1742e98b886SBaptiste Daroussin 175cf9c4b32SAlexander Ziaee1687d77197c0: 176cf9c4b32SAlexander Ziaee Filesystem manual pages have been moved to section four. 177cf9c4b32SAlexander Ziaee Please check ports you are maintaining for crossreferences. 178cf9c4b32SAlexander Ziaee 179c180fd3dSBaptiste Daroussin8aac90f18aef: 180c180fd3dSBaptiste Daroussin new MAC/do policy and mdo(1) utility which enables a user to 181c180fd3dSBaptiste Daroussin become another user without the requirement of setuid root. 182c180fd3dSBaptiste Daroussin 1835224825aSChristos Margiolis7398d1ece5cf: 1845224825aSChristos Margiolis hw.snd.version is removed. 1855224825aSChristos Margiolis 1866faf6567SJohn Baldwina15f7c96a276,a8089ea5aee5: 1876faf6567SJohn Baldwin NVMe over Fabrics controller. The nvmft(4) kernel module adds 1886faf6567SJohn Baldwin a new frontend to the CAM target layer which exports ctl(4) 1896faf6567SJohn Baldwin LUNs as NVMe namespaces to remote hosts. The nvmfd(8) daemon 1906faf6567SJohn Baldwin is responsible for accepting incoming connection requests and 1916faf6567SJohn Baldwin handing off connected queue pairs to nvmft(4). 1926faf6567SJohn Baldwin 1936faf6567SJohn Baldwina1eda74167b5,1058c12197ab: 1946faf6567SJohn Baldwin NVMe over Fabrics host. New commands added to nvmecontrol(8) 1956faf6567SJohn Baldwin to establish connections to remote controllers. Once 1966faf6567SJohn Baldwin connections are established they are handed off to the nvmf(4) 1976faf6567SJohn Baldwin kernel module which creates nvmeX devices and exports remote 1986faf6567SJohn Baldwin namespaces as nda(4) disks. 1996faf6567SJohn Baldwin 200993d1fadSChristos Margiolis25723d66369f: 20125723d66SChristos Margiolis As a side-effect of retiring the unit.* code in sound(4), the 20225723d66SChristos Margiolis hw.snd.maxunit loader(8) tunable is also retired. 20354d6fea9SMateusz Piotrowski 20454d6fea9SMateusz Piotrowskieeb04a736cb9: 20554d6fea9SMateusz Piotrowski date(1) now supports nanoseconds. For example: 20654d6fea9SMateusz Piotrowski `date -Ins` prints "2024-04-22T12:20:28,763742224+02:00" and 20754d6fea9SMateusz Piotrowski `date +%N` prints "415050400". 20854d6fea9SMateusz Piotrowski 209ca0620b7SMark Johnston6d5ce2bb6344: 210ca0620b7SMark Johnston The default value of the nfs_reserved_port_only rc.conf(5) setting has 211ca0620b7SMark Johnston changed. The FreeBSD NFS server now requires the source port of 212ca0620b7SMark Johnston requests to be in the privileged port range (i.e., <= 1023), which 213ca0620b7SMark Johnston generally requires the client to have elevated privileges on their local 214ca0620b7SMark Johnston system. The previous behavior can be restored by setting 215ca0620b7SMark Johnston nfs_reserved_port_only=NO in rc.conf. 216ca0620b7SMark Johnston 2171ff4bc0fSJake Freelandaea973501b19: 2181ff4bc0fSJake Freeland ktrace(2) will now record detailed information about capability mode 2191ff4bc0fSJake Freeland violations. The kdump(1) utility has been updated to display such 2201ff4bc0fSJake Freeland information. 221ca0620b7SMark Johnston 2225b35479eSWarner Loshf32a6403d346: 2235b35479eSWarner Losh One True Awk updated to 2nd Edition. See https://awk.dev for details 2245b35479eSWarner Losh on the additions. Unicode and CSVs (Comma Separated Values) are now 2255b35479eSWarner Losh supported. 2265b35479eSWarner Losh 2275a98d9d0SBaptiste Daroussinfe86d923f83f: 2285a98d9d0SBaptiste Daroussin usbconfig(8) now reads the descriptions of the usb vendor and products 22973157ce4SBaptiste Daroussin from usb.ids when available, similarly to what pciconf(8) does. 2305a98d9d0SBaptiste Daroussin 23130c741c6SMike Karels4347ef60501f: 23230c741c6SMike Karels The powerd(8) utility is now enabled in /etc/rc.conf by default on 23330c741c6SMike Karels images for the arm64 Raspberry Pi's (arm64-aarch64-RPI img files). 23430c741c6SMike Karels This prevents the CPU clock from running slow all the time. 23530c741c6SMike Karels 236b9a60d36SAlexander Leidinger0b49e504a32d: 237b9a60d36SAlexander Leidinger rc.d/jail now supports the legacy variable jail_${jailname}_zfs_dataset 238b9a60d36SAlexander Leidinger to allow unmaintained jail managers like ezjail to make use of this 239b9a60d36SAlexander Leidinger feature (simply rename jail_${jailname}_zfs_datasets in the ezjail 240b9a60d36SAlexander Leidinger config to jail_${jailname}_zfs_dataset. 241b9a60d36SAlexander Leidinger 242b9a60d36SAlexander Leidingere0dfe185cbca: 243b9a60d36SAlexander Leidinger jail(8) now support zfs.dataset to add a list of ZFS datasets to a 244b9a60d36SAlexander Leidinger jail. 245b9a60d36SAlexander Leidinger 2462f036705SXin LI61174ad88e33: 2472f036705SXin LI newsyslog(8) now supports specifying a global compression method directly 2482f036705SXin LI at the beginning of the newsyslog.conf file, which will make newsyslog(8) 2492f036705SXin LI to behave like the corresponding option was passed to the newly added 2502f036705SXin LI '-c' option. For example: 2512f036705SXin LI 2522f036705SXin LI <compress> none 2532f036705SXin LI 2542f036705SXin LI906748d208d3: 2552f036705SXin LI newsyslog(8) now accepts a new option, '-c' which overrides all historical 2562f036705SXin LI compression flags by treating their meaning as "treat the file as compressible" 2572f036705SXin LI rather than "compress the file with that specific method." 2582f036705SXin LI 2592f036705SXin LI The following choices are available: 2602f036705SXin LI * none: Do not compress, regardless of flag. 2612f036705SXin LI * legacy: Historical behavior (J=bzip2, X=xz, Y=zstd, Z=gzip). 2622f036705SXin LI * bzip2, xz, zstd, gzip: apply the specified compression method. 2632f036705SXin LI 2642f036705SXin LI We plan to change the default to 'none' in FreeBSD 15.0. 2652f036705SXin LI 266208f089dSRick Macklem1a878807006c: 267208f089dSRick Macklem This commit added some statistics collection to the NFS-over-TLS 268208f089dSRick Macklem code in the NFS server so that sysadmins can moditor usage. 269208f089dSRick Macklem The statistics are available via the kern.rpc.tls.* sysctls. 270208f089dSRick Macklem 271dac33a65SRick Macklem7c5146da1286: 272dac33a65SRick Macklem Mountd has been modified to use strunvis(3) to decode directory 273dac33a65SRick Macklem names in exports(5) file(s). This allows special characters, 274dac33a65SRick Macklem such as blanks, to be embedded in the directory name(s). 275dac33a65SRick Macklem "vis -M" may be used to encode such directory name(s). 276dac33a65SRick Macklem 27733c2bd53SMark Johnstonc5359e2af5ab: 27833c2bd53SMark Johnston bhyve(8) has a new network backend, "slirp", which makes use of the 27933c2bd53SMark Johnston libslirp package to provide a userspace network stack. This backend 28033c2bd53SMark Johnston makes it possible to access the guest network from the host without 28133c2bd53SMark Johnston requiring any extra network configuration on the host. 28233c2bd53SMark Johnston 283b351fa9dSChristos Margiolisbb830e346bd5: 284b351fa9dSChristos Margiolis Set the IUTF8 flag by default in tty(4). 285b351fa9dSChristos Margiolis 286b351fa9dSChristos Margiolis 128f63cedc14 and 9e589b093857 added proper UTF-8 backspacing handling 287b351fa9dSChristos Margiolis in the tty(4) driver, which is enabled by setting the new IUTF8 flag 288b351fa9dSChristos Margiolis through stty(1). Since the default locale is UTF-8, enable IUTF8 by 289b351fa9dSChristos Margiolis default. 290b351fa9dSChristos Margiolis 291bb63e82eSBaptiste Daroussinff01d71e48d4: 292b627b3e6SBaptiste Daroussin dialog(1) has been replaced by bsddialog(1) 293bb63e82eSBaptiste Daroussin 294da51a121SJohn Baldwin41582f28ddf7: 295da51a121SJohn Baldwin FreeBSD 15.0 will not include support for 32-bit platforms. 296da51a121SJohn Baldwin However, 64-bit systems will still be able to run older 32-bit 297da51a121SJohn Baldwin binaries. 298da51a121SJohn Baldwin 299da51a121SJohn Baldwin Support for executing 32-bit binaries on 64-bit platforms via 300da51a121SJohn Baldwin COMPAT_FREEBSD32 will remain supported for at least the 301da51a121SJohn Baldwin stable/15 and stable/16 branches. 302da51a121SJohn Baldwin 303da51a121SJohn Baldwin Support for compiling individual 32-bit applications via 304da51a121SJohn Baldwin `cc -m32` will also be supported for at least the stable/15 305da51a121SJohn Baldwin branch which includes suitable headers in /usr/include and 306da51a121SJohn Baldwin libraries in /usr/lib32. 307da51a121SJohn Baldwin 308da51a121SJohn Baldwin Support for 32-bit platforms in ports for 15.0 and later 309da51a121SJohn Baldwin releases is also deprecated, and these future releases may not 310da51a121SJohn Baldwin include binary packages for 32-bit platforms or support for 311da51a121SJohn Baldwin building 32-bit applications from ports. 312da51a121SJohn Baldwin 313da51a121SJohn Baldwin stable/14 and earlier branches will retain existing 32-bit 314da51a121SJohn Baldwin kernel and world support. Ports will retain existing support 315768489c7SJohn Baldwin for building ports and packages for 32-bit systems on stable/14 316da51a121SJohn Baldwin and earlier branches as long as those branches are supported 317da51a121SJohn Baldwin by the ports system. However, all 32-bit platforms are Tier-2 318da51a121SJohn Baldwin or Tier-3 and support for individual ports should be expected 319da51a121SJohn Baldwin to degrade as upstreams deprecate 32-bit platforms. 320da51a121SJohn Baldwin 321da51a121SJohn Baldwin With the current support schedule, stable/14 will be EOLed 5 322da51a121SJohn Baldwin years after the release of 14.0. The EOL of stable/14 would 323da51a121SJohn Baldwin mark the end of support for 32-bit platforms including source 324da51a121SJohn Baldwin releases, pre-built packages, and support for building 325da51a121SJohn Baldwin applications from ports. Given an estimated release date of 326da51a121SJohn Baldwin October 2023 for 14.0, support for 32-bit platforms would end 327da51a121SJohn Baldwin in October 2028. 328da51a121SJohn Baldwin 329da51a121SJohn Baldwin The project may choose to alter this approach when 15.0 is 330da51a121SJohn Baldwin released by extending some level of 32-bit support for one or 331da51a121SJohn Baldwin more platforms in 15.0 or later. Users should use the 332da51a121SJohn Baldwin stable/14 branch to migrate off of 32-bit platforms. 333