geom: Restore group operator
Traditionally, in BSD, the operator group has been intended for backup
operators and has been granted read-only access to disks and related
devices. This includes geom.ctl, because backup operators need to be
able to dump partition tables.
Unfortunately, the geom.ctl device previously lacked proper access
control, and anyone with read access to it was able to modify GEOM
configuration, including modifying or destroying partitions, RAID
volumes, etc. As a workaround, the ownership of geom.ctl was changed to
root:wheel so that only users who presumably already have root
privileges were able to access it.
Now that access control has been implemented, we can restore the
original ownership so backup operators can once more dump partition
tables.
This reverts commit 7d576f1d657fc21f97cedc28cc971621ee2490a7.
dns/{dnsdist,powerdns}: Fix build for quarterly
These ports were recently updated to use the lmdb0 port, relying on
changes introduced by commit 85ba298, which has not yet been merged
to the quarterly branch.
Since the quarterly branch still provides LMDB 0.9 through the
databases/lmdb0 port, update LIB_DEPENDS to reference liblmdb.so
instead of liblmdb0.so.
Also comment out the custom PKG_CONFIG_PATH override, as it is no
longer required for the updated dependency configuration.
Reported by: pkg-fallout, Patrick M. Hausen (via mailing lists)
Approved by: portmgr (blanket, build fix)
lang/janet: Update to 1.43.1
1.43.1 merges the patch from https://github.com/janet-lang/janet/pull/1891
to avoid crash on (os/mkdir "/")
os/mkdir will normally return false on an existing directory except for "/"
Signed-off-by: Christopher Hall <bsd.hsw at gmail.com>
Reviewed by: David Marker <dave at freedave.net>
Differential Revision: https://reviews.freebsd.org/D60165
pf: don't allow any ioctl calls until we're fully initialised
We create the /dev/pf node before we're fully initialised, leaving a
(very small) gap where ioctl calls could be made before we're ready
for them.
PR: 301074
MFC after: 2 weeks
Sponsored by: Rubicon Communications, LLC ("Netgate")
pf: include orig_kif in the mark-and-sweep cleanup mechanism
As part of the purge process we mark all kifs referenced by states, so
that at the end of the sweep we know which ones are no longer referenced
and can be safely cleaned up.
We forgot to mark the orig_kif, so it was possible for a kif to be
referenced only by a state's orig_kif field, and if the interface itself
then went away we might end up freeing the kif while a state still
referenced it.
Reported by: llm-postcr
Fixes: d0fdf2b28f9b ("pf: Track the original kif for floating states")
Sponsored by: Rubicon Communications, LLC ("Netgate")
acpi_ec: Interpret a relative ECDT's EC_ID as an absolute namepath
This commit makes the Elan touchpad (ELAN06FA) on the Lenovo Thinkbook
14 6G attach at boot by resolving the ECDT's relative EC_ID path from
the namespace root.
The motherboard supports multiple touchpad models (Synaptics, Elan, ...)
As a result, the firmware defers the selection until runtime:
- touchpad device _INI method queries the embedded controller (EC),
- determines the actual model installed
- writes the correct _HID and I²C slave address
In acpi_ec_ecdt_probe(), the ECDT's EC_ID string is resolved with a NULL
scope. However ACPICA only accepts absolute paths in this context, while
the EC_ID provided by this machine's firmware is relative.
Although this is not specification-compliant, this change interprets
the relative EC_ID as an absolute namepath from the namespace root.
[3 lines not shown]
www/py-calibreweb: Backport upstream patch
archivers/py-py7zr that this port depends on via METADATA option
got updated to v1.1.4, so backport upstream patch for the support.
PR: 301067
MFH: 2026Q4
(cherry picked from commit 1ac23752855f6ac6920dd2167144f9deca348a5b)
www/py-calibreweb: Backport upstream patch
archivers/py-py7zr that this port depends on via METADATA option
got updated to v1.1.4, so backport upstream patch for the support.
PR: 301067
MFH: 2026Q4
tcp: improve consistency
Use an inline function tcp_adapt_iss_check() to perform the check
consistently instead of replicating the code multiple times. These
checks already became inconsistent.
A fix for PR 298560 requires more calls to tcp_adapt_iss_check().
Reviewed by: Peter Lei
Fixes: fa2ad70a4511 ("tcp: make ghost ACK handling more conformant")
Sponsored by: Netflix, Inc.
Differential Revision: https://reviews.freebsd.org/D61685
(cherry picked from commit e3483dbc91b59b5b2c73a4bc792fbb834c3dc111)
tcp: make ghost ACK handling more conformant
The latest version of draft-ietf-tcpm-tcp-ghost-acks changed
a condition. This should make no substantial difference, but makei
it compliant to the latest version of the specification.
Reviewed by: rscheff, Peter Lei
Sponsored by: Netflix, Inc.
Differential Revision: https://reviews.freebsd.org/D58411
(cherry picked from commit fa2ad70a4511e7b379e81de82c9e51b2e0994295)