#include <daemon/common/privilege-helper.hpp>
|
class | Error |
| Indicates a serious seteuid/setegid failure. More...
|
|
|
static void | drop () |
|
static void | initialize (const std::string &userName, const std::string &groupName) |
|
template<class F > |
static void | runElevated (F &&f) |
|
Definition at line 35 of file privilege-helper.hpp.
◆ drop()
void nfd::PrivilegeHelper::drop |
( |
| ) |
|
|
static |
◆ initialize()
void nfd::PrivilegeHelper::initialize |
( |
const std::string & |
userName, |
|
|
const std::string & |
groupName |
|
) |
| |
|
static |
◆ runElevated()
template<class F >
static void nfd::PrivilegeHelper::runElevated |
( |
F && |
f | ) |
|
|
inlinestatic |