} // anonymous namespace
-AccessProvider::AccessProvider(const std::string &ownerId)
- : m_mySubject(toSmackLabel(ownerId))
- , m_inSwitchContext(false)
-{
- RUNNER_ASSERT_MSG(m_mySubject.size() > 0, "No smack label provided to AccessProvider!");
- allowJournaldLogs();
-}
-
AccessProvider::AccessProvider(const std::string &ownerId, int uid, int gid)
: m_mySubject(toSmackLabel(ownerId))
, m_inSwitchContext(false)