Uses new sysctl/kvm interfaces and removes setgid bit.
header files as UVM still uses (most of) these.