FreeBSD/src 4ea4116release/tools vmimage.subr

vmimage.subr: Add ability to install src in VM image

In some cases having a src tree in a VM image is convenient
for development or debugging. Add a WITH_SRC variable,
which, when set, will cause the vm-release target to include
FreeBSD-set-src in the list of packages installed in an image.

Signed-off-by: Krzysztof Galazka <krzysztof.galazka at intel.com>

Sponsored by:   Intel Corporation

Reviewed by:    cperciva
MFC after:      2 weeks
Differential Revision:  https://reviews.freebsd.org/D57143
DeltaFile
+1-0release/tools/vmimage.subr
+1-01 files

FreeBSD/src 96b71cbshare/man/man5 hosts.equiv.5

hosts.equiv.5: correct nits to fix `mandoc -T lint` issues

- Rename `.Nm .rhosts` to `.Nm rhosts` to match the MLINK for the
  manpage.
- Use `.Pa` instead of `.Nm` when discussing the paths for `.rhosts` and
  `hosts.equiv.5` for explicitness and clarity.

Bump .Dd for the change.

MFC after:      1 week

(cherry picked from commit af864dd4a2df50021f8a48c218a1f5968dbbb0c1)
DeltaFile
+4-4share/man/man5/hosts.equiv.5
+4-41 files

FreeBSD/src f222707share/man/man5 hosts.equiv.5

hosts.equiv.5: correct nits to fix `mandoc -T lint` issues

- Rename `.Nm .rhosts` to `.Nm rhosts` to match the MLINK for the
  manpage.
- Use `.Pa` instead of `.Nm` when discussing the paths for `.rhosts` and
  `hosts.equiv.5` for explicitness and clarity.

Bump .Dd for the change.

MFC after:      1 week

(cherry picked from commit af864dd4a2df50021f8a48c218a1f5968dbbb0c1)
DeltaFile
+4-4share/man/man5/hosts.equiv.5
+4-41 files

FreeBSD/src 631cd25share/man/man7 security.7

security(7): fix `mandoc -T lint` complaints

- Add `.Nm` section for securelevel(7) to match corresponding MLINKS entry.
- Fix the spelling for mac(4) (the actual subsystem manpage is spelled out in
  lowercase.

MFC after:      1 week

(cherry picked from commit 573a9e5764df04d2dbfb0cf174458936b0a97095)
DeltaFile
+3-2share/man/man7/security.7
+3-21 files

FreeBSD/src fd420ec. MAINTAINERS, .github CODEOWNERS

OpenSSL: update MAINTAINERS/CODEOWNERS

I've been the quasi-defacto component maintainer for OpenSSL since
14.0-RELEASE. Make it official via CODEOWNERS/MAINTAINERS.

The goal is to help guide those interested in making changes in this
space to solicit my input with the new vendor import process and
coordinate fixes with upstream until things are at a point where most of
this is automated a system of automated checks and balances to confirm
that the updates being made to the component help maintain a security
supply chain for this given component.

Thank you benl and jkim for your past efforts in this component area.
Hopefully I can do my part to help improve this critical space further
as you both did in your respective tenures.

MFC after:      3 days

(cherry picked from commit 8f9aabbdbcd55b25b698bd762e8693d43f295bbd)
DeltaFile
+5-3.github/CODEOWNERS
+1-1MAINTAINERS
+6-42 files

FreeBSD/src b649738tools/build/mk OptionalObsoleteFiles.inc

Remove all of /usr/tests/share/examples/... when MK_EXAMPLES == no

- Remove the generated files (`file1`).
- Remove the top-level example `Kyuafile`.

MFC after:      1 week

(cherry picked from commit fb7df70a479f7cf972073f3a779adba2b4517c31)
DeltaFile
+4-0tools/build/mk/OptionalObsoleteFiles.inc
+4-01 files

FreeBSD/src d8fe9fctools/build/mk OptionalObsoleteFiles.inc

Remove `/usr/share/examples/oci` when MK_EXAMPLES == no

MFC after:      1 week
Fixes:          d03c82c28da86 ("release: add optional OCI images")

(cherry picked from commit ab53a4e9b95de1f6f58a8316b4c4eccf0b1760a2)
DeltaFile
+3-0tools/build/mk/OptionalObsoleteFiles.inc
+3-01 files

FreeBSD/src baee439tools/build/mk OptionalObsoleteFiles.inc

Remove `/usr/share/examples/oci` when MK_EXAMPLES == no

MFC after:      1 week
Fixes:          d03c82c28da86 ("release: add optional OCI images")

(cherry picked from commit ab53a4e9b95de1f6f58a8316b4c4eccf0b1760a2)
DeltaFile
+3-0tools/build/mk/OptionalObsoleteFiles.inc
+3-01 files

FreeBSD/src 7a8911etools/build/mk OptionalObsoleteFiles.inc

Preen/update list for share/examples/sound under `MK_EXAMPLES`

- Update sources to match current installed files list. This involved
  adding and removing some example files.
- Sort the list alphabetically so it'll be easier to spot future updates.

MFC after:      1 week

(cherry picked from commit b9495bd8c13e95035366b4e699b9ebe9f3d5c543)
DeltaFile
+7-3tools/build/mk/OptionalObsoleteFiles.inc
+7-31 files

FreeBSD/src aab35edtools/build/mk OptionalObsoleteFiles.inc

Remove all of /usr/tests/share/examples/... when MK_EXAMPLES == no

- Remove the generated files (`file1`).
- Remove the top-level example `Kyuafile`.

MFC after:      1 week

(cherry picked from commit fb7df70a479f7cf972073f3a779adba2b4517c31)
DeltaFile
+4-0tools/build/mk/OptionalObsoleteFiles.inc
+4-01 files

FreeBSD/src 6faa82bshare/man/man7 security.7

security(7): fix `mandoc -T lint` complaints

- Add `.Nm` section for securelevel(7) to match corresponding MLINKS entry.
- Fix the spelling for mac(4) (the actual subsystem manpage is spelled out in
  lowercase.

MFC after:      1 week

(cherry picked from commit 573a9e5764df04d2dbfb0cf174458936b0a97095)
DeltaFile
+3-2share/man/man7/security.7
+3-21 files

FreeBSD/src 3e9b85f. MAINTAINERS, .github CODEOWNERS

OpenSSL: update MAINTAINERS/CODEOWNERS

I've been the quasi-defacto component maintainer for OpenSSL since
14.0-RELEASE. Make it official via CODEOWNERS/MAINTAINERS.

The goal is to help guide those interested in making changes in this
space to solicit my input with the new vendor import process and
coordinate fixes with upstream until things are at a point where most of
this is automated a system of automated checks and balances to confirm
that the updates being made to the component help maintain a security
supply chain for this given component.

Thank you benl and jkim for your past efforts in this component area.
Hopefully I can do my part to help improve this critical space further
as you both did in your respective tenures.

MFC after:      3 days

(cherry picked from commit 8f9aabbdbcd55b25b698bd762e8693d43f295bbd)
DeltaFile
+5-3.github/CODEOWNERS
+1-1MAINTAINERS
+6-42 files

FreeBSD/src 0ac48eatests/sys/netinet6/frag6 frag6_19.sh

Revert "Skip sys.netinet6.frag6.frag6_19.frag6_19 in CI"

Per [siva@'s comment on the PR][1], this testcase now passes cleanly in CI.

PR:     274941
MFC after:      1 week

[1]: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=274941#c6

This reverts commit 86e87c3bd1b377242aafe7e2222ae17ca0be96d9.

(cherry picked from commit 3348fa7a45fdf14a7af509e306229bd211444f1e)
DeltaFile
+0-3tests/sys/netinet6/frag6/frag6_19.sh
+0-31 files

FreeBSD/src 4938fd9sys/kern kern_jail.c

jail: Don't double-free the current prison in kern_jail_set/get

Reported by:    Yuxiang Yang, et al <yangyx22 at mails.tsinghua.edu.cn>
Discussed with: markj

(cherry picked from commit b52dc2067618fc73e8d4d20e4035d1a67a8b455d)
DeltaFile
+10-4sys/kern/kern_jail.c
+10-41 files

FreeBSD/src 9f80c8blibexec/rc/rc.d routing

rc.d/routing: Silence errors for loopback routes

_loopback entry in `static_routes` ensures a loopback route
exists in all routing tables.
However, loopback routes may already be added by the kernel.
Therefore, re-adding them triggers an `EEXIST` error on every boot.
This change suppresses those harmless errors.

PR:             259553
MFC after:      1 week
Reviewed by:    glebius, jlduran, markj
Differential Revision:  https://reviews.freebsd.org/D57470
DeltaFile
+16-3libexec/rc/rc.d/routing
+16-31 files

FreeBSD/src 75b23c1tests/sys/kern jaildesc.c

tests/jaildesc: Use a more efficient mechanism to block

MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D57148
DeltaFile
+3-6tests/sys/kern/jaildesc.c
+3-61 files

FreeBSD/src fe03a78tests/sys/kern jaildesc.c Makefile

tests/jaildesc: Add some more test scenarios

MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D57147
DeltaFile
+204-0tests/sys/kern/jaildesc.c
+1-1tests/sys/kern/Makefile
+205-12 files

FreeBSD/src 2a7d370share/man/man7 stats.7

stats: Reference zpool-iostat(8) instead of zpool(8)

MFC after:      3 days

(cherry picked from commit c0ec8ffb46ab337dcf726fcdf8083f62859d0ae6)
DeltaFile
+2-2share/man/man7/stats.7
+2-21 files

FreeBSD/src 8e1f5bastand/man loader.efi.8

loader.efi.8: Address mandoc -Tlint errors

MFC after:      3 days
DeltaFile
+31-20stand/man/loader.efi.8
+31-201 files

FreeBSD/src 3101456sys/dev/ice ice_lib.c

ice(4): Fix link speed after changing cable type

When interface was connected to a link partner with a cable
type limitting maximum supported speed, e.g. SFP+ cable
in 25G port, driver incorrectly saved a supported speed
as the user configured speed. This prevented interface
from using all supported speeds after switching cable to SFP28.
Link was established at 10G as supported by previously used
SFP+ cable. Don't set user requested speed unless actually
configured by an user, to allow automatic selection of highest
available speed. Only when user sets custom config
using advertise_speed sysctl save it and try
to apply after cable is changed.

Also don't save initial supported speeds if FW supports
reporting default PHY config.

Signed-off-by: Krzysztof Galazka <krzysztof.galazka at intel.com>


    [4 lines not shown]
DeltaFile
+11-7sys/dev/ice/ice_lib.c
+11-71 files

FreeBSD/src fcb31b5lib/libpfctl libpfctl.c

libpfctl: fix memory leak

When we snl_init_writer() we allocate memory in the struct snl_state in the struct pfctl_handle.
This memory was never released again, leading to a memory leak. We still
had a reference to the memory and would release it on pfctl_close()
(so valgrind did not detect it as a leak), but long-lived users (e.g.
bsnmpd) would eventually run out of memory.

Explicitly reset the snl_state when we're done to prevent this.

MFC after:      2 weeks
Sponsored by:   Rubicon Communications, LLC ("Netgate")
DeltaFile
+428-171lib/libpfctl/libpfctl.c
+428-1711 files

FreeBSD/src 2a478dflib/libpfctl libpfctl.c

libpfctl: retrieve family id only once

Look up the pfctl family id when we open the handle, rather than for
every function call.
This saves us a lot of netlink calls, at the expense of storing one
extra int in the handle.

Sponsored by:   Rubicon Communications, LLC ("Netgate")
DeltaFile
+93-266lib/libpfctl/libpfctl.c
+93-2661 files

FreeBSD/src bea6f7dsys/dev/ice ice_drv_info.h

ice(4): Add support for new E810-XXV-2 adapters

Add two new subdevice IDs for E810-XXV-2 and E810-XXV-2 for OCP 3.0.

Signed-off-by: Krzysztof Galazka <krzysztof.galazka at intel.com>

Reviewed by:    kbowling, erj, mateusz.moga_intel.com
Sponsored by:   Intel Corporation
MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D54069
DeltaFile
+6-0sys/dev/ice/ice_drv_info.h
+6-01 files

FreeBSD/src 23c99b6usr.sbin/bhyve bhyve.8

bhyve: Document vCPU range pinning

This change documents the recently introduced changes to -p
that allow users to specify CPU ranges instead of having to
specify each individual mapping.

While we're here, move the -p examples to the EXAMPLES section.

Reviewed by:    bcr
MFC after:      2 weeks
Differential Revision:  https://reviews.freebsd.org/D57480
DeltaFile
+25-13usr.sbin/bhyve/bhyve.8
+25-131 files

FreeBSD/src d6e3662crypto/openssl/crypto/bn bn_const.c

Remove fips-module related diff

This particular change didn't come from upstream. It was added locally
in 7a991ecd1 when attempting to enable the fips provider with 3.0.

Given the fact that we no longer build the fips provider and the fips
provider build process (including sources) is very prescribed to
specific build steps and source versions, there's no reason why we need
to continue carrying around this diff anymore.

MFC after:      1 week
Signed-off-by: Enji Cooper <ngie at FreeBSD.org>
DeltaFile
+0-2crypto/openssl/crypto/bn/bn_const.c
+0-21 files

FreeBSD/src 2de6d07crypto/openssl/apps openssl.cnf

Remove `$FreeBSD$` from upstream-provided config file

This diff reduces with the content provided by upstream (OpenSSL).

MFC after:      1 week
DeltaFile
+0-1crypto/openssl/apps/openssl.cnf
+0-11 files

FreeBSD/src 96841ea. UPDATING, lib/csu/common crtbrand.S

Update in preparation for 15.1-RELEASE

- Bump BRANCH to RELEASE
- Add the anticipated RELEASE announcement date
- Set a static __FreeBSD_version

Approved by:    re (implicit)
Sponsored by:   OpenSats Initiative
DeltaFile
+3-0UPDATING
+1-1lib/csu/common/crtbrand.S
+1-1sys/conf/newvers.sh
+5-23 files

FreeBSD/src 1f68ca5sys/dev/vt vt_buf.c

vt: Do not lock request comming from terminal

only those originated by mouse.  Because the terminal surrounds
requests to vt(4) with locking.

Reported by:    bz, adrian
Reviewed by:    adrian, glebius
Approved by:    glebius (mentor)
MFC after:      2 weeks
Differential Revision:  https://reviews.freebsd.org/D57442
DeltaFile
+14-3sys/dev/vt/vt_buf.c
+14-31 files

FreeBSD/src ee13bfbshare/man/man4 amdsmu.4

amdsmu(4): Small improvements

Suggested by:   olce
Sponsored by:   The FreeBSD Foundation
DeltaFile
+3-2share/man/man4/amdsmu.4
+3-21 files

FreeBSD/src 4733b4dshare/man/man4 amdsmu.4 Makefile

amdsmu(4): Add manpage

Sponsored by:   The FreeBSD Foundation
Differential Revision:  https://reviews.freebsd.org/D57366
DeltaFile
+184-0share/man/man4/amdsmu.4
+2-0share/man/man4/Makefile
+186-02 files