Android on ChromeOS uses a restrictive seccomp filter that blocks sched_getaffinity. Simply assume 1 CPU on any error.