HomeFreeBSD

sysctl: remove target buffer read/write checks prior to calling the handler

Description

sysctl: remove target buffer read/write checks prior to calling the handler

Said checks were inherently racy anyway as jokers could unmap target areas
before the handler got around to accessing them.

This saves time by avoiding locking the address space.

MFC after: 1 week

Details

Committed
mjgSep 27 2017, 1:31 AM
Parents
rS324044: Annotate sysctlmemlock with __exclusive_cache_line.
Branches
Unknown
Tags
Unknown