[LLDB] Fix null pointer dereference. (#185985)
The code was declaring a shared poiner and then immediately trying to
dereference it to initialize it's contents, but the dereference was
giving a seg fault. This fixes that issue.
[ObjC] Emit class msgSend stub calls (#183923)
Instead of translating class messages to `objc_msgSend` calls, clang now
emits calls to stub functions that are synthesized by the linker. Each
stub loads the class reference and the selector name and forwards them
to `objc_msgSend`.
The stub function is named using the following format:
`objc_msgSendClass$selName$_OBJC_CLASS_$_className`
Note that the optimization is disabled in the following cases:
- When the class name is unknown at compile time (e.g, `[id
classMethod]`).
- The selector name contains a `$`, which serves as the delimiter in
stub
function names.
- The class is annotated with either `objc_class_stub` or
`objc_runtime_visible`.
[14 lines not shown]
NAS-140241 / 27.0.0-BETA.1 / Make Job framework generic and @job decorator typesafe (#18430)
## Context
Currently job infrastructure in middleware was not typesafe which
resulted in developers having to use ignores to keep mypy happy.
Changes have been made which address this limitation by making job
infrastructure typesafe.
CI:
http://jenkins.eng.ixsystems.net:8080/job/tests/job/api_tests/8026/#showFailuresLink
zpool clear: remove undocumented rewind flags
Remove the -F, -n, and -X flags from zpool clear. These flags were
inherited from OpenSolaris but are not applicable in this context.
Unlike zpool import, where the pool is not yet loaded and a specific
TXG can be selected, zpool clear operates on an already imported pool
whose in-memory state is ahead of what is on disk. Rewinding
transactions would require force-exporting the pool first.
The rewind policy passed to zpool_clear() is now always
ZPOOL_NO_REWIND.
Tested on FreeBSD 16.0-CURRENT (amd64). Verified that -F, -n, and
-X are properly rejected as invalid options and that the usage output
reflects the change.
Reviewed-by: Alexander Motin <alexander.motin at TrueNAS.com>
Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Signed-off-by: Christos Longros <chris.longros at gmail.com>
Closes #13825
Closes #18300
zilstat: add man page
The zilstat command has no man page. Add zilstat.1 documenting all
options and field definitions based on the source in cmd/zilstat.in.
Reviewed-by: Ameer Hamza <ahamza at ixsystems.com>
Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Signed-off-by: Christos Longros <chris.longros at gmail.com>
Closes #18303
Revert "[libclc][NFC] Change include style from <...> to "..."" (#185888)
Reverts llvm/llvm-project#185788. This change is causing test
regressions in libclc, so it's definitely not "NFC", and with its size
it's hard to figure out what exactly went wrong.
Add depgraph-20260309 to pkgsrc.
This package prints out dependency graphs for installed packages.
Individual packages can be selected, or all user-installed packages - see
pkg_info(1). The full version of the package can be printed, as well as its
licensing information, as well as all pre-requisite packages.
Metadata about the machine on which the report is running can also be displayed.
Output can be in standard format, or in JSON.
The aim of this package is to aid in producing SBOM information, as may be
required in certain legal jurisdictions soon.
The README is probably the most informative about this package, pasted here for
completeness:
[217 lines not shown]
draid: fix data corruption after disk clear
Currently, when there there are several faulted disks with attached
dRAID spares, and one of those disks is cleared from errors (zpool
clear), followed by its spare being detached, the data in all the
remaining spares that were attached while the cleared disk was in
FAULTED state might get corrupted (which can be seen by running scrub).
In some cases, when too many disks get cleared at a time, this can
result in data corruption/loss.
dRAID spare is a virtual device whose blocks are distributed among
other disks. Those disks can be also in FAULTED state with attached
spares on their own. When a disk gets sequentially resilvered (rebuilt),
the changes made by that resilvering won't get captured in the DTL
(Dirty Time Log) of other FAULTED disks with the attached spares to
which the data is written during the resilvering (as it would normally
be done for the changes made by the user if a new file is written or
some existing one is deleted). It is because sequential resilvering
works on the block level, without touching or looking into metadata,
[40 lines not shown]
net/curl: update to 8.19.0
Changes:
* initial support for MQTTS
* curl: support fractions for --limit-rate and --max-filesize
* curl: with -J, use the redirect name as a backup
Includes fixes for
CVE-2026-1965: bad reuse of HTTP Negotiate connection
CVE-2026-3783: token leak with redirect and netrc
CVE-2026-3784: wrong proxy connection reuse with credentials
CVE-2026-3805: use after free in SMB connection reuse
databases/dbeaver: fix build on openjdk25
Some jdk.xml EntitySizeLimit defaults changed in openjdk24.
In the issue are more details.
Tested to still compile with openjdk21 also.
PR: 293697
Approved-by: Martin Filla (maintainer)
add: skip osversion check when force is set
When PKG_ADD_FORCE is set, the result of is_valid_os_version() was
already ignored, but the function was still called as a side effect,
prompting the user with "Ignore the mismatch and continue?".
Swap the condition operands to short-circuit the evaluation: when
force is set, is_valid_os_version() is no longer called at all.
This fixes pkg-static bootstrap -f -y unexpectedly prompting when
there is an OS version mismatch, because the base bootstrapper
calls pkg-static add -f without forwarding -y.
Additionally fixes the case where answering 'n' to the prompt had
no effect since force was set.
Fixes: #2579
[CIR] Add support for size parameter with array delete (#185768)
This implements reading the array cookie and passing a size parameter to
the array delete operator for simple cases that require a size
parameter.
Add persistent option to cache plugin
This commit adds ability to persistently set cache entries
(survives across middleware restarts / reboots, but not system
upgrades), and set clustered cache entries (ditto about
lifecycle).
In basic benchmarking there wasn't that much perf difference
between implementations and so this reduces overall complexity
Preserve PR state across failover device transition
Set pr_dump_dir on the dev_disk handler before tearing down HA sessions
so the kernel dumps PR state at unregister time. After the replacement
vdisk_blockio devices are created, restore the saved state and swap the
LUNs in without generating a device-replacement UA.