#include <privilege-helper.hpp>
Classes | |
class | Error |
represents a serious seteuid/gid failure More... | |
Static Public Member Functions | |
static void | initialize (const std::string &userName, const std::string &groupName) |
static void | drop () |
template<class F > | |
static void | runElevated (F &&f) |
Definition at line 35 of file privilege-helper.hpp.
|
static |
Definition at line 45 of file privilege-helper.cpp.
References NFD_LOG_TRACE.
Referenced by nfd::general::onConfig().
|
static |
Definition at line 124 of file privilege-helper.cpp.
References NFD_LOG_INFO, NFD_LOG_TRACE, NFD_LOG_WARN, and ndn::to_string().
Referenced by nfd::Nfd::initialize(), and runElevated().
|
inlinestatic |
Definition at line 70 of file privilege-helper.hpp.
References drop().
Referenced by nfd::face::bindToDevice().