Lines Matching refs:Lua
23 This README describes the Lua interpreter source code that lives in the ZFS
28 For a description of the Lua language and features exposed by ZFS channel
35 The Lua runtime is considered stable software. Channel programs don't need much
36 complicated logic, so updates to the Lua runtime from upstream are viewed as
38 such, the Lua runtime in ZFS should be updated on an as-needed basis for
42 Modifications to Lua
45 The version of the Lua runtime we're using in ZFS has been modified in a variety
49 1. "Normal" Lua uses floating point for all numbers it stores, but those aren't
52 2. Some of the Lua standard libraries do file I/O or spawn processes, but
55 3. The "normal" Lua runtime handles errors by failing fatally, but since this
56 version of Lua runs inside the kernel we must handle these failures and
57 return meaningful error codes to userland. We have customized the Lua
62 We've added new protections into the Lua interpreter to limit the runtime
63 (measured in number of Lua instructions run) and memory overhead of running
65 5. The Lua bytecode is not designed to be secure / safe, so it would be easy to
68 Lua source code at the ioctl level and then interpret it inside the kernel.
75 How to use this Lua interpreter
78 From the above, it should be clear that this is not a general-purpose Lua
80 of Lua from ZFS and make it usable by other areas of the kernel.