package restricted
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
Limit which system operations and which parts of the filesystem your program can access
Install
dune-project
Dependency
Authors
Maintainers
Sources
ocaml-restricted-2.0.0.tar.gz
md5=6547cefcfc520d4fe31e1f254e53459b
sha512=3b48e8a135dd1b72549245e986ee7b03330a7eb97ca42e6acbb23dc8ef2319287e41953ee84954aa431530a8e8508a45596838e7dfa676c1859b5a131932dbdc
doc/restricted/Restricted/index.html
Module RestrictedSource
Main entry point to restrict your program
System operation abstraction: OpenBSD: pledge(2)ndex-pledge man:pledge(2) Linux: seccomp(2)ndex-seccomp man:seccomp(2)
Path Access abstraction: OpenBSD: unveil(2)ndex-pledge man:unveil(2) Linux: landlock(7)ndex-seccomp man:landlock(7)
path permission: OpenBSD: unveil(2) Linux: landlock(7)
Source
val run :
system_operations:Restricted__.Types.SystemOperation.t list ->
?exec_system_operations:Restricted__.Types.SystemOperation.t list ->
?accesses:Restricted__.Types.PathAccess.t list ->
(unit -> unit) ->
unitrun ~system_operations ?exec_system_operations ?accesses f executes f with the given restrictions where f is the program to run.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>