diff options
| author | 2025-09-19 12:58:29 +0000 | |
|---|---|---|
| committer | 2025-09-20 09:55:56 +0200 | |
| commit | 3ec09344b01a15901ba824e877a0562ed8103e27 (patch) | |
| tree | 9a8294cc5f654de1a90fbea962de999ef67a23ed /scripts/basic/git:/ssh:/git@git.zx2c4.com | |
| parent | riscv: Use generic TIF bits (diff) | |
| download | wireguard-linux-3ec09344b01a15901ba824e877a0562ed8103e27.tar.xz wireguard-linux-3ec09344b01a15901ba824e877a0562ed8103e27.zip | |
LoongArch: Fix bitflag conflict for TIF_FIXADE
After LoongArch was converted to use the generic TIF bits in commit
f9629891d407 ("loongarch: Use generic TIF bits"), its TIF_FIXADE flag
takes the same bit with TIF_RESTORE_SIGMASK in thread_info.flags.
Such conflict causes TIF_FIXADE being considered cleared when
TIF_RESTORE_SIGMASK is cleared during deliver of a signal. And since
TIF_FIXADE determines whether unaligned access emulation works for a
task, userspace making use of unaligned access will receive unexpected
SIGBUS (and likely terminate) after receiving its first signal.
This conflict looks like a simple typo, switch it to the free bit 19.
Fixes: f9629891d407 ("loongarch: Use generic TIF bits")
Signed-off-by: Yao Zi <ziyao@disroot.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Wentao Guan <guanwentao@uniontech.com>
Diffstat (limited to 'scripts/basic/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
