security/openvpn-auth-oauth2: Do not depend on fixed Go version.
Do not require particular Go version to prevent build failures
in the future.
Requested by: Adam Weinberger <adamw at FreeBSD.org>
bus: Apply consistent style to prototypes
Sponsored by: Klara, Inc.
Sponsored by: NetApp, Inc.
(cherry picked from commit 6facc476f3056037f8b5cdb5546554ab3a887463)
bus: Add device_has_children predicate
Add a device_has_children() function which can be used to check if a
device has children without allocating a list of them which we aren't
going to use, or even counting them.
Also modify device_get_children() so it can be used to query the count
without allocating a list.
MFC after: 1 week
Sponsored by: Klara, Inc.
Sponsored by: NetApp, Inc.
Reviewed by: imp, markj
Differential Revision: https://reviews.freebsd.org/D53918
(cherry picked from commit 330d4437f2100fc05e576763f4f6a7198080663a)
fsync: Open files in non-blocking mode
This avoids blocking forever when invoked on a fifo.
MFC after: 1 week
Reviewed by: markj
Differential Revision: https://reviews.freebsd.org/D54084
bus: Return 0 if reading an ivar fails
In the non-INVARIANTS case, return 0 rather than stack garbage if
reading an ivar fails (in the INVARIANTS case, we still panic).
MFC after: 1 week
Sponsored by: Klara, Inc.
Sponsored by: NetApp, Inc.
Reviewed by: jhb
Differential Revision: https://reviews.freebsd.org/D54078
libc/limits_test: add no-op testcase to satisfy kyua
This test suite is purely tested with compile-time assertions, so
it needs a dummy runtime test to ensure that kyua reports the
file as passing.
Pull Request: https://github.com/freebsd/freebsd-src/pull/1915
Sponsored by: The FreeBSD Foundation
Reviewed by: fuz
Approved by: markj (mentor)
MFC after: 1 month
Signed-off-by: Siva Mahadevan <me at svmhdvn.name>
many: Unsupported Go dep; deprecate and schedule for removal
There are about 75 ports that depend on old, unsupported Go
versions. I've scheduled those Go versions for deletions on
2025/01/01, and so these ports are scheduled for removal on
that same day.
HOWEVER....
Likely NONE or VERY VERY FEW of these ports will actually need
to be deleted! This stems from a misunderstanding:
When go.mod says "go 1.23", it means that it requires AT LEAST
go-1.23. Locking a port to a specific go version should almost
never happen; it is reserved for when a package absolutely
cannot build with any newer version, and it almost means that
the port will only last 1 year (Go releases new minors twice a
year).
[11 lines not shown]
lang/go12[0-3]: Deprecate; unsupported upstream
These are old versions of go that are known to have bugs and security
risks that will never be fixed. Go only supports the latest two minors,
and we currenly have six. I'm going to start getting aggressive about
not keeping insecure versions of go available.
sysutils/bsdisks: Fix build on latest 16-CURRENT
src 8c35de4982d8 added power condition support. That commit broke this
port by adding an argument to scsi_start_stop().
tcp: retire do_newsack - always adhere to RFC6675 SACK
Depreciation notice for net.inet.tcp.newsack is in 15.0.
Remove this tunable for HEAD, streamlining the code slightly.
Reviewed by: tuexen, cc, nickbanks_netflix.com, #transport
Sponsored by: NetApp, Inc.
Differential Revision: https://reviews.freebsd.org/D54072
snmp_pf: use the libpfctl wrapper to retrieve astats
Extend the test case to verify this works as expected.
Sponsored by: Rubicon Communications, LLC ("Netgate")