|
paludis Version 3.0.2
The one true package mangler
|
#include <security_context.hh>
Public Member Functions | |
| SecurityContext () | |
| SecurityContext (const std::string &) | |
| ~SecurityContext () | |
| SecurityContext (const SecurityContext &)=delete | |
| SecurityContext & | operator= (const SecurityContext &)=delete |
Static Public Member Functions | |
| static std::shared_ptr< const SecurityContext > | current_context () |
| static std::shared_ptr< const SecurityContext > | fs_create_context () |
Friends | |
| class | paludis::FSCreateCon |
| class | paludis::MatchPathCon |
| std::ostream & | paludis::operator<< (std::ostream &, const SecurityContext &) |
| int | paludis::setfilecon (const FSPath &, const std::shared_ptr< const SecurityContext > &) |
Security context class. Wraps security_context_t.
| paludis::SecurityContext::SecurityContext | ( | ) |
Constructor
Referenced by ~SecurityContext().
| paludis::SecurityContext::SecurityContext | ( | const std::string & | ) |
Can be constructed from a string.
| paludis::SecurityContext::~SecurityContext | ( | ) |
Destructor
References SecurityContext().
|
static |
Returns a SecurityContext referring to the current process's context
|
static |
Returns a SecurityContext referring to the current filesystem creation context