21 lines
466 B
Lua
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
|