PLCnext API Documentation 25.0.2.69
Classes | Enumerations | Functions
Arp::System::Commons::Runtime Namespace Reference

Namespace for high level API for controlling processes, shared libraries, etc. More...

Classes

class  Process
 High level API to create and manage a processes. More...
 
class  ProcessConfiguration
 This class contains all information of the process configuration. More...
 
class  SharedLibrary
 High level API to enable work with dynamically loadable shared libraries. More...
 
class  Stacktrace
 

Enumerations

enum class  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 , PERFMON = 38 , BPF = 39 ,
  CHECKPOINT_RESTORE = 40 , LAST_CAP = CHECKPOINT_RESTORE
}
 This enum contains all process capability values. More...
 
enum class  SharedLibraryMemoryLockOption : uint32 { None = 0 , Nothing = 1 , Library = 2 , LibraryAndDependencies = 3 }
 Options to lock the memory of shared library by !:SharedLibrary when loading the binary. More...
 

Functions

ARP_CXX_SYMBOL_EXPORT std::ostream & operator<< (std::ostream &os, Capability value)
 
ARP_CXX_SYMBOL_EXPORT std::istream & operator>> (std::istream &is, Capability &value)
 
auto GetVeSharedLibraryMemoryLockOption (SharedLibraryMemoryLockOption sharedLibraryMemoryLockOption)
 
ARP_EXPORT std::ostream & operator<< (std::ostream &os, SharedLibraryMemoryLockOption value)
 
ARP_EXPORT std::istream & operator>> (std::istream &is, SharedLibraryMemoryLockOption &value)
 

Detailed Description

Namespace for high level API for controlling processes, shared libraries, etc.

Enumeration Type Documentation

◆ Capability

This enum contains all process capability values.

The string representation of the values doesn't equal value definition because the linux header sets the capability values with a preprocessor define. This would replace the enum definitions with linux values.

◆ SharedLibraryMemoryLockOption

Options to lock the memory of shared library by !:SharedLibrary when loading the binary.

Enumerator
None 

Initial value

Nothing 

Lock nothing

Library 

Lock only this library into memory

LibraryAndDependencies 

Lock of this library and its dependencies into memory