HomeFreeBSD

compat: linux: use appropriate variables for copying out old timers

Description

compat: linux: use appropriate variables for copying out old timers

We copyout &l_oval but do the conversions into &l_val, leaving us with
stack garbage. A build with an LLVM21 cross-toolchain seems to catch
this.

Reported by: Florian Limberger <flo purplekraken com>
Reviewed by: markj
Fixes: a1fd2911ddb06 ("linux(4): Implement timer_settime64 syscall.")
MFC after: 3 days
Differential Revision: https://reviews.freebsd.org/D52985

Details

Provenance
kevansAuthored on Dec 28 2025, 10:02 PM
dimCommitted on Dec 28 2025, 10:03 PM
Reviewer
rGa1fd2911ddb0: linux(4): Implement timer_settime64 syscall.
Differential Revision
D52985: compat: linux: use appropriate variables for copying out old timers
Parents
rG4cd7be3e8186: sys/xen: Use __printflike() instead of format(printf)
Branches
Unknown
Tags
Unknown