FreeBSD/src 4c4bad4sys/kern kern_event.c

kqueue: avoid closing a file under the knlist lock

Killing a knote releases its file reference, and releasing the last one
runs the close path inline.
 panic: _mtx_lock_sleep: recursed on non-recursive mutex ttymtx

Revoking a controlling tty during exit reaches this whenever a knote is
still registered on it.

Released the knlist lock around the drop and restart the walk.
The knote stays valid while the lock is released.

MFC: 1 week

Reviewed by:    kib
Differential Revision:  https://reviews.freebsd.org/D58681
DeltaFile
+8-0sys/kern/kern_event.c
+8-01 files

FreeBSD/ports e8cb2c0databases/qdrant Makefile Makefile.crates

databases/qdrant: update 1.18.3 → 1.19.0
DeltaFile
+259-241databases/qdrant/distinfo
+128-119databases/qdrant/Makefile.crates
+1-2databases/qdrant/Makefile
+388-3623 files

FreeBSD/ports 22860e2devel/py-ruff Makefile distinfo, devel/ruff Makefile Makefile.crates

devel/{,py-}ruff: update 0.16.1 → 0.16.2
DeltaFile
+27-27devel/ruff/distinfo
+27-27devel/py-ruff/distinfo
+13-13devel/py-ruff/Makefile
+12-12devel/ruff/Makefile.crates
+1-1devel/ruff/Makefile
+80-805 files

FreeBSD/ports 1c117eadeskutils/skim Makefile distinfo

deskutils/skim: update 5.6.1 → 5.6.3
DeltaFile
+53-53deskutils/skim/distinfo
+26-26deskutils/skim/Makefile
+79-792 files

FreeBSD/ports 50b465fdevel/git-repo-manager Makefile distinfo

devel/git-repo-manager: update 0.10.0 → 0.11.0
DeltaFile
+103-41devel/git-repo-manager/distinfo
+51-21devel/git-repo-manager/Makefile
+154-622 files

FreeBSD/ports dd5aeffdatabases/diesel Makefile distinfo

databases/diesel: update 2.3.11 → 2.3.12
DeltaFile
+89-87databases/diesel/distinfo
+45-44databases/diesel/Makefile
+134-1312 files

FreeBSD/src e79f6aasys/contrib/dev/ath/ath_hal/ar9300 ar9300_paprd.c

ath: return error code of HAL_STATUS type

Found with:     clang -Werror=assign-enum
DeltaFile
+1-1sys/contrib/dev/ath/ath_hal/ar9300/ar9300_paprd.c
+1-11 files

FreeBSD/src 2ae8976sys/dev/ocs_fc ocs_hw.c

ocs_fc: return correct error code from ocs_hw_set_persistent_topology()

No functional change, as current callers either don't check the return
value or check it against OCS_HW_RTN_SUCCESS only.

Found with:     clang -Werror=assign-enum
DeltaFile
+3-3sys/dev/ocs_fc/ocs_hw.c
+3-31 files

FreeBSD/src 3d064b7lib/libc/tests/stdlib/libatexit libatexit.cc

libc: tests: add static to resolve -Wmissing-prototypes

The function create_staticobj() is only used inside this translation unit.
Clang produces a -Wmissing-prototypes warning during standard buildworld.
This warning will become a fatal compile error if MK_WERROR is enabled for hardened builds.

PR: 285870
Fixes: ee9ce1078 ("libc: tests: add some tests for __cxa_atexit...")
Signed-off-by: Zhang Qiyue <peter-open-source.probing805 at aleeas.com>
Reviewed-by: ngie
Pull-Request: https://github.com/freebsd/freebsd-src/pull/2321
(cherry picked from commit 64038db825d64fb4827fc8ee264ea0fa1a046d82)
DeltaFile
+1-1lib/libc/tests/stdlib/libatexit/libatexit.cc
+1-11 files

FreeBSD/src 891d636lib/libc/tests/stdlib/libatexit libatexit.cc

libc: tests: add static to resolve -Wmissing-prototypes

The function create_staticobj() is only used inside this translation unit.
Clang produces a -Wmissing-prototypes warning during standard buildworld.
This warning will become a fatal compile error if MK_WERROR is enabled for hardened builds.

PR: 285870
Fixes: ee9ce1078 ("libc: tests: add some tests for __cxa_atexit...")
Signed-off-by: Zhang Qiyue <peter-open-source.probing805 at aleeas.com>
Reviewed-by: ngie
Pull-Request: https://github.com/freebsd/freebsd-src/pull/2321
(cherry picked from commit 64038db825d64fb4827fc8ee264ea0fa1a046d82)
DeltaFile
+1-1lib/libc/tests/stdlib/libatexit/libatexit.cc
+1-11 files

FreeBSD/src 9d76545sys/dev/usb/wlan if_urtw.c

urtw: return error of usb_error_t

Found with:     clang -Werror=assign-enum
DeltaFile
+1-1sys/dev/usb/wlan/if_urtw.c
+1-11 files

FreeBSD/src 6a15fd9sys/compat/linuxkpi/common/include/linux ieee80211.h

linuxkpi: add WLAN_EID_HT_OPERATION to ieee80211_eid

It matches our IEEE80211_ELEMID_HTINFO, that is already in use.

Found with:     clang -Werror=assign-enum
DeltaFile
+1-0sys/compat/linuxkpi/common/include/linux/ieee80211.h
+1-01 files

FreeBSD/src d2a9eefsys/dev/mpt mpt_raid.h mpt_raid.c

mpt: mpt_map_physdisk() is internal and shall not return cam_status

Found with:     clang -Werror=assign-enum
DeltaFile
+1-1sys/dev/mpt/mpt_raid.h
+1-1sys/dev/mpt/mpt_raid.c
+2-22 files

FreeBSD/ports b477247devel/ta-lib distinfo pkg-plist, devel/ta-lib/files patch-ta-lib-config.in

devel/ta-lib: update 0.4.0 → 0.7.1

PR:             297033
Approved by:    bdheeman at gmail.com (maintainer's timeout; 14 days)
DeltaFile
+0-13devel/ta-lib/files/patch-ta-lib-config.in
+7-5devel/ta-lib/Makefile
+6-5devel/ta-lib/pkg-plist
+3-2devel/ta-lib/distinfo
+16-254 files

FreeBSD/ports 11380e4finance/py-ta-lib distinfo Makefile, finance/py-ta-lib/files patch-pyproject.toml patch-talib___ta__lib.c

finance/py-ta-lib: update 0.4.32 → 0.7.1
DeltaFile
+608-0finance/py-ta-lib/files/patch-talib___ta__lib.c
+31-0finance/py-ta-lib/files/patch-pyproject.toml
+8-11finance/py-ta-lib/Makefile
+3-3finance/py-ta-lib/distinfo
+650-144 files

FreeBSD/ports a5ed14edevel/p5-RRDTool-OO Makefile

devel/p5-RRDTool-OO: Adjust patch to rrdtool 1.11.0 update
DeltaFile
+2-2devel/p5-RRDTool-OO/Makefile
+2-21 files

FreeBSD/ports 69aa28fdatabases/rrdtool distinfo, databases/rrdtool/files patch-examples_rrdcached_Makefile.in patch-examples_Makefile.in

databases/rrdtool: Update to 1.11.0

ChangeLog: https://github.com/oetiker/rrdtool-1.x/releases/tag/v1.11.0
DeltaFile
+3-3databases/rrdtool/files/patch-configure
+3-3databases/rrdtool/files/patch-bindings_Makefile.in
+3-3databases/rrdtool/distinfo
+2-2databases/rrdtool/files/patch-examples_rrdcached_Makefile.in
+2-2databases/rrdtool/files/patch-examples_Makefile.in
+2-2databases/rrdtool/files/extra-patch-locktimeout
+15-151 files not shown
+16-167 files

FreeBSD/ports aeb733edatabases/pecl-rrd Makefile, databases/py-rrdtool Makefile

databases/rrdtool: Bump revisions after 1.11.0
DeltaFile
+1-1net-mgmt/smokeping/Makefile
+1-1net-mgmt/rrdbot/Makefile
+1-1net-mgmt/collectd5/Makefile
+1-1mail/opendkim-devel/Makefile
+1-1databases/py-rrdtool/Makefile
+1-1databases/pecl-rrd/Makefile
+6-67 files not shown
+13-913 files

FreeBSD/ports c08f9e3x11/rio Makefile distinfo

x11/rio: update 0.5.14 → 0.5.19
DeltaFile
+3-3x11/rio/distinfo
+1-1x11/rio/Makefile
+4-42 files

FreeBSD/ports d544ef8shells/atuin Makefile distinfo

shells/atuin: update 18.18.1 → 18.19.0
DeltaFile
+139-63shells/atuin/distinfo
+72-32shells/atuin/Makefile
+211-952 files

FreeBSD/ports 8fb5b28lang/typstyle Makefile distinfo

lang/typstyle: update 0.15.0 → 0.15.1
DeltaFile
+31-33lang/typstyle/distinfo
+15-17lang/typstyle/Makefile
+46-502 files

FreeBSD/ports 45dec06finance/ord Makefile distinfo

finance/ord: update 0.27.1 → 0.29.0
DeltaFile
+373-387finance/ord/distinfo
+186-194finance/ord/Makefile
+559-5812 files

FreeBSD/ports 36c08ffdevel/nextest Makefile distinfo

devel/nextest: update 0.9.140 → 0.9.143
DeltaFile
+111-101devel/nextest/distinfo
+55-51devel/nextest/Makefile
+166-1522 files

FreeBSD/ports 7fa5399devel/convco Makefile distinfo

devel/convco: update 0.7.0 → 0.7.1
DeltaFile
+129-125devel/convco/distinfo
+64-63devel/convco/Makefile
+193-1882 files

FreeBSD/ports 51d5379deskutils/just Makefile distinfo

deskutils/just: update 1.57.0 → 1.58.0
DeltaFile
+33-33deskutils/just/distinfo
+16-17deskutils/just/Makefile
+49-502 files

FreeBSD/ports 9783532shells/meka Makefile distinfo

shells/meka: update 0.35.0 → 0.36.0
DeltaFile
+11-9shells/meka/distinfo
+5-4shells/meka/Makefile
+16-132 files

FreeBSD/ports ba76dd8cad/veryl Makefile Makefile.crates

cad/veryl: update 0.20.2 → 0.20.3
DeltaFile
+447-425cad/veryl/distinfo
+222-211cad/veryl/Makefile.crates
+1-2cad/veryl/Makefile
+670-6383 files

FreeBSD/ports d15bceadatabases/iceberg-rust Makefile distinfo

databases/iceberg-rust: update 0.10.0 → 0.10.1
DeltaFile
+5-5databases/iceberg-rust/distinfo
+2-2databases/iceberg-rust/Makefile
+7-72 files

FreeBSD/ports 4ee6cc9lang/gluon Makefile distinfo

lang/gluon: update 0.18.3 → 0.18.4
DeltaFile
+131-127lang/gluon/distinfo
+65-64lang/gluon/Makefile
+196-1912 files

FreeBSD/ports dcae09dmath/octave-forge-signal Makefile distinfo

math/octave-forge-signal: Update to 1.4.8.
DeltaFile
+3-3math/octave-forge-signal/distinfo
+1-2math/octave-forge-signal/Makefile
+4-52 files