Versions in this module Expand all Collapse all v1 v1.0.0 Aug 19, 2021 Changes in this version + const AccessFSExecute + const AccessFSMakeBlock + const AccessFSMakeChar + const AccessFSMakeDir + const AccessFSMakeFifo + const AccessFSMakeReg + const AccessFSMakeSock + const AccessFSMakeSym + const AccessFSReadDir + const AccessFSReadFile + const AccessFSRemoveDir + const AccessFSRemoveFile + const AccessFSWriteFile + const RuleTypePathBeneath + const SYS_LANDLOCK_ADD_RULE + const SYS_LANDLOCK_CREATE_RULESET + const SYS_LANDLOCK_RESTRICT_SELF + func AllThreadsLandlockRestrictSelf(rulesetFd int, flags int) (err error) + func AllThreadsPrctl(option int, arg2 uintptr, arg3 uintptr, arg4 uintptr, arg5 uintptr) (err error) + func LandlockAddPathBeneathRule(rulesetFd int, attr *PathBeneathAttr, flags int) error + func LandlockAddRule(rulesetFd int, ruleType int, ruleAttr unsafe.Pointer, flags int) (err error) + func LandlockCreateRuleset(attr *RulesetAttr, flags int) (fd int, err error) + func LandlockGetABIVersion() (version int, err error) + type PathBeneathAttr struct + AllowedAccess uint64 + ParentFd int + type RulesetAttr struct + HandledAccessFS uint64