HomeFreeBSD

linux(4): Zero out high order bits of nanoseconds in the compat mode.

Description

linux(4): Zero out high order bits of nanoseconds in the compat mode.

Assuming the kernel would use random data, the 64-bit Linux kernel ignores
upper 32 bits of tv_nsec of struct timespec64 for 32-bit binaries.

MFC after: 2 weeks

Details

Provenance
dchaginAuthored on May 8 2022, 12:38 PM
Parents
rG9a9482f87490: linux(4): Add a helper intended for copying timespec's to the userspace.
Branches
Unknown
Tags
Unknown