]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Always allow loading of cpuctl(4). When a CPU feature is not
authorKonstantin Belousov <kib@FreeBSD.org>
Thu, 16 Jun 2016 12:07:40 +0000 (12:07 +0000)
committerKonstantin Belousov <kib@FreeBSD.org>
Thu, 16 Jun 2016 12:07:40 +0000 (12:07 +0000)
commitf1143962a57276b84ed97f33949ff6f8d2b72e0b
treeca082fcecc8a8b29b4af912691dc8c479bfa387a
parent5c2cf818454375536fda522ba83cf67c50929e6b
Always allow loading of cpuctl(4).  When a CPU feature is not
supported, e.g. CPUID or MSR, return ENODEV from the ioctl which needs
that feature.

Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Approved by: re (hrs)
sys/dev/cpuctl/cpuctl.c