FreeBSD/src aacf267share/man/man7 ports.7

ports.7: Fix example of passing variables on the command line

make(1)'s -D flag does not allow for setting the value of the variable.
It just defines the variable and sets its value to 1. In fact, make(1)
treats "=" as just another character in the variable name:

```
$ make -DA=2 -V A  # Output is just an empty line.

$ make -DA=2 -V A=2  # Variable "A=2" is defined and set to "1".
1
```

Fixes:  d25f7d324a9d ports.7: Document DEBUG_FLAGS and the process of debugging ports
MFC after:      3 days

(cherry picked from commit 9365a328596c9f156deaa15fa018b76b3a6e6b18)
DeltaFile
+2-2share/man/man7/ports.7
+2-21 files

FreeBSD/src c7608bcshare/man/man7 ports.7

ports.7: Fix example of passing variables on the command line

make(1)'s -D flag does not allow for setting the value of the variable.
It just defines the variable and sets its value to 1. In fact, make(1)
treats "=" as just another character in the variable name:

```
$ make -DA=2 -V A  # Output is just an empty line.

$ make -DA=2 -V A=2  # Variable "A=2" is defined and set to "1".
1
```

Fixes:  d25f7d324a9d ports.7: Document DEBUG_FLAGS and the process of debugging ports
MFC after:      3 days

(cherry picked from commit 9365a328596c9f156deaa15fa018b76b3a6e6b18)
DeltaFile
+2-2share/man/man7/ports.7
+2-21 files

FreeBSD/src 63bd241sys/kern vfs_subr.c

vfs: denote a bug when dooming vnodes with custom locking primitives

See the added comment.

The entire notion of how vnodes are doomed needs to be reworked, but the
bare minimum would be to have filesystems provide ops for doomed nodes
and keep ->v_data around at least until they are done with it.
DeltaFile
+11-0sys/kern/vfs_subr.c
+11-01 files

FreeBSD/src b98124esys/kern vfs_cache.c

vfs cache: update commentary, no code changes

sdt hotpatching was implemented, thus a remark about usefulnes of doing
it was removed.

Apart from that a bunch of expanded/reworded explanations.

Improvement in terms of the quality of the use the English language
was a non-goal and was most likely not achieved.
DeltaFile
+109-53sys/kern/vfs_cache.c
+109-531 files

FreeBSD/src 3eed215share/misc bsd-family-tree

bsd-family-tree: add FreeBSD 16 -current
DeltaFile
+1-1share/misc/bsd-family-tree
+1-11 files

FreeBSD/src d036260share/man/man8 nanobsd.8, tools/tools/nanobsd defaults.sh

nanobsd: Fix the p flag

Fix the "p" flag in the manual page.
While here, add the flag to the usage instructions.

Reviewed by:    imp
Approved by:    emaste (mentor)
Fixes:  90593b1bdb80 ("nanobsd: Expose do_image_prep on command line")
Differential Revision:  https://reviews.freebsd.org/D52508
DeltaFile
+2-1tools/tools/nanobsd/defaults.sh
+1-1share/man/man8/nanobsd.8
+3-22 files

FreeBSD/src e2f40abrelease release.sh

release.sh: Pass PKGCONF through to make release

Otherwise setting PKGCONF=1 in the release.conf file doesn't actually
result in pkgbase bits being produced and shipped on images.

MFC after:      1 minute
Sponsored by:   https://www.patreon.com/c/cperciva

(cherry picked from commit d4282cfa97d695f3e5590ad330a5a0bb2cca3110)
DeltaFile
+1-1release/release.sh
+1-11 files

FreeBSD/src d4282cfrelease release.sh

release.sh: Pass PKGCONF through to make release

Otherwise setting PKGCONF=1 in the release.conf file doesn't actually
result in pkgbase bits being produced and shipped on images.

MFC after:      1 minute
Sponsored by:   https://www.patreon.com/c/cperciva
DeltaFile
+1-1release/release.sh
+1-11 files

FreeBSD/src c806defusr.sbin/cron/cron crontab

cron: Fix comment from "root's" to "system" crontab

It is referred to in the documentation as the system crontab, not root's
crontab.

PR:             289099
Reviewed by:    emaste
Approved by:    emaste (mentor)
Fixes:  d33daab9348a ("Call /etc/crontab the "system crontab", not "root's crontab".  While here, fix some other wording issues")
MFC after:      2 weeks
Differential Revision:  https://reviews.freebsd.org/D52503
DeltaFile
+1-1usr.sbin/cron/cron/crontab
+1-11 files

FreeBSD/src 6a888f6sys/net if_bridge.c

bridge: Do outbound VLAN filtering in bridge_enqueue

Outbound VLAN filtering wasn't being done for host-originated frames,
because bridge_output was missing a call to bridge_vfilter_out, like
in bridge_forward and bridge_broadcast.

Rather than adding another call, move the filtering to bridge_enqueue,
which ensures all frames will be filtered.  This slightly changes the
observable behaviour since we now do pfil before vlan filtering, but
that's probably closer to what users expect anyway.

MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D52380
DeltaFile
+14-8sys/net/if_bridge.c
+14-81 files

FreeBSD/src 66f36c3. Makefile.inc1, release/packages generate-set-ucl.lua create-sets.sh

packages: Add meta-package sets

Add several metapackages which contain no files themselves, but depend
on other packages.  This allows the user to install a system by using
a set like "FreeBSD-set-minimal" instead of having to know which
specific packages are required, and it means if we add more package
in the future, existing installations will get them automatically as
long as they were installed using a set.

The defined sets are significantly less granular than the actual
packages; the assumption is that users who want a very specific set of
packages installed can do that manually, while sets are intended more
for typical users who just want to install FreeBSD.

The following sets are defined:

* minimal: the set of packages required to boot the system and bring
  up a multi-user UNIX system.  This includes hardware support,
  networking (wireless, DHCP), basic functionality like syslogd, cron

    [40 lines not shown]
DeltaFile
+96-0release/packages/generate-set-ucl.lua
+45-0release/packages/create-sets.sh
+34-0release/packages/generate-ucl.lua
+25-8release/packages/template.ucl
+29-1Makefile.inc1
+21-0release/packages/ucl/README
+250-955 files not shown
+619-4061 files

FreeBSD/src 163f862release/packages/ucl zoneinfo-all.ucl

packages: Add correct license for zoneinfo

Source: contrib/tzdata/LICENSE

MFC after:      3 days
Reviewed by:    bapt
Differential Revision:  https://reviews.freebsd.org/D51886
DeltaFile
+3-0release/packages/ucl/zoneinfo-all.ucl
+3-01 files

FreeBSD/src 29185c9cddl/lib/libnvpair Makefile, cddl/lib/libspl Makefile

packages: Use LIB_PACKAGE for zfs and ufs packages

Commit f9513c334ff7 moved the shared libraries for ZFS and UFS into
separate packages (libzfs and libufs), which resulted in a rather
large number of packages being created, e.g. for ZFS:

FreeBSD-libzfs
FreeBSD-libzfs-dbg
FreeBSD-libzfs-dbg-lib32
FreeBSD-libzfs-dev
FreeBSD-libzfs-dev-lib32
FreeBSD-libzfs-lib32
FreeBSD-zfs
FreeBSD-zfs-dbg
FreeBSD-zfs-dbg-lib32
FreeBSD-zfs-dev
FreeBSD-zfs-dev-lib32
FreeBSD-zfs-lib32
FreeBSD-zfs-man

    [16 lines not shown]
DeltaFile
+0-8release/packages/ucl/libufs-all.ucl
+4-3cddl/lib/libtpool/Makefile
+0-5release/packages/ucl/libzfs-all.ucl
+3-1cddl/lib/libspl/Makefile
+3-1cddl/lib/libnvpair/Makefile
+3-1cddl/lib/libumem/Makefile
+13-1911 files not shown
+40-2617 files

FreeBSD/src 66d8ffelib/libsys kqueue.2, sys/kern kern_jaildesc.c kern_event.c

jaildesc: add kevent support

Give jail descriptors the same kevent flags as jails.  Also fix the
event reporting in jails, where it was including data for events the
user didn't ask for.

MFC after:      3 days
DeltaFile
+136-2sys/kern/kern_jaildesc.c
+10-8sys/kern/kern_event.c
+14-1lib/libsys/kqueue.2
+3-2sys/sys/event.h
+4-0sys/sys/jaildesc.h
+1-0sys/kern/kern_jail.c
+168-136 files

FreeBSD/src ab2fea3. UPDATING

UPDATING: mention the src.conf change

Fixes:          dd8c666d8b78 ("src.sys.mk: Support src.conf in SRCTOP")
DeltaFile
+5-0UPDATING
+5-01 files

FreeBSD/src 8d2d664share/vt/fonts gallant.hex

Supercharge the most beautiful console font ever with +4300 glyphs.

I have increased the glyphs from 502 to 4885. Major additions:

 * Greek
 * Cyrillic
 * International Phonetic Association Extensions
 * Extended Latin characters
 * Zapf Dingbats
 * Tons of arrows
 * Tons of mathematical symbols
 * Letterlike symbols and enclosed alphanumerics
 * Pixel-perfect box drawing
 * Currency symbols
 * More punctuation
 * Just enough Katakana to say コンニチハ
 * Powerline glyphs in the Private Use Area at U+e0a0

I have tried hard to keep the look of the font for Greek and Cyrillic

    [11 lines not shown]
DeltaFile
+4,102-19share/vt/fonts/gallant.hex
+4,102-191 files

FreeBSD/src 3c60ea7sys/dev/e1000 if_em.c if_em.h

e1000: fix igb VF stats

igb VF must not read normal stat registers and only read a limited
set of registers.  The PF registers also don't make since as the VF
is an internal port, and there is no PHY to collect stats like CRC
errors from.

PR:     282309
Obtained from:  Juniper Networks, Inc.
Differential Revision:  https://reviews.freebsd.org/D52326
DeltaFile
+214-127sys/dev/e1000/if_em.c
+18-1sys/dev/e1000/if_em.h
+232-1282 files

FreeBSD/src bcdbeaesys/netgraph ng_device.c

ng_device.c: improve compliance with style(9)

Signed-off-by: Quentin Thébault <quentin.thebault at defenso.fr>
Reviewed by: imp, jhb
Pull Request: https://github.com/freebsd/freebsd-src/pull/1827
DeltaFile
+34-29sys/netgraph/ng_device.c
+34-291 files

FreeBSD/src 9fadaeesys/netgraph ng_device.c

ng_device: enable setting the device to non-blocking mode

Return success when FIONBIO or FIOASYNC ioctl are received in order to support
being set to non-blocking through fcntl(2). We return an error on FIOASYNC with
non-zero data argument since we do not support O_ASYNC.

Signed-off-by: Quentin Thébault <quentin.thebault at defenso.fr>
Reviewed by: imp, jhb
Pull Request: https://github.com/freebsd/freebsd-src/pull/1827
DeltaFile
+34-7sys/netgraph/ng_device.c
+34-71 files

FreeBSD/src 593d432sys/netgraph ng_device.c

ng_device: replace dependency on vnode.h with fcntl.h

Update to current convention of using fcntl.h O_* flags instead of vnode.h IO_*
ones, as explained in sys/fs/devfs/devfs_vnops.c.

Signed-off-by: Quentin Thébault <quentin.thebault at defenso.fr>
Reviewed by: imp, jhb
Pull Request: https://github.com/freebsd/freebsd-src/pull/1827
DeltaFile
+2-2sys/netgraph/ng_device.c
+2-21 files

FreeBSD/src ecca34fsys/geom/union g_union.c

gunion: Also destroy the rw_lock

We also need to destroy the rw_lock when we free the softc.

Noticed by: markj
Fixes: 656f7f43f204
Sponsored by:           Netflix
DeltaFile
+1-0sys/geom/union/g_union.c
+1-01 files

FreeBSD/src c8a4d63. Makefile.inc1

pkgbase: fix alpha and beta versioning

MFC After:      1 day

(cherry picked from commit 1bc7ee74b6a80081f0f5764970e3949e834965f1)
DeltaFile
+2-2Makefile.inc1
+2-21 files

FreeBSD/src 4c6cf61tools/tools/crypto cryptotest.c cryptorun.sh

tools: Drop cryptotest

This has been supplanted by cryptocheck and has bitrotted to the point
where it no longer builds.

PR:             289325
Reviewed by:    jhb
Differential Revision:  https://reviews.freebsd.org/D52399
DeltaFile
+0-658tools/tools/crypto/cryptotest.c
+0-31tools/tools/crypto/cryptorun.sh
+1-4tools/tools/crypto/Makefile
+1-6933 files

FreeBSD/src 7f14cf6usr.sbin/bsdinstall bsdinstall.8, usr.sbin/bsdinstall/scripts zfsboot

bsdinstall: Drop outdated comments about ZFS dataset compression

All datasets on zroot pool are compressed by default since FreeBSD 11.0 [1],
no need to mention that on some specific datasets these days.

[1] 47206692f2cca020891d1eec5028e02c3e6f56c5

Reviewed by:    jrm (mentor), ziaee
MFC after:      3 days
Differential Revision:   https://reviews.freebsd.org/D52304

(cherry picked from commit f304c5bb8be65df83b86f8a50e1c7982b266262d)
DeltaFile
+2-2usr.sbin/bsdinstall/bsdinstall.8
+2-2usr.sbin/bsdinstall/scripts/zfsboot
+4-42 files

FreeBSD/src 1bc7ee7. Makefile.inc1

pkgbase: fix alpha and beta versioning

MFC After:      1 day
DeltaFile
+2-2Makefile.inc1
+2-21 files

FreeBSD/src 00a3591usr.sbin/bsdinstall bsdinstall.8, usr.sbin/bsdinstall/scripts zfsboot

bsdinstall: Drop outdated comments about ZFS dataset compression

All datasets on zroot pool are compressed by default since FreeBSD 11.0 [1],
no need to mention that on some specific datasets these days.

[1] 47206692f2cca020891d1eec5028e02c3e6f56c5

Reviewed by:    jrm (mentor), ziaee
MFC after:      3 days
Differential Revision:   https://reviews.freebsd.org/D52304

(cherry picked from commit f304c5bb8be65df83b86f8a50e1c7982b266262d)
DeltaFile
+2-2usr.sbin/bsdinstall/bsdinstall.8
+2-2usr.sbin/bsdinstall/scripts/zfsboot
+4-42 files

FreeBSD/src b0e7b55krb5/usr.bin/ksu Makefile

krb5: Enable PRINC_LOOK_AHEAD in ksu

PRINC_LOOK_AHEAD is the upstream default. Normally ksu determines the
target princiapl by (quoted from the man page)

a. default principal of the source cache

b. target_user at local_realm

c. source_user at local_realm

With PRINC_LOOK_AHEAD emabled, for each candidate in the above
list, select an authorized principal that has the same realm name
and first part of the principal name equal to the prefix of the
candidate. For example if candidate a) is jqpublic at ISI.EDU and
jqpublic/secure at ISI.EDU is authorized to access the target account
then the default principal is set to jqpublic/secure at ISI.EDU.

Case 2: source user is root.

    [14 lines not shown]
DeltaFile
+2-1krb5/usr.bin/ksu/Makefile
+2-11 files

FreeBSD/src d3f8ed6lib/libc/gen getgrouplist.c

getgrouplist(3): Remove superfluous headers, bogus comment and whitespace

No functional change (intended).

Fixes:          a59d6a872459 ("Implementing 'fallback' nsswitch source.")
MFC after:      3 days
Sponsored by:   The FreeBSD Foundation
DeltaFile
+0-7lib/libc/gen/getgrouplist.c
+0-71 files

FreeBSD/src 5ea201asys/security/mac_do mac_do.c

MAC/do: Rename the internal malloc type

From M_DO to M_MAC_DO.  While here, make the descriptions more accurate.

(Commit message by olce@.)

Reviewed by:    olce
MFC after:      3 days
Sponsored by:   Google LLC (GSoC 2025)
Sponsored by:   The FreeBSD Foundation

(cherry picked from commit 6612fc306d3eb58f85f4cf4533161a1340374709)
DeltaFile
+24-24sys/security/mac_do/mac_do.c
+24-241 files

FreeBSD/src f363190usr.sbin/chroot chroot.8

chroot.8: Be more precise when describing '-u', '-g' and '-G'

Reviewed by:    kevans, ziaee
MFC after:      3 days
Sponsored by:   The FreeBSD Foundation
Differential Revision:  https://reviews.freebsd.org/D51511

(cherry picked from commit 04a6dc7974ee02004c9ccbb0c28d14a3271fb56a)
DeltaFile
+8-6usr.sbin/chroot/chroot.8
+8-61 files