Apache Mesos
Classes | Enumerations | Functions
mesos::internal::capabilities Namespace Reference

Classes

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

Enumerations

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

Functions

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

Enumeration Type Documentation

Enumerator
CHOWN 
DAC_OVERRIDE 
DAC_READ_SEARCH 
FOWNER 
FSETID 
KILL 
SETGID 
SETUID 
SETPCAP 
LINUX_IMMUTABLE 
NET_BIND_SERVICE 
NET_BROADCAST 
NET_ADMIN 
NET_RAW 
IPC_LOCK 
IPC_OWNER 
SYS_MODULE 
SYS_RAWIO 
SYS_CHROOT 
SYS_PTRACE 
SYS_PACCT 
SYS_ADMIN 
SYS_BOOT 
SYS_NICE 
SYS_RESOURCE 
SYS_TIME 
SYS_TTY_CONFIG 
MKNOD 
LEASE 
AUDIT_WRITE 
AUDIT_CONTROL 
SETFCAP 
MAC_OVERRIDE 
MAC_ADMIN 
SYSLOG 
WAKE_ALARM 
BLOCK_SUSPEND 
AUDIT_READ 
MAX_CAPABILITY 
Enumerator
EFFECTIVE 
PERMITTED 
INHERITABLE 
BOUNDING 
AMBIENT 

Function Documentation

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 
)