OC-Tsuki/ksrc/security.lua
Sam Roxanne c9c05221d9 wot
2020-06-02 01:23:58 -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