module SystemOperation:sig..end
System operation abstraction:
OpenBSD: pledge(2)
Linux: seccomp(2)
type t =
| |
StdinStdoutStderrAndBasicFunctionality |
(* | Basic Functionality, allows these system calls:
| *) |
| |
ReadFromFilesystem |
(* | read from filesystem allows system calls:
| *) |
| |
WriteToFilesystem |
(* | write to filesystem, allows system calls:
| *) |
| |
CreateAndRemoveOnFilesystem |
(* | create and remove on to filesystem, allows system calls:
| *) |
| |
SpecialCreateAndRemoveOnFilesystem |
(* | special create and remove on to filesystem, allows system calls:
| *) |
| |
TmpPath |
(* | tmp path allows:
| *) |
| |
Networking |
(* | networking allows the following system calls to operate in the AF_INET and AF_INET6 domain:
| *) |
| |
NetworkingMulticast |
(* | networking multicast in combination with
| *) |
| |
FileAttributeModifiaction |
(* | file attribute modification allows the following system calls to make explicit changes to fields in struct stat relating to a file:
| *) |
| |
ChangeFileOwnership |
(* | change file ownership allows:
| *) |
| |
FileLocking |
(* | file locking allowed via:
| *) |
| |
Unix |
(* | unix allows the following system calls to operate in the AF_UNIX domain:
| *) |
| |
DNS |
(* | dns allows:
| *) |
| |
GetPassword |
(* | get password allows:
| *) |
| |
SendFileDescriptors |
(* | send file descriptors allows:
| *) |
| |
ReceivingFileDescriptors |
(* | receiving file descriptors allows:
| *) |
| |
TapeDrives |
(* | tape drives allows:
| *) |
| |
TTY |
(* | teletypewriter allows:
| *) |
| |
ProcessRelation |
(* | process relation allows the following process relationship operations:
| *) |
| |
Execute |
(* | execute allows a process to call:
| *) |
| |
ProtectionExecute |
(* | protection execute allows the use of:
| *) |
| |
SetTime |
(* | settime allows the setting of the system time, via the:
| *) |
| |
Processes |
(* | processes allows enough:
| *) |
| |
VirtualMemoryInfo |
(* | virtual memory info allows enough:
| *) |
| |
ChangeRightsOfAProcess |
(* | change rights of a process allows the following system calls which can change the rights of a process:
| *) |
| |
PacketFiltering |
(* | packet filtering allows:
| *) |
| |
InspectionRoutingTable |
(* | inspection of routing table allows inspection of the routing table:
| *) |
| |
ChangeRoutingTable |
(* | change routing table allows changes to the routing table:
| *) |
| |
Audio |
(* | audio allows:
| *) |
| |
Video |
(* | video allows:
| *) |
| |
BerkeleyPacketFiltering |
(* | berkeley packet filtering allows BIOCGSTATS operation for statistics collection from a bpf(4) device.
| *) |
| |
Error |
(* | error rather:
| *) |