EMILUA(3em)
π EMILUA β the manual page, but make it make sense π
okay so real talk, this is EMILUA(3em) β that's the Emilua reference section 3em, bestie, and yes we're doing the whole page. no skimming. i gotchu π«Ά
β¨ NAME β¨
Emilua β it's a Lua execution engine. that's the whole name section. short, sweet, iconic, periodt. π
β¨ SYNOPSIS β¨
the vibe check, in code, exactly as written:
local system = require "system"
system.seccomp_set_mode_filter(bpf_fprogram: byte_span)
so you pull in system, then you call system.seccomp_set_mode_filter with one arg, bpf_fprogram, which is a byte_span. that's it. that's the shape of it. π
β¨ DESCRIPTION β¨
okay so here's what's actually going down: this function sets the secure computing β seccomp β mode for the calling process, and the whole point is to limit the available system calls. like, you're literally handing the kernel a bouncer with a guest list. π₯
and here's the detail you cannot miss, ngl: SECCOMP_FILTER_FLAG_TSYNC is always used. always always. it's not an option you pass, it's not a flag you toggle, it's just what this function does. no cap. π«Ά
β οΈ Note (read this one, fr fr): only the master VM is allowed to use this function. like, if you're not the master VM, this is not your moment. it's giving "sorry bestie, VIP only". π
π¦ a lil sign-off π¦
this little masterpiece is from Emilua 0.12.1-nixpkgs1, and the date on it is 1980-01-01 (yes, really, that's the date, iconic of it honestly π). that's the whole page β EMILUA(3em), rendered exactly like this, and you ate it up. mwah. πβ¨
π¦ where this page comes from
- nixos 26.05: emilua 0.12.1
- nixpkgs unstable: emilua 0.12.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms