#include <usergroup_retain_cap.hpp>
|
| | SetUserGroupRetainCap (const std::string &user, const std::string &group, const bool strict, std::initializer_list< cap_value_t > retain_caps_arg) |
| |
| | SetUserGroupRetainCap (const char *user, const char *group, const bool strict, std::initializer_list< cap_value_t > retain_caps_arg) |
| |
| virtual void | pre_thread () const override |
| |
| virtual void | activate () const override |
| |
| virtual void | post_thread () const override |
| |
| | OPENVPN_EXCEPTION (user_group_err) |
| |
| | SetUserGroup (const std::string &user, const std::string &group, const bool strict) |
| |
| | SetUserGroup (const char *user, const char *group, const bool strict) |
| |
| virtual | ~SetUserGroup ()=default |
| |
| const std::string & | user () const |
| |
| const std::string & | group () const |
| |
| void | chown (const std::string &fn) const |
| |
| void | chown (const int fd, const std::string &title) const |
| |
| void | invalidate () |
| |
| uid_t | uid () const |
| |
| gid_t | gid () const |
| |
| bool | uid_defined () const |
| |
| bool | gid_defined () const |
| |
| bool | defined () const |
| |
Definition at line 32 of file usergroup_retain_cap.hpp.
◆ SetUserGroupRetainCap() [1/2]
| openvpn::SetUserGroupRetainCap::SetUserGroupRetainCap |
( |
const std::string & |
user, |
|
|
const std::string & |
group, |
|
|
const bool |
strict, |
|
|
std::initializer_list< cap_value_t > |
retain_caps_arg |
|
) |
| |
|
inline |
◆ SetUserGroupRetainCap() [2/2]
| openvpn::SetUserGroupRetainCap::SetUserGroupRetainCap |
( |
const char * |
user, |
|
|
const char * |
group, |
|
|
const bool |
strict, |
|
|
std::initializer_list< cap_value_t > |
retain_caps_arg |
|
) |
| |
|
inline |
◆ activate()
| virtual void openvpn::SetUserGroupRetainCap::activate |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ grab_root()
| void openvpn::SetUserGroupRetainCap::grab_root |
( |
| ) |
|
|
inlineprivate |
◆ post_thread()
| virtual void openvpn::SetUserGroupRetainCap::post_thread |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ pre_thread()
| virtual void openvpn::SetUserGroupRetainCap::pre_thread |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ retain_caps
| const std::vector<cap_value_t> openvpn::SetUserGroupRetainCap::retain_caps |
|
private |
The documentation for this class was generated from the following file: