Merge pull request #3 from sherpya/stub-loadinfo

Use dtape_stub_safe() for HOST_CPU_LOAD_INFO
This commit is contained in:
Ariel Abreu 2022-08-21 13:12:39 -04:00 committed by GitHub
commit d8595a1d92
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -211,6 +211,10 @@ kern_return_t host_statistics(host_t host, host_flavor_t flavor, host_info_t inf
dtape_stub_safe("HOST_VM_INFO");
return KERN_INVALID_ARGUMENT;
case HOST_CPU_LOAD_INFO:
dtape_stub_safe("HOST_CPU_LOAD_INFO");
return KERN_INVALID_ARGUMENT;
default:
dtape_stub_unsafe();
}