[CIR] Preserve volatile semantics for atomic operations (#220874)
This commit fixes the preservation of volatile semantics for atomic RMW
operations in CIR CodeGen.
Signed-off-by: Steffen Holst Larsen <sholstla at amd.com>
www/nginx-module-form-input: Add New Port
The form_input module reads HTTP POST and PUT request bodies encoded as
application/x-www-form-urlencoded and puts the parsed values into nginx
variables. This port installs the module sources only, the module
itself is built by the nginx ports.
Sponsored by: Netzkommune GmbH
www/{nginx,nginx-devel,freenginx}: 3rd-party modules management
Use the new www/nginx-module-form-input source port instead of fetching
form-input-nginx-module from GitHub. The module version is now
maintained in one place for these ports.
Sponsored by: Netzkommune GmbH
math/ess: Update to 26.05.0
- Licensed under GPL 3.0 for some time now
- Remove obsolete CONFLICTS_INSTALL=ess-emacs_*
- Jags mode has been moved to obsolete
- Add test target
Changelog: https://github.com/emacs-ess/ESS/blob/master/ChangeLog
Reported by: portscout, Repology
math/ess: Update to 26.05.0
- Licensed under GPL 3.0 for some time now
- Remove obsolete CONFLICTS_INSTALL=ess-emacs_*
- Jags mode has been moved to obsolete
- Add test target
Changelog: https://github.com/emacs-ess/ESS/blob/master/ChangeLog
Reported by: portscout, Repology
[PassBuilder] Add ThinLTO EP callbacks mirroring FullLinkTimeOptimizationEarly/Last (#221857)
Our downstream has a request to add customization pass into
ThinLinkTimeOptimizationEarlyEPCallback, but buildThinLTODefaultPipeline
has no equivalent EPCallback like buildLTODefaultPipeline does. This PR
add it and ThinLinkTimeOptimizationLastEPCallback as well.
Co-authored-by: Claude <noreply at anthropic.com>
Write a hardware entitlement record on unlicensed iX appliances
This commit adds changes to give an iX appliance that shipped without a license a minimal legacy license record during upgrade, written by a new script that runs chrooted in the new boot environment. The record is stamped with a marker in customer_key, and parse_legacy_license grants it exactly what bare appliance hardware already gives rather than everything a legacy license implies. SED is the motivating case, since its vector moves to hardware plus key later and these machines would otherwise lose it.
LicenseInfo grows an origin field so we can tell a record we wrote from one an issuer signed. Entitlements never read it, since a system generated record has to resolve exactly as an issued one does; it is there for the alert source, the unlicensed to licensed hook, TNC, and support tickets, which all mean "iX issued this".
NAS-143004 / 27.0.0-BETA.1 / Add private entitlements debug endpoint for debug bundles (by sonicaj) (#19609)
This commit adds changes to expose truenas.entitlements.debug_info, a
private method a debug bundle can call to see what an entitlement
decision was made from: the hardware facts, the raw license daemon
verdict that get_license() otherwise discards, the on-disk legacy
license as it actually is (a rejected or malformed blob currently reads
the same as no license at all) and every decision with the matrix column
it resolved to. Each section degrades to an error field rather than
raising, since the systems this is collected from are the ones whose
licensing is already misbehaving, and the legacy projection is an
allowlist so customer name and key never reach a bundle.
Original PR: https://github.com/truenas/middleware/pull/19598
Co-authored-by: Waqar Ahmed <waqarahmedjoyia at live.com>
[Support][FileSystem] Prefer `status` with `file_t` parameter. NFC. (#157581)
When searching the documentation for LLVM for `llvm::sys::fs::status`,
only the version with file descriptor can be found because the
documentation is built on the UNIX host and the file handle version is
defined out.
In reality, file handle version is more portable and should be displayed
instead. On UNIX, these two functions have the same underlying type,
thus it shouldn't matter which one is declared, and both versions are
still available on Windows for compatibility.
[clang][test] Make new absurdly_big_struct test more targeted (#219897)
The previous version of `y()` used `c2[i]`, which can't be evaluated at
compile-time.
The emitted diagnostic depends on something calling
`ASTContext::getASTRecordLayout()` for `b`, which currently happens in
the constant evaluator. If the evaluator decides to evaluate `c2[i]`
before calling `getASTRecordLayout()`, the test fails since the
diagnostic is never emitted.
Fix this by simply using `c2[0]` instead.
Add private entitlements debug endpoint for debug bundles
This commit adds changes to expose truenas.entitlements.debug_info, a private method a debug bundle can call to see what an entitlement decision was made from: the hardware facts, the raw license daemon verdict that get_license() otherwise discards, the on-disk legacy license as it actually is (a rejected or malformed blob currently reads the same as no license at all) and every decision with the matrix column it resolved to. Each section degrades to an error field rather than raising, since the systems this is collected from are the ones whose licensing is already misbehaving, and the legacy projection is an allowlist so customer name and key never reach a bundle.
[clang-tidy][docs] Rename readability check docs to Markdown [2/5] (#221528)
Tracking issue: #201242
See the [migration guide] for more information.
[migration guide]:
https://llvm.org/docs/SphinxQuickstartTemplate.html#markdown-migration-guidelines
This is the second part of the mechanical rename of the check
documentations in readability module.
The rewrite is provided by the next PR in this stack.
[Flang][Semantics] Diagnose missing MODULE prefix in submodule procedures (#197173)
Add a portability warning when a submodule procedure is missing the
MODULE prefix required by a MODULE PROCEDURE interface in its parent
module.
NAS-143184 / 27.0.0-BETA.1 / Rename the DIRECTORY_SERVICES entitlement to DIRECTORY_SERVICES_AUTH (by sonicaj) (#19654)
This commit adds changes to follow the LicenseFeature rename in
truenas_pylicensed, covering the entitlement matrix, the policy
register, display names, the per-feature message overrides, the legacy
injection set and the ds_auth gate. The unrelated directoryservices
namespace and the ds_auth field itself are deliberately untouched.
Worth flagging for whoever lands this: python3-truenas-pylicensed is
unversioned in debian/control, and because this is a rename rather than
an addition, both skew directions break at import time. New middleware
against the old package and old middleware against the new one each
raise AttributeError while importing middlewared.utils.entitlements,
which leaves middlewared unable to start.
Original PR: https://github.com/truenas/middleware/pull/19632
Co-authored-by: Waqar Ahmed <waqarahmedjoyia at live.com>