EMILUA(3em)
β¨ NAME β¨
okay so bestie, this is Emilua β a Lua execution engine π
(yes, the manual page is EMILUA(3em), we're in section 3em, iykyk).
π¦ SYNOPSIS π¦
local libc_service = require "libc_service"
π FUNCTIONS π
πΈ new() β libc_service.master, libc_service.slave
This literally creates a brand-new communication channel to proxy calls to libc, no cap π«Ά.
- The master end is the one you use to receive requests to ambient authority resources π
- The slave end must be sent to a process where ambient authority has been disabled (think FreeBSDβs Capsicum) and where libc functions have been overridden (think runtime loader or linker tricks[1]) so they use the proxy π«
Important π¨ libc_service is not a syscall firewall. It is not a security feature that blocks access to system resources. Itβs merely a compatibility tool that translates classic POSIX interfaces so they can run in a system designed around the capability-based security model (e.g. FreeBSDβs Capsicum). Do not use it as your security vibe check, bestie π
This translation service is useful to make use of system libraries where itβs not feasible (nor desirable) to reimplement legacy code from scratch β¨
π NOTES π
- [1] β If your binary is linked against
libemilua-libc-service, then these tricks are already in place and ready to use. Nothing more to be done on your part π periodt.
thatβs the whole page, bestie π β brought to you by Emilua 0.12.1-nixpkgs1, dated 1980-01-01, and yes itβs still EMILUA(3em) π
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