Expand description
Utility functions for the rest of the crate.
Re-exportsยง
use tor_error::error_report;๐use tor_persist::StateMgr;๐
Structsยง
- State
MgrUnlock ๐Guard - A RAII guard that calls
<T as StateMgr>::unlockon drop.
Functionsยง
- running_
as_ ๐setuid - Return true if we are running with elevated privileges via setuid, setgid, or a similar mechanism.