devel/py-awscli2: New port
The AWS Command Line Interface v2 (AWS CLI) is a unified tool to
manage your AWS services from the command line.
The AWS CLI provides direct access to the public APIs of AWS
services. You can explore a service's capabilities with the AWS
CLI, and develop shell scripts to manage your resources.
In addition to the low-level, API-equivalent commands, several
AWS services provide customizations for the AWS CLI.
Customizations can include higher-level commands that simplify
using a service with a complex API.
AWS CLI v2 includes:
- Improved installation mechanism
- AWS IAM Identity Center (SSO) support
- Interactive features with auto-prompting
- Server-side auto-completion
- Built-in pagination with less
[8 lines not shown]
vm: refuse mmap() of files on msdosfs and ntfs with small clusters
msdosfs and ntfs with clusters smaller than a page read a file through
separate cluster buffers, so one page covers several clusters that
cannot back a coherent mapping of the file.
Add the internal mount flag MNTK_NOMMAP, set it at mount time when the
cluster size is below PAGE_SIZE (it cannot change on a remount), and
fail mmap() of a regular file on a flagged mount with EOPNOTSUPP.
The check sits in vm_mmap(), which both mmap(2) (via kern_mmap()) and
fp_mmap() call. Image activation is not covered: imgact_elf inserts
the vnode object directly, so a binary stored on a flagged mount is
still mapped while it runs.
Side effects on such mounts: tail(1) and md5(1) with offsets use mmap()
and thus fail with "Operation not supported". cat(1), cp(1), cmp(1) and
md5(1) of whole files work. A shared library stored there cannot be
loaded by rtld(1).
[3 lines not shown]
[mlir][Presburger] Add IntegerRelation::gist (context-based simplification)
Add IntegerRelation::gist(context), a port of ISL's isl_basic_map_gist
(uset_gist / uset_gist_full), along with the supporting row-reduction
helpers IntMatrix::rowReduce and IntegerRelation::reduceUsingEqualities.
Supporting helpers:
- IntMatrix::rowReduce: performs Gauss-Jordan row reduction in place
along a caller-specified column order, swapping pivot rows to the top,
normalizing modified rows by GCD, and returning the pivot columns
(with unit tests in MatrixTest.cpp).
- IntegerRelation::eliminateVarUsingEquality(ArrayRef, col): eliminates
a variable from every constraint using an external equality row.
- IntegerRelation::reduceUsingEqualities: orchestrates IntMatrix::rowReduce
to project context equalities onto involved variables, detect
inconsistent equalities, and rewrite all constraints of a relation
using the remaining equalities (port of ISL's
isl_basic_set_reduce_using_equalities with project_onto_involved).
[58 lines not shown]
[mlir][Presburger] NFC: extract eliminateColumnUsingRow and eliminateVarUsingEquality
Extract IntMatrix::eliminateColumnUsingRow (eliminating a column from a
row using a pivot row with the smallest positive multiplier on the row)
and IntegerRelation::eliminateVarUsingEquality (applying it to every
other equality and every inequality of the relation).
Replace the file-local eliminateFromConstraint helper with these
primitives in gaussianEliminateVars, gaussianEliminate, and
removeRedundantLocalVars, and add a unit test for
IntMatrix::eliminateColumnUsingRow.
[Clang][AMDGPU] Remove redundant isAMDGCN checks. NFC
After the r600 target removal, AMDGPUTargetInfo is only created for
the amdgcn triple, so every `isAMDGCN()` check in it is always true.
Drop those checks and the helpers that only wrapped them.
```
if (hasFMAF())
Builder.defineMacro("__HAS_FMAF__");
-->
Builder.defineMacro("__HAS_FMAF__");
```
RFC: https://discourse.llvm.org/t/rfc-amdgpu-deprecating-and-removing-llvm-s-r600-terascale-backend/92840
[Clang][AMDGPU] Remove R600 target support
Remove the r600 triple from the clang frontend, driver and CodeGen,
together with the `__R600__` macro and the `__builtin_r600_*` builtins.
AMDGPUTargetInfo now only handles amdgcn, so the R600 branches are gone.
```
$ clang --target=r600 -S test.cl
error: unknown target triple 'r600'
```
RFC: https://discourse.llvm.org/t/rfc-amdgpu-deprecating-and-removing-llvm-s-r600-terascale-backend/92840
Merge tag 'block-7.4-20261127' of git://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux
Pull block fixes from Jens Axboe:
- Fix discard splitting for non-power-of-two granularities, as dm-thin
otherwise never saw a complete block and left the mapping allocated
- Reject a zero-length BLKSECDISCARD range, which otherwise invalidated
the entire page cache of the device
- Bounce user PI buffers for writes when the integrity profile remaps
reference tags, as the remap otherwise wrote to pages the caller only
mapped for reading
- ublk selftests build fix
* tag 'block-7.4-20261127' of git://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux:
block: bounce user PI when writes may remap reference tags
block: fix BLKSECDISCARD zero-length range causing page cache invalidation
[2 lines not shown]
netmap: Clear ni_bufs_head in a new netmap_if
netmap_mem2_if_new() does not set ni_bufs_head, and the netmap_if comes
from a pool that is not zeroed, so it starts with the head of the last
extra buffer list of whoever had that netmap_if before. Only a
registration from userspace sets the field afterwards. One made by the
kernel, such as attaching a NIC to a VALE switch, keeps the old value,
and so does a registration that fails after the netmap_if was created.
netmap_mem2_if_delete() then frees that list again. When the buffer is
free this logs "ouch, double free on buffer"; when another ring has got
it in the meantime, it is freed under that ring and can be given out a
second time.
Clear the field when the netmap_if is created.
Reviewed by: vmaffione
MFC after: 2 weeks
Sponsored by: Rubicon Communications, LLC ("Netgate")
Differential Revision: https://reviews.freebsd.org/D62152
[clang-tidy] Respect explicit(false) on conversion operators (#240521)
Commit eb3b063995d6 (#82689) taught `ExplicitConstructorCheck`
(`misc-explicit-constructor`, aliased as `google-explicit-constructor`
and `cppcoreguidelines-explicit-constructor`) to ignore C++20
`explicit(false)` and instantiation-dependent `explicit(...)`
expressions on constructors, and to diagnose non-literal `false`
expressions without emitting an invalid `explicit` fix-it.
However, the `CXXConversionDecl` branch still unconditionally warned on
any conversion operator where `isExplicit()` was false and suggested
inserting `explicit `, even when `explicit(false)` or a dependent
`explicit(...)` specifier was already written. Apply the same
`ExplicitSpecifier` inspection to conversion operators so deliberately
implicit C++20 `explicit(false)` and dependent `explicit(...)`
conversion operators are not diagnosed.
Assisted-by: Gemini