63 explicit Root(
bool change_group ) ;
72 static void init(
const std::string &
nobody ,
bool fixed_group =
false ) ;
83 static void atExit() noexcept ;
92 void operator=(
const Root & ) = delete ;
93 void operator=(
Root && ) = delete ;
99 static Root * m_this ;
100 static bool m_initialised ;
101 static bool m_fixed_group ;
104 bool m_change_group ;
A combination of user-id and group-id, with a very low-level interface to the get/set/e/uid/gid funct...
A class which acquires the process's special privileges on construction and releases them on destruct...
static Identity nobody()
Returns the 'nobody' identity corresponding to the init() user name.
Root()
Default constructor.
static void init(const std::string &nobody, bool fixed_group=false)
< Desctructor.
static void atExit() noexcept
Re-acquires special privileges just before process exit.
An empty structure that is used to indicate a signal-safe, reentrant implementation.