[all-commits] [llvm/llvm-project] 57b093: [libc] Fix alarm layout mismatch on 32-bit time64 ...
Jeff Bailey via All-commits
all-commits at lists.llvm.org
Wed Jun 3 00:40:27 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 57b09398b60d6bc95993435e51989bfcc032ad49
https://github.com/llvm/llvm-project/commit/57b09398b60d6bc95993435e51989bfcc032ad49
Author: Jeff Bailey <jbailey at raspberryginger.com>
Date: 2026-06-03 (Wed, 03 Jun 2026)
Changed paths:
M libc/src/unistd/linux/alarm.cpp
Log Message:
-----------
[libc] Fix alarm layout mismatch on 32-bit time64 (#201276)
Fixed alarm implementation on 32-bit architectures with 64-bit time_t
(like RISC-V 32-bit). The SYS_setitimer syscall on these platforms
expects the legacy 32-bit struct itimerval (with 32-bit tv_sec and
tv_usec). Convert the arguments to this layout before invoking the
syscall to avoid the kernel misinterpreting the timeout.
Assisted-by: Automated tooling, human reviewed.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list