#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 () |
static void | runElevated (function< void()> 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(), and nfd::PrivilegeHelper::Error::what().
|
static |
Definition at line 141 of file privilege-helper.cpp.
References NFD_LOG_INFO, NFD_LOG_TRACE, and NFD_LOG_WARN.
Referenced by nfd::Nfd::initialize(), runElevated(), and nfd::PrivilegeHelper::Error::what().
|
static |
Definition at line 196 of file privilege-helper.cpp.
References drop().
Referenced by nfd::PrivilegeHelper::Error::what().