paludis  Version 2.6.0
Public Member Functions | List of all members
paludis::MatchPathCon Class Reference

#include <security_context.hh>

+ Inheritance diagram for paludis::MatchPathCon:

Public Member Functions

 MatchPathCon ()
 ~MatchPathCon ()
std::shared_ptr< const SecurityContextmatch (const std::string &, mode_t=0) const
bool good () const
- Public Member Functions inherited from paludis::Singleton< MatchPathCon >
 Singleton ()=default
 Singleton (const Singleton &)=delete
const Singletonoperator= (const Singleton &)=delete

Additional Inherited Members

- Static Public Member Functions inherited from paludis::Singleton< MatchPathCon >
static MatchPathConget_instance () PALUDIS_ATTRIBUTE((warn_unused_result))
static void destroy_instance ()

Detailed Description

Wrapper class around matchpathcon().

Constructor & Destructor Documentation

paludis::MatchPathCon::MatchPathCon ( )

Constructor. Optional parameter is the path to the file_contexts to use.

paludis::MatchPathCon::~MatchPathCon ( )


Member Function Documentation

bool paludis::MatchPathCon::good ( ) const

Did the initialisation succeed?

std::shared_ptr<const SecurityContext> paludis::MatchPathCon::match ( const std::string &  ,
mode_t  = 0 
) const

Retrieve the default context for a given pathname

The documentation for this class was generated from the following file: