sysctl: use bitmap library functions