#include <core/privilege-helper.hpp>
|
| class | Error |
| | represents a serious seteuid/gid 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.
| void nfd::PrivilegeHelper::drop |
( |
| ) |
|
|
static |
| void nfd::PrivilegeHelper::initialize |
( |
const std::string & |
userName, |
|
|
const std::string & |
groupName |
|
) |
| |
|
static |
template<class F >
| static void nfd::PrivilegeHelper::runElevated |
( |
F && |
f | ) |
|
|
inlinestatic |