OC-Tsuki/ksrc/security.lua
Jane Roxanne 7bd0c23ee9 wew
2020-05-12 01:16:36 -05:00

21 lines
466 B
Lua

---@module security Security
local security = {}
---@func checkacl
---@arg permission string "The permission to check."
---@return boolean "True if the current process has this permission."
function security.checkacl(permission)
local perms = acl.get("group", thread.info().egid, {})
end
---@func getmode
---@return string "The current security mode."
function security.getmode()
end
function security.init()
klog("security", 1, "Security init started.")
end