Rename sysctl_lock and _unlock to sysctl_xlock and _xunlock.
Implement shared locking for sysctl.