iflib: return one vector when falling back to a legacy interrupt
iflib_msix_init() is documented to "return us the number of supported
vectors (will be 1 for a legacy interrupt and MSI)", and
iflib_device_register() relies on that: it treats a return greater than
one as "MSI-X was set up" and calls IFDI_MSIX_INTR_ASSIGN().
On the legacy fallback the function sets scctx->isc_vectors to 1 but
returns the raw pci_msi_count() it fetched at the msi: label.
Set vectors to 1 alongside isc_vectors so the return value matches both
the documented contract and the interrupt mode that was chosen.
Reported by: llm-postcr
Signed-off-by: Nick Price <nprice at FreeBSD.org>
Reviewed by: gallatin
Differential Revision: https://reviews.freebsd.org/D61974
sysutils/syslog-ng: Update to 4.13.0
This includes optional enablement of the syslog-ng supplied ivykis
which is off by default.
Original tarball submitted by:
Peter Czanik (CzP) <peter.czanik at oneidentity.com>
One Identity (Balabit) / syslog-ng upstream
acpi_spmc: Make Intel device-specific state optional
The Intel Low Power S0 Idle _DSM specification marks the minimum
device-specific state of a constraint package as optional, and its own
example returns {0xFF, 0}. Requiring three elements rejected such
constraints, with one boot message each.
Reviewed by: olce
Approved by: olce
Fixes: 508efe35e577 ("acpi_spmc: Check Intel constraint packages")
Pull Request: https://ron-dev.freebsd.org/FreeBSD/src/pulls/134
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")