HomeFreeBSD

linux(4): Add a helper intended for copying timespec's from the userspace.

Description

linux(4): Add a helper intended for copying timespec's from the userspace.

There are many places where we copyin Linux timespec from the userspace
and then convert it to the kernel timespec. To avoid code duplication
add a tiny halper for doing this.

MFC after: 2 weeks

Details

Provenance
dchaginAuthored on May 8 2022, 1:16 PM
Parents
rG3dc2a06752b5: linux(4): Prevent time_t overflows on i386.
Branches
Unknown
Tags
Unknown