Check if there is some sort of locking needed for threading access.
(basically, check if this is thread-safe).
Add automatic privilege elevation to change sysfs values, conditional
to availability.(setreuid and friends)
