musl - musl - an implementation of the standard library for Linux-based systems

index : musl
musl - an implementation of the standard library for Linux-based systems
summary refs log tree commit diff
path: root/src/string/strverscmp.c
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2015年06月20日 02:54:30 +0000
committerRich Felker <dalias@aerifal.cx>2015年06月20日 02:54:30 +0000
commitce3688eca920aa77549323f84e21f33522397115 (patch)
tree1fe74536da26344a9454ebc34bc5adc31d411b44 /src/string/strverscmp.c
parent75eceb3ae824d54e865686c0c538551aeebf3372 (diff)
downloadmusl-ce3688eca920aa77549323f84e21f33522397115.tar.gz
work around mips detached thread exit breakage due to kernel regression
linux kernel commit 46e12c07b3b9603c60fc1d421ff18618241cb081 caused the mips syscall mechanism to fail with EFAULT when the userspace stack pointer is invalid, breaking __unmapself used for detached thread exit. the workaround is to set $sp to a known-valid, readable address, and the simplest one to obtain is the address of the current function, which is available (per o32 calling convention) in 25ドル.
Diffstat (limited to 'src/string/strverscmp.c')
0 files changed, 0 insertions, 0 deletions
generated by cgit v1.2.1 (git 2.18.0) at 2025年09月25日 06:35:40 +0000

AltStyle によって変換されたページ (->オリジナル) /