HomeFreeBSD

Remove bogus use of useracc() in (clock_)nanosleep.

Description

Remove bogus use of useracc() in (clock_)nanosleep.

There's no point in pre-checking that we can access the user's rmtp
pointer before we do it in copyout().

While here, improve style(9) compliance.

Reviewed by: imp
MFC after: 1 week
Sponsored by: DARPA
Differential Revision: https://reviews.freebsd.org/D24409

Details

Provenance
brooksAuthored on
Reviewer
imp
Differential Revision
D24409: Remove bogus use of useracc() in (clock_)nanosleep.
Parents
rS359937: Centralize compatability translation macros.
Branches
Unknown
Tags
Unknown