af6feaa45c
This gets rid of the code that parses /proc/cpuinfo, and avoids forking within the library. The previous code also failed build on modern glibc versions due to ignoring the return value of the system, read and write system calls.