FreeBSD/src e951247lib/libsys statfs.2

statfs.2: document missing user-visible MNT flags

Sponsored by:   The FreeBSD Foundation
MFC after:      3 days
DeltaFile
+18-0lib/libsys/statfs.2
+18-01 files

FreeBSD/src 0738cd9lib/libsys statfs.2

statfs.2: order MNT flags alphabetically

Sponsored by:   The FreeBSD Foundation
MFC after:      3 days
DeltaFile
+45-45lib/libsys/statfs.2
+45-451 files

FreeBSD/src 270542dlib/libsys statfs.2

statfs.2: uncomment and describe MNT_IGNORE

Sponsored by:   The FreeBSD Foundation
MFC after:      3 days
DeltaFile
+3-2lib/libsys/statfs.2
+3-21 files

FreeBSD/src 13b92aelib/libsys statfs.2

statfs.2: remove dead comment

Sponsored by:   The FreeBSD Foundation
MFC after:      3 days
DeltaFile
+0-2lib/libsys/statfs.2
+0-21 files

FreeBSD/src 1873177sys/sys cdefs.h

cdefs: Bump the defaults for 'all'

Bump default to POSIX at 202405, C at 2023 and xopen at 800...

Sponsored by:           Netflix
Reviewed by:            brooks
Differential Revision:  https://reviews.freebsd.org/D47578

(cherry picked from commit f95d9ec92122e6b4ef99c9a258f31b9564d327d3)
DeltaFile
+3-3sys/sys/cdefs.h
+3-31 files

FreeBSD/src 6789b9finclude limits.h, lib/libc/gen getentropy.3 getentropy.c

libc: Fix getentropy POSIX 2024 conformance issues

GETENTROPY_MAX should be defined in limits.h.  EINVAL is the return
value for buflen > GETENTROPY_MAX.

PR:             282783
Reviewed by:    markj, asomers, jhb
Sponsored by:   The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D47689
DeltaFile
+4-10lib/libc/gen/getentropy.3
+3-2lib/libc/gen/getentropy.c
+4-0include/limits.h
+11-123 files

FreeBSD/src 935e29dcrypto/openssh ssh_config.5

ssh_config.5: Remove redundant CheckHostIP default text

In 2000 (commit a95c1225217b) we changed the CheckHostIP default to
"no".  We added text to ssh_config(5) documenting FreeBSD's default.

In 2021 OpenSSH made the same change, released with OpenSSH 8.5p1.
When we imported the update the added text remained, resulting in:

    If the option is set to no (the default), the check will not be
    executed.  The default is no.

Remove the now-redundant text.

Fixes: 206be79acbde ("Vendor import of OpenSSH 8.5p1")
Sponsored by:   The FreeBSD Foundation

(cherry picked from commit 06016adaccca1958cdde4edf845f5b972be7ffc0)
(cherry picked from commit 2c97e333166d4f6f6b84da60b96a82982bb19649)
DeltaFile
+0-2crypto/openssh/ssh_config.5
+0-21 files

FreeBSD/src 5469872usr.sbin/certctl certctl.sh

certctl: Set METALOG ownership to root:wheel

This sets the correct ownership values when building base.txz

install(1) does not validate the arguments passed to -o or -g
(see PR283355) so there's no need to have the passwd db available
for now.  Future work includes plumbing the appropriate passwd db
path through certctl, and validating uid and gid in install(1).

PR:             283340
Reviewed by:    jrtc27
Differential Revision: https://reviews.freebsd.org/D48506

(cherry picked from commit 10fa3f2518d4582c98d74527f79af9f30b1eceab)
(cherry picked from commit 98bebc20cef7527ccb15f8defc9d52e803a0d506)
(cherry picked from commit 4d15b58365ea706129bedfdb37e0c5e8661a640f)
DeltaFile
+2-2usr.sbin/certctl/certctl.sh
+2-21 files

FreeBSD/src eed04ccusr.sbin/certctl certctl.sh

certctl: Clean up.

MFC after:      3 days
Reviewed by:    allanjude
Differential Revision:  https://reviews.freebsd.org/D42086

(cherry picked from commit 1525625c7c945856d4814987fd65784fd62cba74)
DeltaFile
+99-74usr.sbin/certctl/certctl.sh
+99-741 files

FreeBSD/src 2c97e33crypto/openssh ssh_config.5

ssh_config.5: Remove redundant CheckHostIP default text

In 2000 (commit a95c1225217b) we changed the CheckHostIP default to
"no".  We added text to ssh_config(5) documenting FreeBSD's default.

In 2021 OpenSSH made the same change, released with OpenSSH 8.5p1.
When we imported the update the added text remained, resulting in:

    If the option is set to no (the default), the check will not be
    executed.  The default is no.

Remove the now-redundant text.

Fixes: 206be79acbde ("Vendor import of OpenSSH 8.5p1")
Sponsored by:   The FreeBSD Foundation

(cherry picked from commit 06016adaccca1958cdde4edf845f5b972be7ffc0)
DeltaFile
+0-2crypto/openssh/ssh_config.5
+0-21 files

FreeBSD/src c2346c3sbin/pfctl parse.y, share/man/man5 pf.conf.5

pf: support source-hash and random with tables and dynifs, not just pools

This finally allows to use source-hash for dynamic loadbalancing, eg.
"rdr-to <hosts> source-hash", instead of just round-robin and least-states.

An older pre-siphash version of this diff was tested by many people.

OK tedu@ benno@

Obtained from:  OpenBSD, reyk <reyk at openbsd.org>, 252a05523f
Sponsored by:   Rubicon Communications, LLC ("Netgate")
DeltaFile
+58-18tests/sys/netpfil/pf/nat64.sh
+62-12sys/netpfil/pf/pf_lb.c
+18-25sbin/pfctl/parse.y
+5-5share/man/man5/pf.conf.5
+5-0sys/netpfil/pf/pf.h
+148-605 files

FreeBSD/src bc830a1sys/netpfil/pf pf_lb.c

pf: use siphash for pf_lb

for ipv6, we stretch it out a bit, but good enough.
ok reyk

Obtained from:  OpenBSD, tedu <tedu at openbsd.org>, a558d13e2f
Sponsored by:   Rubicon Communications, LLC ("Netgate")
DeltaFile
+23-37sys/netpfil/pf/pf_lb.c
+23-371 files

FreeBSD/src 050691fsys/netpfil/pf pf_lb.c

pf: Comment is no longer true, remove it.

Obtained from:  OpenBSD, mcbride <mcbride at openbsd.org>, 6263ddcd7c
Sponsored by:   Rubicon Communications, LLC ("Netgate")
DeltaFile
+0-3sys/netpfil/pf/pf_lb.c
+0-31 files

FreeBSD/src dcb4ae5secure/usr.sbin/sshd Makefile

openssh: Add GSSAPI and Kerberos support to sshd Makefile

Reported by:    cy
Reviewed by:    emaste
Approved by:    emaste (mentor)
Fixes:  0fdf8fae8b56 ("openssh: Update to 9.8p1")
DeltaFile
+6-0secure/usr.sbin/sshd/Makefile
+6-01 files

FreeBSD/src fb4102busr.bin/vtfontcvt vtfontcvt.c

vtfontcvt: Improve error message for unsupported DWIDTH

vtfontcvt requires that all glyphs are 1x or 2x a common width,
reporting for example "bitmap with unsupported DWIDTH 27 0 on line xxx"
if the font is expected to be 32 pixels wide.

Add the expected / permitted values to the error message to make the
issue more clear - for the same example,
"bitmap with unsupported DWIDTH 27 0 (not 32 or 64)".

Reviewed by:    ziaee
Sponsored by:   The FreeBSD Foundation

(cherry picked from commit 3433daae0d20d55503084c4d17b8a3e685657ad2)
(cherry picked from commit 036ce9b76e0ac5bb3a611a4b259a39e3158c25d4)
DeltaFile
+2-2usr.bin/vtfontcvt/vtfontcvt.c
+2-21 files

FreeBSD/src 9197c04usr.bin/chkey chkey.1, usr.bin/keylogin keylogin.1

Deprecate publickey(5) stuff

This uses DES and it's likely that nobody uses that in 2025.
If somebody uses this we help them by deprecating and removing this.

Reviewed by:    bapt, emaste
Differential Revision:  https://reviews.freebsd.org/D30682

(cherry picked from commit 723425f837270dd3b22098168ae9464a1ebe38c6)
DeltaFile
+5-0usr.bin/chkey/chkey.1
+5-0usr.bin/newkey/newkey.8
+5-0usr.bin/keylogin/keylogin.1
+5-0usr.sbin/keyserv/keyserv.8
+5-0usr.bin/keylogout/keylogout.1
+1-0usr.bin/keylogout/keylogout.c
+26-04 files not shown
+30-010 files

FreeBSD/src 8a02eb2secure/lib/libssh Makefile

libssh: Remove progressmeter

It is used only by scp and sftp, and already included directly in their
Makefiles.  It does not belong in libssh.

Fixes: d8b043c8d497 ("Update for 3.6.1p1; also remove Kerberos IV shims.")
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D48871

(cherry picked from commit c0af32952564099fe30a34aeb335f95a6dc811ba)
DeltaFile
+1-1secure/lib/libssh/Makefile
+1-11 files

FreeBSD/src 56c8c19sys/fs/nfsclient nfs_clstate.c

nfscl: Return appropriate reply status for NFSv4.1 callbacks

Certain NFSv4.1 callbacks are not currently supported/used
by the FreeBSD client.  Without this patch, NFS4ERR_NOTSUPP
is replied for the callbacks.  Since NFSv4.1 does not specify
all of these callbacks as optional, I think it is preferable
to reply NFS_OK or NFS4ERR_REJECT_DELEG instead of NFS4ERR_NOTSUPP.

This patch changes the reply status for these unsupported
callbacks, which the client has no use for.

I am not aware of any NFSv4.1 servers that will perform
any of these callbacks against the FreeBSD client at this time.

MFC after:      2 weeks
DeltaFile
+19-0sys/fs/nfsclient/nfs_clstate.c
+19-01 files

FreeBSD/src 05dfaadsys/compat/linuxkpi/common/include/linux shrinker.h, sys/compat/linuxkpi/common/src linux_shrinker.c

linuxkpi: Add `shrinker_alloc()` and `shrinker_free()`

They are used by the DRM drivers in Linux 6.7.

Bump `FreeBSD_version` because external drivers that use `struct
shrinker` will have to be recompiled.

Reviewed by:    bz
Sponsored by:   The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D48747
DeltaFile
+28-0sys/compat/linuxkpi/common/src/linux_shrinker.c
+16-0sys/compat/linuxkpi/common/include/linux/shrinker.h
+1-1sys/sys/param.h
+45-13 files

FreeBSD/src 1396a73sys/compat/linuxkpi/common/include/linux pci.h

linuxkpi: Print "TODO" if a driver call `pci_wake_from_d3()`

This helps developers working with linuxkpi find out a function is
already defined but is just a stub.

Reported by:    bz
Reviewed by:    bz, emaste
Sponsored by:   The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D48862
DeltaFile
+3-0sys/compat/linuxkpi/common/include/linux/pci.h
+3-01 files

FreeBSD/src dec2806sys/compat/linuxkpi/common/include/linux pci.h

linuxkpi: Define `PCI_IRQ_LEGACY` for Linux < 6.10

Commit 03e39d3d42e70482cd6f65ecaa5cf8ff9674d27c decreased the Linux
version that exposes this constant to be Linux 6.7. It happens that the
constant is older.

However, it is removed in Linux 6.10. Let's change the version condition
to say that it is defined for any version before 6.10.

Reported by:    bz
Reviewed by:    bz
Sponsored by:   The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D48861
DeltaFile
+1-1sys/compat/linuxkpi/common/include/linux/pci.h
+1-11 files

FreeBSD/src 585cdb7sys/compat/linuxkpi/common/include/linux fs.h, sys/compat/linuxkpi/common/src linux_compat.c

linuxkpi: Defaults to `get_file_rcu()` version from Linux 6.7

To use the old version, one has to explicitly set `LINUXKPI_VERSION` to
the expected version of Linux KPI.

Reported by:    bz
Reviewed by:    bz
Sponsored by:   The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D48860
DeltaFile
+4-4sys/compat/linuxkpi/common/include/linux/fs.h
+1-1sys/compat/linuxkpi/common/src/linux_compat.c
+5-52 files

FreeBSD/src cdb24fblib/libsys Makefile.sys Symbol.map, libexec/rtld-elf/rtld-libc Makefile.inc

libsys: Don't create or expose __realpathat

Previously, __realpathat was in libc and libsys (as is currently
standard), but not exported from libc which meant the stub in libc was
not filtered and thus libc's copy of the syscall was used.  This broke
an upcoming change to CheriBSD limiting syscalls to libsys.

The realpath(3) implementation now uses __sys___realpathat so there are no
consumers of __realpathat.  Switch it to PSEUDO (only _foo and __sys_foo
symbols) and remove __realpathat from Symbol.map.

This is a corrected version of 58d43a3cd72a4a85ab8489313672c7eab367495e.

Reviewed by:    kib
Differential Revision:  https://reviews.freebsd.org/D49049
DeltaFile
+1-1libexec/rtld-elf/rtld-libc/Makefile.inc
+1-0lib/libsys/Makefile.sys
+0-1lib/libsys/Symbol.map
+2-23 files

FreeBSD/src 7f8a5c5share/man/man4 upgt.4

upgt: Deprecate ancient 802.11b/g driver

Recently-reported bugs in this driver should be fixed, but also the
hardware it supports is obsolete so mark it for deprecation.

PR:             284876
Reviewed by:    bz
Sponsored by:   The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D49045
DeltaFile
+6-1share/man/man4/upgt.4
+6-11 files

FreeBSD/src fd3016bcrypto/openssh blacklist.c blacklist_client.h, lib/libc/sys _umtx_op.2 fsync.2

Canonicalize the name of the FreeBSD Foundation

Reviewed by:    emaste
Sponsored by:   The FreeBSD Foundation

(cherry picked from commit dab59af3bcc7cb7ba01569d3044894b3e860ad56)
(cherry picked from commit ef3ed0726f2230e38df76a32a3b9ff145147af65)
DeltaFile
+1-1crypto/openssh/blacklist.c
+1-1crypto/openssh/blacklist_client.h
+1-1lib/libc/sys/_umtx_op.2
+1-1lib/libc/sys/fsync.2
+1-1lib/libc/sys/sigfastblock.2
+1-1lib/libc/sys/thr_exit.2
+6-622 files not shown
+28-2828 files

FreeBSD/src 0ae642ccrypto/openssh ChangeLog servconf.c

openssh: Update to 9.9p2

This release exists primarily to fix two security bugs.  The fixes have
been independently imported into FreeBSD.  This import serves to update
the ssh and sshd version number.

A few minor bug fixes are also included; see the upstream release notes
for full details of the 9.9p2 release
(https://www.openssh.com/releasenotes.html).

Sponsored by:   The FreeBSD Foundation
DeltaFile
+137-2,049crypto/openssh/ChangeLog
+45-16crypto/openssh/servconf.c
+23-5crypto/openssh/readconf.c
+26-0crypto/openssh/defines.h
+22-1crypto/openssh/misc.c
+12-5crypto/openssh/mlkem768.sh
+265-2,07613 files not shown
+289-2,10019 files

FreeBSD/src e959790crypto/openssh ssh-sk-helper.0

ssh: Remove unused prerendered man page

We use the source mdoc man pages (i.e., ssh-sk-helper.8) not the
rendered ones included in the OpenSSH releases.

Fixes: 0fdf8fae8b56 ("openssh: Update to 9.8p1")
Sponsored by: The FreeBSD Foundation
DeltaFile
+0-34crypto/openssh/ssh-sk-helper.0
+0-341 files

FreeBSD/src 4ddbb79release/scripts pkg-stage.sh

pkg-stage.sh: kde5 -> kde

The "kde5" package no longer exists; KDE goes to 6.

Note: Depending on the size of 13.5-BETA3 DVD images, KDE might end
up being removed from this list in the near future.

With hat:       re@
MFC after:      30 seconds
Sponsored by:   Amazon

(cherry picked from commit 0d7b98c06c5ec9638020844ee460af075cfc6e54)
DeltaFile
+1-1release/scripts/pkg-stage.sh
+1-11 files

FreeBSD/src 0d7b98crelease/scripts pkg-stage.sh

pkg-stage.sh: kde5 -> kde

The "kde5" package no longer exists; KDE goes to 6.

Note: Depending on the size of 13.5-BETA3 DVD images, KDE might end
up being removed from this list in the near future.

With hat:       re@
MFC after:      30 seconds
Sponsored by:   Amazon
DeltaFile
+1-1release/scripts/pkg-stage.sh
+1-11 files

FreeBSD/src 3d9fd9fcrypto/openssh libcrux_mlkem768_sha3.h sntrup761.c

openssh: Update to 9.9p1

Highlights from the release notes are reproduced below.  Bug fixes and
improvements that were previously merged into FreeBSD have been elided.

See the upstream release notes for full details of the 9.9p1 release
(https://www.openssh.com/releasenotes.html).

---

Future deprecation notice
=========================

OpenSSH plans to remove support for the DSA signature algorithm in
early 2025.

Potentially-incompatible changes
--------------------------------


    [55 lines not shown]
DeltaFile
+12,332-0crypto/openssh/libcrux_mlkem768_sha3.h
+1,920-1,034crypto/openssh/sntrup761.c
+1,075-1,065crypto/openssh/ChangeLog
+411-468crypto/openssh/moduli
+133-256crypto/openssh/ssh-rsa.c
+213-83crypto/openssh/sshkey.c
+16,084-2,90686 files not shown
+18,090-3,55392 files