Merge tag 'xfs-fixes-7.4-rc4' of git://git.kernel.org:/pub/scm/fs/xfs/xfs-linux
Pull xfs fixes from Carlos Maiolino:
"Mostly this includes fixes for a few races, an ordering problem during
init/teardown of proc/sysfs, missing locks, etc"
* tag 'xfs-fixes-7.4-rc4' of git://git.kernel.org:/pub/scm/fs/xfs/xfs-linux:
xfs: test for realtime and reflink under the pNFS locks
xfs: don't enable DAX on zoned inodes
xfs: restart faults racing with realtime flag changes
xfs: take the MMAPLOCK in xfs_fileattr_set()
xfs: refuse fallocate racing with realtime flag changes
xfs: test for always COW after the dio write checks
xfs: refuse writes to files racing with realtime inode flag changes
xfs: test for reflink after the dio write checks
xfs: properly order xfsstats proc/sysfs init and teardown
xfs: remove unused variable in xrep_tempfile_copyin()
xfs: remove unused variable in xchk_stats_estimate_bufsize()
xfs: fix f_bfree underflow in statfs()
[8 lines not shown]
[libc] Fix dangling paths in line_reader_test (#244912)
Kept the CString returned by libc_make_test_file_path alive instead of
storing a pointer to its temporary string. The dangling pointers caused
intermittent failures when opening the test files.
Assisted-by: Gemini
[Clang] Check address space overlap for C-style casts to references
In OpenCL and SYCL, `TryAddressSpaceCast` rejects a pointer cast between
two address spaces that don't overlap, but a C-style cast to a reference
is not checked (there is a FIXME for it). As a result,
`(__local int &)global_var` is accepted and we emit an `addrspacecast`.
This PR checks such reference casts in the same way. We only check the
case where the reference binds to the operand directly, i.e. the two
types are related. Other casts to a reference are not affected.
This PR was assisted by AI but I reviewed all the changes.
[clang][CIR] Add tests for SVE RINTA intrinsics (#240756)
adds CIR tests for svrinta (plain SVE) intrinsics.
Moves and adapts `sve-intrinsics/acle_sve_rinta.c` to `sve/rinta.c`
Part of #223963
[clang][CIR] Add tests for SVE RINTM intrinsics (#240758)
adds CIR tests for svrintm (plain SVE) intrinsics.
Moves and adapts `sve-intrinsics/acle_sve_rintm.c` to `sve/rintm.c`
Part of #223963
[CIR] Load return values before cleanups that can change them (#244202)
When FlattenCFG routes a `cir.return` through a cleanup, it sinks the
load feeding the return past the cleanup. If the cleanup stores to the
slot, ends its lifetime, or calls something holding its address, the
function returns the post-cleanup value.
Sink the load only when the slot provably can't change: its address does
not escape and nothing after the load or in the cleanup uses it.
Otherwise spill it through the existing return-operand temporary, as
volatile and atomic loads already are. Under NRVO, where return slot
escapes, the value is now read before the cleanups, which is also valid.
Fixing this issue unblocks more usage of mem2reg in CIR.
Merge tag 'cifs-fixes-7.4-rc4' of https://git.manguebit.org/linux
Pull smb client fixes from Paulo Alcantara:
"The main ones are a server-triggerable use-after-free and two fixes
that stop the client from accepting SMB2 responses and read data with
a bad signature; the rest are a couple of busy-inode-on-unmount races
and some metadata fixes.
- Fix a use-after-free in the netfs write collector that a malicious
or broken server can trigger by returning a write count larger than
the request
- Reject SMB2 responses whose signature fails verification instead of
using them, so a tampered response on a signed connection is no
longer accepted
- Don't return read data whose signature failed verification when the
read lands at the remote end of file
[26 lines not shown]
nfs: Cache reply pages in an NFS-owned UMA zone
Allocate anonymous reply pages through a dedicated UMA cache and
return them in batches when the last M_EXTPG reference is released.
This reduced page-cache bucket shortages in the tested
concurrent-read workloads. The pool uses the existing UMA and
mbuf interfaces.
Once nfsd enables the pool, nfscommon refuses unload so delayed
callbacks remain valid. The usual nfsd/nfslockd dependency chain
already retains nfscommon; the explicit guard also enforces this
requirement directly. Loading nfscommon alone does not activate
that guard.
Mark Johnston suggested using a dedicated zone in the D61234 discussion.
That feedback led to this NFS implementation instead of changing UMA.
Gleb Smirnoff provided feedback on the original allocator proposal.
Reviewed by: rmacklem
[3 lines not shown]
[LV] Add tests for reusing IR values with poison-generating flags (NFC) (#244948)
Add a test where computing an exit value via SCEV while building VPlans
reuses an 'add nsw' in the preheader, which drops its nsw flag, even
though vectorization is not profitable and the plans are discarded.
Also add a test where only the epilogue vector loop uses a strided
access, whose start reuses a 'getelementptr inbounds' that requires
dropping its inbounds flag.
www/bunkerweb: Update to 1.6.18
This release fixes a stored cross-site scripting hole in the interface,
locks out repeated failed logins, and pins the API certificate between
the scheduler, the interface and the command line tool.
Changelog: https://github.com/bunkerity/bunkerweb/releases/tag/v1.6.18
Sponsored by: Netzkommune GmbH
Merge tag 'trace-v7.4-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace
Pull tracing fixes from Steven Rostedt:
- Do not WARN when trace_rb_cpu_prepare() fails to allocate on CPU
startup
The per CPU ring buffers are allocated when a new CPU comes online.
If the system is under memory pressure it shouldn't trigger a WARN_ON
if the buffer fails to allocate. Switch the WARN to a pr_warn()
message.
- Copy trace_marker to all instances even if one fails
Each instance can set a flag that it wants what is written into the
trace_marker file to be copied to its ring buffer. Currently, if one
of the instances has tracing disabled, the copy will fail. The loop
that copies to each ring buffer detects this failure and stops
copying to the rest of the instances. This is not what is expected as
[268 lines not shown]
devel/doctest: upgrade to v2.5.3
Also fix the tests and install the library (needed for another project).
PR: 300512
Approved by: maintainer’s time-out
[Mips] Use the local GOT sequence for forward references to local symbols (#242758)
In PIC mode the la and jal macros need to know if the symbol is local
or global. The assembler made that choice while parsing, so a symbol
that is defined later in the file was always treated as global. For
O32 this gave an R_MIPS_GOT16 without the matching R_MIPS_LO16 for la,
and an R_MIPS_CALL16 against a local symbol for jal, which GNU ld
rejects. jal on N32/N64 had the same R_MIPS_CALL16 problem.
GNU as waits until the end of the file to choose. Do the same: if the
symbol is not defined yet and has no explicit binding, emit a
PseudoGOTLoadGlobal. MipsAsmBackend relaxes it to PseudoGOTLoadLocal if
the symbol ends up local, and MipsMCCodeEmitter expands both into the
real instructions.
Symbols that stay undefined or become global get the same code as
before. XGOT and -mrelax-all keep the old behavior.
cplocal.s had a jal to a local symbol defined after it, so it now
[7 lines not shown]
update security/hcxtools 7.1.2 -> 8.0.0
following hashcat v8.0.0
support of WPA-FT-PSK
the new hash file is not(!) backwards compatible with hashcat before commit hashcat/hashcat at 6847f77
due to new hash lines WPA3 and WPA4 and new EAPOL limits