Apache Mesos
Classes | Namespaces | Enumerations | Functions
capabilities.hpp File Reference
#include <set>
#include <stout/flags.hpp>
#include <stout/nothing.hpp>
#include <stout/protobuf.hpp>
#include <stout/try.hpp>
#include <mesos/mesos.hpp>

Go to the source code of this file.

Classes

class  mesos::internal::capabilities::ProcessCapabilities
 Encapsulation of capability value sets. More...
 
class  mesos::internal::capabilities::Capabilities
 Provides wrapper for the linux process capabilities interface. More...
 

Namespaces

 mesos
 
 mesos::internal
 
 mesos::internal::capabilities
 

Enumerations

enum  mesos::internal::capabilities::Capability : int {
  mesos::internal::capabilities::CHOWN = 0, mesos::internal::capabilities::DAC_OVERRIDE = 1, mesos::internal::capabilities::DAC_READ_SEARCH = 2, mesos::internal::capabilities::FOWNER = 3,
  mesos::internal::capabilities::FSETID = 4, mesos::internal::capabilities::KILL = 5, mesos::internal::capabilities::SETGID = 6, mesos::internal::capabilities::SETUID = 7,
  mesos::internal::capabilities::SETPCAP = 8, mesos::internal::capabilities::LINUX_IMMUTABLE = 9, mesos::internal::capabilities::NET_BIND_SERVICE = 10, mesos::internal::capabilities::NET_BROADCAST = 11,
  mesos::internal::capabilities::NET_ADMIN = 12, mesos::internal::capabilities::NET_RAW = 13, mesos::internal::capabilities::IPC_LOCK = 14, mesos::internal::capabilities::IPC_OWNER = 15,
  mesos::internal::capabilities::SYS_MODULE = 16, mesos::internal::capabilities::SYS_RAWIO = 17, mesos::internal::capabilities::SYS_CHROOT = 18, mesos::internal::capabilities::SYS_PTRACE = 19,
  mesos::internal::capabilities::SYS_PACCT = 20, mesos::internal::capabilities::SYS_ADMIN = 21, mesos::internal::capabilities::SYS_BOOT = 22, mesos::internal::capabilities::SYS_NICE = 23,
  mesos::internal::capabilities::SYS_RESOURCE = 24, mesos::internal::capabilities::SYS_TIME = 25, mesos::internal::capabilities::SYS_TTY_CONFIG = 26, mesos::internal::capabilities::MKNOD = 27,
  mesos::internal::capabilities::LEASE = 28, mesos::internal::capabilities::AUDIT_WRITE = 29, mesos::internal::capabilities::AUDIT_CONTROL = 30, mesos::internal::capabilities::SETFCAP = 31,
  mesos::internal::capabilities::MAC_OVERRIDE = 32, mesos::internal::capabilities::MAC_ADMIN = 33, mesos::internal::capabilities::SYSLOG = 34, mesos::internal::capabilities::WAKE_ALARM = 35,
  mesos::internal::capabilities::BLOCK_SUSPEND = 36, mesos::internal::capabilities::AUDIT_READ = 37, mesos::internal::capabilities::MAX_CAPABILITY = 38
}
 
enum  mesos::internal::capabilities::Type {
  mesos::internal::capabilities::EFFECTIVE, mesos::internal::capabilities::PERMITTED, mesos::internal::capabilities::INHERITABLE, mesos::internal::capabilities::BOUNDING,
  mesos::internal::capabilities::AMBIENT
}
 

Functions

Capability mesos::internal::capabilities::convert (const CapabilityInfo::Capability &capability)
 
std::set< Capability > mesos::internal::capabilities::convert (const CapabilityInfo &capabilityInfo)
 
CapabilityInfo mesos::internal::capabilities::convert (const std::set< Capability > &capabilitySet)
 
std::ostream & mesos::internal::capabilities::operator<< (std::ostream &stream, const Capability &capability)
 
std::ostream & mesos::internal::capabilities::operator<< (std::ostream &stream, const Type &type)
 
std::ostream & mesos::internal::capabilities::operator<< (std::ostream &stream, const ProcessCapabilities &capabilities)