#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) |
Public Attributes | |
NFD_PUBLIC_WITH_TESTS_ELSE_PRIVATE | __pad0__: static void raise() |
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(), and nfd::PrivilegeHelper::Error::what().
|
static |
Definition at line 118 of file privilege-helper.cpp.
References NFD_LOG_INFO, NFD_LOG_TRACE, NFD_LOG_WARN, and ndn::to_string().
Referenced by nfd::Nfd::initialize(), runElevated(), and nfd::PrivilegeHelper::Error::what().
|
inlinestatic |
Definition at line 70 of file privilege-helper.hpp.
References drop(), and NFD_PUBLIC_WITH_TESTS_ELSE_PRIVATE.
Referenced by nfd::face::PcapHelper::activate(), and nfd::face::bindToDevice().
NFD_PUBLIC_WITH_TESTS_ELSE_PRIVATE nfd::PrivilegeHelper::__pad0__ |
Definition at line 85 of file privilege-helper.hpp.