mirror of
https://gitlab.freedesktop.org/pipewire/wireplumber.git
synced 2026-05-05 00:48:01 +02:00
wplua: expose setmetatable / getmetatable in the sandbox
This commit is contained in:
parent
374e4ecaff
commit
c6c740e94a
1 changed files with 1 additions and 0 deletions
|
|
@ -28,6 +28,7 @@ function create_sandbox_env()
|
|||
pcall select print tostring type xpcall require
|
||||
table string math package utf8 debug coroutine
|
||||
os.clock os.difftime os.time os.date os.getenv
|
||||
setmetatable getmetatable
|
||||
]]):gsub('%S+', populate_env)
|
||||
|
||||
-- Additionally export everything in SANDBOX_EXPORT
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue